--- layout: stdlib-reference --- # IsSphereHit ## Description ## Signature
bool IsSphereHit();

## Availability and Requirements Defined for the following targets: #### hlsl Available in stages: `closesthit`, `anyhit`. #### cuda Available in stages: `closesthit`, `anyhit`. #### spirv Available in stages: `closesthit`, `anyhit`. Requires capability: `spvRayTracingKHR`.