HitIsSphereNV(3)

Name

HitIsSphereNV - Indicates if a sphere primitive was hit

Description

HitIsSphereNV

A variable decorated with the HitIsSphereNV decoration will contain a non-zero value if the current ray hit a sphere primitive or zero otherwise.

Valid Usage
  • VUID-HitIsSphereNV-HitIsSphereNV-10513
    The HitIsSphereNV decoration must be used only within the AnyHitKHR, or ClosestHitKHR Execution Model

  • VUID-HitIsSphereNV-HitIsSphereNV-10514
    The variable decorated with HitIsSphereNV must be declared using the Input Storage Class

  • VUID-HitIsSphereNV-HitIsSphereNV-10515
    The variable decorated with HitIsSphereNV must be declared as a boolean value

See Also

No cross-references are available

Document Notes

For more information, see the Vulkan Specification (NOTE: cannot determine Specification page containing this refpage).

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.