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