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