Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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