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
Deze browser wordt niet meer ondersteund.
Upgrade naar Microsoft Edge om te profiteren van de nieuwste functies, beveiligingsupdates en technische ondersteuning.
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: