Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

SystemInfo.supportsIndirectDispatchRays

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 supportsIndirectDispatchRays;

Description

Returns true if the graphics system supports indirect ray tracing dispatch. (Read Only)

This feature enables scenarios where shaders generate ray tracing data (for example ray buffers) and call arguments for the DispatchRays method directly into a GPU buffer allowing a GPU-driven execution flow.

In DirectX 12, this feature is part of DirectX Raytracing (DXR) Tier 1.1.

Additional resources: RayTracingShader.DispatchIndirect, CommandBuffer.DispatchRays, SystemInfo.supportsRayTracingShaders.