RayQuery<uint rayFlagsGeneric>.CandidateTriangleRayT

Description

Gets the distance to the candidate triangle hit.

Signature

float RayQuery<uint rayFlagsGeneric>.CandidateTriangleRayT();

Return value

t-value along the ray where intersection 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.