RayQuery<rayFlagsGeneric:uint>.CandidateRayBarycentrics
Description
Gets the barycentric coordinates of the candidate hit point.
Signature
vector<float, 2> RayQuery<rayFlagsGeneric:uint>.CandidateRayBarycentrics();
Return value
UV barycentric coordinates on the triangle
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
.