DispatchRaysIndex
Gets the current location within the width, height, and depth obtained with the DispatchRaysDimensions system value intrinsic.
Syntax
uint3 DispatchRaysIndex();
Remarks
This function can be called from the following raytracing shader types.
- Any Hit Shader
- Callable Shader
- Closest Hit Shader
- Intersection Shader
- Miss Shader
- Ray Generation Shader