Enum
VkCopyMicromapModeEXT
Micromap copy mode
Possible values of mode
specifying additional operations to perform
during the copy, are:
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;
VK_COPY_MICROMAP_MODE_CLONE_EXT
creates a direct copy of the micromap specified insrc
into the one specified bydst
. Thedst
micromap 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 micromapsrc
intodst
. The micromapdst
must have been created with a size at least as large as that returned by vkCmdWriteMicromapsPropertiesEXT after the build of the micromap specified bysrc
.