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
Denne nettleseren støttes ikke lenger.
Oppgrader til Microsoft Edge for å dra nytte av de nyeste funksjonene, sikkerhetsoppdateringene og den nyeste tekniske støtten.
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: