Structures
VkAccelerationStructureVersionInfoKHR
Acceleration structure version information
The VkAccelerationStructureVersionInfoKHR
structure is defined as:
typedef struct VkAccelerationStructureVersionInfoKHR {
VkStructureType sType;
const void* pNext;
const uint8_t* pVersionData;
} VkAccelerationStructureVersionInfoKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.pVersionData
is a pointer to the version header of an acceleration structure as defined in vkCmdCopyAccelerationStructureToMemoryKHR
pVersionData
is a pointer to an array of 2×VK_UUID_SIZE
uint8_t
values instead of two VK_UUID_SIZE
arrays as the expected
use case for this member is to be pointed at the header of a previously
serialized acceleration structure (via
vkCmdCopyAccelerationStructureToMemoryKHR or
vkCopyAccelerationStructureToMemoryKHR) that is loaded in memory.
Using arrays would necessitate extra memory copies of the UUIDs.
Valid Usage (Implicit)
VUID-VkAccelerationStructureVersionInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_VERSION_INFO_KHR
VUID-VkAccelerationStructureVersionInfoKHR-pNext-pNext
pNext
must be NULL
VUID-VkAccelerationStructureVersionInfoKHR-pVersionData-parameter
pVersionData
must be a valid pointer to an array of uint8_t
values