To copy device memory to a micromap call:
// Provided by VK_EXT_opacity_micromap void vkCmdCopyMemoryToMicromapEXT( VkCommandBuffer commandBuffer, const VkCopyMemoryToMicromapInfoEXT* pInfo);
commandBufferis the command buffer into which the command will be recorded.
pInfois a pointer to a VkCopyMicromapToMemoryInfoEXT structure defining the copy operation.
pInfo->dst must be synchronized with the
pipeline stage and an
access type of
Accesses to the buffer indicated by
pInfo->src.deviceAddress must be
synchronized with the
pipeline stage and an access type of
This command can accept micromaps produced by either vkCmdCopyMicromapToMemoryEXT or vkCopyMicromapToMemoryEXT.
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.