C Specification
To copy or compact an acceleration structure on the host, call:
// Provided by VK_KHR_ray_tracing
VkResult vkCopyAccelerationStructureKHR(
VkDevice device,
const VkCopyAccelerationStructureInfoKHR* pInfo);
Parameters
This command fulfills the same task as vkCmdCopyAccelerationStructureKHR but executed by the host.
Description
-
device
is the device which owns the acceleration structures. -
pInfo
is a pointer to a VkCopyAccelerationStructureInfoKHR structure defining the copy operation.
If the VkDeferredOperationInfoKHR structure is included in the
pNext
chain of the VkCopyAccelerationStructureInfoKHR structure,
the operation of this command is deferred, as defined in the
Deferred Host Operations chapter.
Document Notes
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.