RayQuery<uint rayFlagsGeneric>.CommittedRayT¶
Description¶
Gets the distance to the committed (closest) hit.
Signature¶
float RayQuery<uint rayFlagsGeneric>.CommittedRayT();
Return value¶
t-value along the ray where the closest hit occurred
Availability and Requirements¶
Defined for the following targets:
hlsl¶
Available in all stages.
glsl¶
Available in all stages.
metal¶
Available in all stages.
spirv¶
Available in all stages.
Requires capability: spvRayQueryKHR.