InstanceIndex function
The autogenerated index of the current instance in the top-level raytracing acceleration structure.
Syntax
uint InstanceIndex();
Remarks
This function can be called from the following raytracing shader types:
See also
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The autogenerated index of the current instance in the top-level raytracing acceleration structure.
uint InstanceIndex();
This function can be called from the following raytracing shader types: