C Specification
The VkPhysicalDeviceClusterAccelerationStructurePropertiesNV structure
is defined as:
// Provided by VK_NV_cluster_acceleration_structure
typedef struct VkPhysicalDeviceClusterAccelerationStructurePropertiesNV {
VkStructureType sType;
void* pNext;
uint32_t maxVerticesPerCluster;
uint32_t maxTrianglesPerCluster;
uint32_t clusterScratchByteAlignment;
uint32_t clusterByteAlignment;
uint32_t clusterTemplateByteAlignment;
uint32_t clusterBottomLevelByteAlignment;
uint32_t clusterTemplateBoundsByteAlignment;
uint32_t maxClusterGeometryIndex;
} VkPhysicalDeviceClusterAccelerationStructurePropertiesNV;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
maxVerticesPerClusterindicates the maximum number of unique vertices that can be specified in the index buffer for a cluster. -
maxTrianglesPerClusterindicates the maximum number of triangles in a cluster. -
clusterScratchByteAlignmentindicates the alignment required for scratch memory used in building or moving cluster acceleration structures. -
clusterByteAlignmentindicates the alignment of buffers when building cluster acceleration structures. -
clusterTemplateByteAlignmentindicates the alignment of buffers when building cluster templates. -
clusterBottomLevelByteAlignmentindicates the alignment of buffers when building bottom level acceleration structures. -
clusterTemplateBoundsByteAlignmentindicates the alignment of VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV::pname::instantiationBoundingBoxLimit. -
maxClusterGeometryIndexindicates the maximum geometry index possible for a triangle in an cluster acceleration structures.
Description
If the VkPhysicalDeviceClusterAccelerationStructurePropertiesNV structure is included in the pNext chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
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.