RayQuery<uint rayFlagsGeneric>.CandidateSphereObjectPositionAndRadiusNV
Description
Gets the object-space center position (xyz) and radius (w) of the candidate sphere primitive.
Signature
vector<float, 4> RayQuery<uint rayFlagsGeneric>.CandidateSphereObjectPositionAndRadiusNV();
Return value
float4 where xyz is the sphere center and w is the radius
Availability and Requirements
Defined for the following targets:
hlsl
Available in all stages.
glsl
Available in all stages.
spirv
Available in all stages.
Requires capabilities: spvRayQueryKHR, spvRayTracingSpheresGeometryNV.