Structures
VkAccelerationStructureCreateInfoNV
Structure specifying the parameters of a newly created acceleration structure object
The VkAccelerationStructureCreateInfoNV
structure is defined as:
typedef struct VkAccelerationStructureCreateInfoNV {
VkStructureType sType;
const void* pNext;
VkDeviceSize compactedSize;
VkAccelerationStructureInfoNV info;
} VkAccelerationStructureCreateInfoNV;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.compactedSize
is the size from the result of vkCmdWriteAccelerationStructuresPropertiesNV if this acceleration structure is going to be the target of a compacting copy.info
is the VkAccelerationStructureInfoNV structure specifying further parameters of the created acceleration structure.
Valid Usage
VUID-VkAccelerationStructureCreateInfoNV-compactedSize-02421
If compactedSize
is not 0
then both info.geometryCount
and
info.instanceCount
must be 0
Valid Usage (Implicit)
VUID-VkAccelerationStructureCreateInfoNV-sType-sType
sType
must be VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV
VUID-VkAccelerationStructureCreateInfoNV-pNext-pNext
pNext
must be NULL
or a pointer to a valid instance of VkOpaqueCaptureDescriptorDataCreateInfoEXT
VUID-VkAccelerationStructureCreateInfoNV-sType-unique
The sType
value of each struct in the pNext
chain must be unique
VUID-VkAccelerationStructureCreateInfoNV-info-parameter
info
must be a valid VkAccelerationStructureInfoNV structure