## C Specification

typedef struct VkCopyAccelerationStructureToMemoryInfoKHR {
VkStructureType                       sType;
const void*                           pNext;
VkAccelerationStructureKHR            src;
VkCopyAccelerationStructureModeKHR    mode;
} VkCopyAccelerationStructureToMemoryInfoKHR;

## Members

• src is the source acceleration structure for the copy

• dst is the device or host address to memory which is the target for the copy

• mode is a VkCopyAccelerationStructureModeKHR value that specifies additional operations to perform during the copy.

## Description

Valid Usage
• The memory pointed to by dst must be at least as large as the serialization size of src, as reported by VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR

• mode must be VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR

Valid Usage (Implicit)