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
-
clusterIdOffset
is an unsigned offset applied to theclusterID
value stored in the cluster template. -
geometryIndexOffset
is a signed offset applied to the geometry index of each triangle. -
reserved
is reserved for future use. -
clusterTemplateAddress
is the address of a previously built cluster template. -
vertexBuffer
is eitherNULL
or 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.