RayQuery<rayFlagsGeneric:uint>.CommittedRayBarycentrics
Description
Gets the barycentric coordinates of the committed hit point.
Signature
vector<float, 2> RayQuery<rayFlagsGeneric:uint>.CommittedRayBarycentrics();
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
.