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
- Type: Enum
- Namespace: UnityEngine.Rendering.Denoising
- Assembly: UnityEngine.OpenImageDenoiseModule
public enum OIDNDeviceType
Fields
Value | Description |
|---|---|
| CPU | Denoise on the CPU. Works on every platform the module ships for (x86 or x86-64 with SSE4.1, or ARM64). |
| CUDA | Denoise 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. |
| Default | Select the best available device automatically, preferring a GPU and falling back to the CPU. |
| HIP | Denoise 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). |
| Metal | Denoise on an Apple GPU through Metal. Requires Apple silicon (M1 or newer) and macOS 13 Ventura or newer. |
| SYCL | Denoise 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. |