C Specification
To copy host accessible memory to a micromap, call:
// Provided by VK_EXT_opacity_micromap
VkResult vkCopyMemoryToMicromapEXT(
VkDevice device,
VkDeferredOperationKHR deferredOperation,
const VkCopyMemoryToMicromapInfoEXT* pInfo);
Parameters
-
device
is the device which ownspInfo->dst
. -
deferredOperation
is an optional VkDeferredOperationKHR to request deferral for this command. -
pInfo
is a pointer to a VkCopyMemoryToMicromapInfoEXT structure defining the copy operation.
Description
This command fulfills the same task as vkCmdCopyMemoryToMicromapEXT but is executed by the host.
This command can accept micromaps produced by either vkCmdCopyMicromapToMemoryEXT or vkCopyMicromapToMemoryEXT.
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.