Structures

VkClusterAccelerationStructureTriangleClusterInputNV

Parameters describing a cluster acceleration structure

The VkClusterAccelerationStructureTriangleClusterInputNV structure is defined as:

typedef struct VkClusterAccelerationStructureTriangleClusterInputNV {
    VkStructureType sType;
    void* pNext;
    VkFormat vertexFormat;
    uint32_t maxGeometryIndexValue;
    uint32_t maxClusterUniqueGeometryCount;
    uint32_t maxClusterTriangleCount;
    uint32_t maxClusterVertexCount;
    uint32_t maxTotalTriangleCount;
    uint32_t maxTotalVertexCount;
    uint32_t minPositionTruncateBitCount;
} VkClusterAccelerationStructureTriangleClusterInputNV;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • vertexFormat is the VkFormat of each vertex element.
  • maxGeometryIndexValue is the maximum geometry index value for any constructed geometry.
  • maxClusterUniqueGeometryCount is the maximum number of unique values of the geometry index for each cluster or cluster template.
  • maxClusterTriangleCount is the maximum number of triangles in a cluster or cluster template.
  • maxClusterVertexCount is the maximum number of unique vertices in the cluster’s index buffer.
  • maxTotalTriangleCount is the sum of all triangles across all clusters or cluster templates.
  • maxTotalVertexCount is the maximum number of vertices across all clusters or cluster templates.
  • minPositionTruncateBitCount is the least value specified in cluster build in VkClusterAccelerationStructureBuildTriangleClusterInfoNV::positionTruncateBitCount or cluster template build in VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV::positionTruncateBitCount.

Valid Usage

Valid Usage (Implicit)