C Specification
To copy or compact an acceleration structure on the host, call:
// Provided by VK_KHR_acceleration_structure
VkResult vkCopyAccelerationStructureKHR(
VkDevice device,
VkDeferredOperationKHR deferredOperation,
const VkCopyAccelerationStructureInfoKHR* pInfo);
Parameters
-
device
is the device which owns the acceleration structures. -
deferredOperation
is an optional VkDeferredOperationKHR to request deferral for this command. -
pInfo
is a pointer to a VkCopyAccelerationStructureInfoKHR structure defining the copy operation.
Description
This command fulfills the same task as vkCmdCopyAccelerationStructureKHR but is executed by the host.
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.