Documentation

Unity Engine

Download Unity

Unity Engine

OIDNDeviceType

The OIDN device to denoise on. Every backend besides OIDNDeviceType.CPU needs hardware and a driver that meet the requirements of the Open Image Denoise version Unity ships (2.5.1 at the time of writing); when they are not met, device creation fails and OpenImageDenoiser.Initialize returns false.
Read time 1 minuteLast updated 4 hours ago

Definition

public enum OIDNDeviceType

Fields

Value

Description

CPUDenoise on the CPU. Works on every platform the module ships for (x86 or x86-64 with SSE4.1, or ARM64).
CUDADenoise on an NVIDIA GPU through CUDA. Requires a Turing-architecture GPU or newer and NVIDIA driver 528.33 or newer on Windows, 525.60.13 or newer on Linux.
DefaultSelect the best available device automatically, preferring a GPU and falling back to the CPU.
HIPDenoise on an AMD GPU through HIP. Requires an RDNA 2 architecture GPU or newer and an AMD driver that provides the HIP runtime these binaries were built against (currently HIP 7).
MetalDenoise on an Apple GPU through Metal. Requires Apple silicon (M1 or newer) and macOS 13 Ventura or newer.
SYCLDenoise on an Intel GPU through SYCL. Requires an Intel Xe architecture GPU or newer (Arc series, Iris Xe, Data Center GPU Flex/Max) and Intel Graphics Driver 31.0.101.4953 or newer on Windows, or the 20230323 GPGPU release or newer on Linux.