DispatchRaysDimensions
Description
Returns the dimensions of the ray dispatch.
Signature
vector<uint, 3> DispatchRaysDimensions();
Return value
3D dimensions of the ray dispatch grid
Remarks
Available in all ray tracing shader stages
Availability and Requirements
Defined for the following targets:
hlsl
Available in stages: raygen
, intersection
, miss
, callable
, closesthit
, anyhit
.
glsl
Available in stages: raygen
, intersection
, miss
, callable
, closesthit
, anyhit
.
cuda
Available in stages: raygen
, intersection
, miss
, callable
, closesthit
, anyhit
.
spirv
Available in stages: raygen
, intersection
, miss
, callable
, closesthit
, anyhit
.
Requires capability: spvRayTracingKHR
.