RayQuery<rayFlagsGeneric:uint>.CandidateRayPrimitiveIndex
Description
Gets the primitive index for the candidate hit.
Signature
int RayQuery<rayFlagsGeneric:uint>.CandidateRayPrimitiveIndex();
Return value
Zero-based index of the primitive in the geometry
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
.