To copy an acceleration structure call:
void vkCmdCopyAccelerationStructureNV( VkCommandBuffer commandBuffer, VkAccelerationStructureKHR dst, VkAccelerationStructureKHR src, VkCopyAccelerationStructureModeKHR mode);
commandBufferis the command buffer into which the command will be recorded.
dstis a pointer to the target acceleration structure for the copy.
srcis a pointer to the source acceleration structure for the copy.
modeis a VkCopyAccelerationStructureModeKHR value specifying additional operations to perform during the copy.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.