Structures
VkAccelerationStructureGeometryInstancesDataKHR
Structure specifying a geometry consisting of instances of other acceleration structures
The VkAccelerationStructureGeometryInstancesDataKHR
structure is
defined as:
typedef struct VkAccelerationStructureGeometryInstancesDataKHR {
VkStructureType sType;
const void* pNext;
VkBool32 arrayOfPointers;
VkDeviceOrHostAddressConstKHR data;
} VkAccelerationStructureGeometryInstancesDataKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.arrayOfPointers
specifies whetherdata
is used as an array of addresses or just an array.data
is either the address of an array of device or host addresses referencing individual VkAccelerationStructureInstanceKHR structures or packed motion instance information as described in motion instances ifarrayOfPointers
isVK_TRUE
, or the address of an array of VkAccelerationStructureInstanceKHR or VkAccelerationStructureMotionInstanceNV structures. Addresses and VkAccelerationStructureInstanceKHR structures are tightly packed. VkAccelerationStructureMotionInstanceNV structures have a stride of 160 bytes.
Valid Usage (Implicit)
VUID-VkAccelerationStructureGeometryInstancesDataKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR
VUID-VkAccelerationStructureGeometryInstancesDataKHR-pNext-pNext
pNext
must be NULL