Structures

VkClusterAccelerationStructureInstantiateClusterInfoNV

Parameters describing instantiate operation for a template cluster acceleration structure

The VkClusterAccelerationStructureInstantiateClusterInfoNV structure is defined as:

typedef struct VkClusterAccelerationStructureInstantiateClusterInfoNV {
    uint32_t clusterIdOffset;
    uint32_t geometryIndexOffset:24;
    uint32_t reserved:8;
    VkDeviceAddress clusterTemplateAddress;
    VkStridedDeviceAddressNV vertexBuffer;
} VkClusterAccelerationStructureInstantiateClusterInfoNV;
  • clusterIdOffset is an unsigned offset applied to the clusterID 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 either NULL or a VkStridedDeviceAddressNV structure containing the vertex data for the indexed triangles stored in the cluster template.

Valid Usage