ClusterIDNV(3)

Name

ClusterIDNV - Contains the triangle cluster ID of a hit triangle in cluster acceleration structure

Description

ClusterIDNV

A variable decorated with the ClusterIDNV decoration will contain the triangle cluster ID of a hit triangle in a cluster acceleration structure if the current ray hit a triangle primitive or -1 otherwise.

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

  • VUID-ClusterIDNV-ClusterIDNV-10532
    The variable decorated with ClusterIDNV must be declared using the Input Storage Class

  • VUID-ClusterIDNV-ClusterIDNV-10533
    The variable decorated with ClusterIDNV must be declared as a scalar 32-bit integer 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.