C Specification
To copy a micromap call:
// Provided by VK_EXT_opacity_micromap
void vkCmdCopyMicromapEXT(
VkCommandBuffer commandBuffer,
const VkCopyMicromapInfoEXT* pInfo);
Parameters
-
commandBufferis the command buffer into which the command will be recorded. -
pInfois a pointer to a VkCopyMicromapInfoEXT structure defining the copy operation.
Description
This command copies the pInfo->src micromap to the pInfo->dst
micromap in the manner specified by pInfo->mode.
Accesses to pInfo->src and pInfo->dst must be
synchronized with the
VK_PIPELINE_STAGE_2_MICROMAP_BUILD_BIT_EXT
pipeline stage and an
access type of
VK_ACCESS_2_MICROMAP_READ_BIT_EXT or
VK_ACCESS_2_MICROMAP_WRITE_BIT_EXT as appropriate.
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.