RayQuery<uint rayFlagsGeneric>.CommittedRayGeometryIndex¶
Description¶
Gets the geometry index for the committed hit.
Signature¶
int RayQuery<uint rayFlagsGeneric>.CommittedRayGeometryIndex();
Return value¶
Zero-based index of the geometry in the instance
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.