Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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