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;

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-pVersionData-parameter

pVersionData must be a valid pointer to an array of 2×VK_UUID_SIZE2 \times \mathtt{VK\\\_UUID\\\_SIZE} uint8_t values