Version: 2023.1
LanguageEnglish
  • C#

SystemInfo.supportsRayTracingShaders

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static bool supportsRayTracingShaders;

Description

Checks if ray tracing shaders are supported by the current system configuration. (Read Only)

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.

See Also: RayTracingShader, SystemInfo.supportsRayTracing.