RayQuery<rayFlagsGeneric:uint>.CandidateType
Description
Get the type of candidate hit being considered.
The ray query coroutine will suspend when it encounters a hit that cannot be resolved with fixed-function logic (either a non-opaque triangle or a procedural primitive). In either of those cases, CandidateType() will return the kind of candidate hit that must be resolved by user code.
Signature
uint RayQuery<rayFlagsGeneric:uint>.CandidateType();
Availability and Requirements
Defined for the following targets:
hlsl
Available in all stages.
glsl
Available in all stages.
spirv
Available in all stages.
Requires capability: spvRayQueryKHR
.