supportsRayTracingShaders
Checks if ray tracing shaders are supported by the current system configuration. (Read Only)
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool supportsRayTracingShaders { get; }
Remarks
Ray tracing support depends on the following: operating system support, GPU, graphics drivers and graphics API.
In DirectX 12 (DX12), this property corresponds to DirectX Raytracing (DXR) Tier 1.0 support which adds support for the following shader types: ray generation, miss, closest hit, any hit, intersection and callable shader.
Additional Resources: RayTracingShader, SystemInfo.supportsRayTracing.