C Specification
Possible values of mode specifying additional operations to perform
during the copy, are:
// Provided by VK_EXT_opacity_micromap
typedef enum VkCopyMicromapModeEXT {
VK_COPY_MICROMAP_MODE_CLONE_EXT = 0,
VK_COPY_MICROMAP_MODE_SERIALIZE_EXT = 1,
VK_COPY_MICROMAP_MODE_DESERIALIZE_EXT = 2,
VK_COPY_MICROMAP_MODE_COMPACT_EXT = 3,
} VkCopyMicromapModeEXT;
Description
-
VK_COPY_MICROMAP_MODE_CLONE_EXTcreates a direct copy of the micromap specified insrcinto the one specified bydst. Thedstmicromap must have been created with the same parameters assrc. -
VK_COPY_MICROMAP_MODE_SERIALIZE_EXTserializes the micromap to a semi-opaque format which can be reloaded on a compatible implementation. -
VK_COPY_MICROMAP_MODE_DESERIALIZE_EXTdeserializes the semi-opaque serialization format in the buffer to the micromap. -
VK_COPY_MICROMAP_MODE_COMPACT_EXTcreates a more compact version of a micromapsrcintodst. The micromapdstmust have been created with a size at least as large as that returned by vkCmdWriteMicromapsPropertiesEXT after the build of the micromap specified bysrc.
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.