RayQuery<uint rayFlagsGeneric>.CommittedRayInstanceCustomIndex¶
Description¶
Gets the custom index of the instance containing the committed hit.
Signature¶
int RayQuery<uint rayFlagsGeneric>.CommittedRayInstanceCustomIndex();
Return value¶
User-provided instance identifier
Remarks¶
GLSL/SPIRV only
Availability and Requirements¶
Defined for the following targets:
glsl¶
Available in all stages.
metal¶
Available in all stages.
spirv¶
Available in all stages.
Requires capability: spvRayQueryKHR.