C Specification
The VkClusterAccelerationStructureTriangleClusterInputNV structure is defined as:
// Provided by VK_NV_cluster_acceleration_structure
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;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
vertexFormatis the VkFormat of each vertex element. -
maxGeometryIndexValueis the maximum geometry index value for any constructed geometry. -
maxClusterUniqueGeometryCountis the maximum number of unique values of the geometry index for each cluster or cluster template. -
maxClusterTriangleCountis the maximum number of triangles in a cluster or cluster template. -
maxClusterVertexCountis the maximum number of unique vertices in the cluster’s index buffer. -
maxTotalTriangleCountis the sum of all triangles across all clusters or cluster templates. -
maxTotalVertexCountis the maximum number of vertices across all clusters or cluster templates. -
minPositionTruncateBitCountis the least value specified in cluster build in VkClusterAccelerationStructureBuildTriangleClusterInfoNV::positionTruncateBitCountor cluster template build in VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV::positionTruncateBitCount.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.