RayQuery<uint rayFlagsGeneric>.CandidateRayInstanceId¶
Description¶
Gets the instance ID of the candidate hit.
Signature¶
int RayQuery<uint rayFlagsGeneric>.CandidateRayInstanceId();
Return value¶
System-assigned 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.