C Specification
The VkClusterAccelerationStructureInstantiateClusterInfoNV structure is defined as:
// Provided by VK_NV_cluster_acceleration_structure
typedef struct VkClusterAccelerationStructureInstantiateClusterInfoNV {
uint32_t clusterIdOffset;
uint32_t geometryIndexOffset:24;
uint32_t reserved:8;
VkDeviceAddress clusterTemplateAddress;
VkStridedDeviceAddressNV vertexBuffer;
} VkClusterAccelerationStructureInstantiateClusterInfoNV;
Members
-
clusterIdOffsetis an unsigned offset applied to theclusterIDvalue stored in the cluster template. -
geometryIndexOffsetis a signed offset applied to the geometry index of each triangle. -
reservedis reserved for future use. -
clusterTemplateAddressis the address of a previously built cluster template. -
vertexBufferis eitherNULLor a VkStridedDeviceAddressNV structure containing the vertex data for the indexed triangles stored in the cluster template.
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.