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_EXT creates a direct copy of the micromap specified in
srcinto the one specified bydst. Thedstmicromap must have been created with the same parameters assrc. -
VK_COPY_MICROMAP_MODE_SERIALIZE_EXT serializes the micromap to a semi-opaque format which can be reloaded on a compatible implementation.
-
VK_COPY_MICROMAP_MODE_DESERIALIZE_EXT deserializes the semi-opaque serialization format in the buffer to the micromap.
-
VK_COPY_MICROMAP_MODE_COMPACT_EXT creates a more compact version of a micromap
srcintodst. 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.