RayQuery<uint rayFlagsGeneric>.CandidateRayFrontFace¶
Description¶
Checks if the candidate hit is on the front face of a triangle.
Signature¶
bool RayQuery<uint rayFlagsGeneric>.CandidateRayFrontFace();
Return value¶
true if hit is on triangle front face
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.