Structures
VkPhysicalDeviceClusterAccelerationStructurePropertiesNV
Structure describing properties supported by a cluster acceleration structure implementation
The VkPhysicalDeviceClusterAccelerationStructurePropertiesNV structure
is defined as:
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;
pub struct PhysicalDeviceClusterAccelerationStructurePropertiesNV {
s_type: vk::StructureType,
p_next: *mut c_void,
max_vertices_per_cluster: u32,
max_triangles_per_cluster: u32,
cluster_scratch_byte_alignment: u32,
cluster_byte_alignment: u32,
cluster_template_byte_alignment: u32,
cluster_bottom_level_byte_alignment: u32,
cluster_template_bounds_byte_alignment: u32,
max_cluster_geometry_index: u32,
}
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::instantiationBoundingBoxLimit.maxClusterGeometryIndexindicates the maximum geometry index possible for a triangle in an cluster acceleration structures.
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.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceClusterAccelerationStructurePropertiesNV-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_ACCELERATION_STRUCTURE_PROPERTIES_NV