VkClusterAccelerationStructureTriangleClusterInputNV(3)

Name

VkClusterAccelerationStructureTriangleClusterInputNV - Parameters describing a cluster acceleration structure

C Specification

// 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

  • 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.

Description

Valid Usage
Valid Usage (Implicit)

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.