Enum
VkMemoryUnmapFlagBits
Bitmask specifying additional parameters of a memory unmap
Bits which can be set in VkMemoryUnmapInfo::flags
, specifying
additional properties of a memory unmap, are:
typedef enum VkMemoryUnmapFlagBits {
} VkMemoryUnmapFlagBits;
or the equivalent
#define VkMemoryUnmapFlagBitsKHR VkMemoryUnmapFlagBits
VK_MEMORY_UNMAP_RESERVE_BIT_EXT
requests that virtual address range currently occupied by the memory map remain reserved after the vkUnmapMemory2 call completes. Future system memory map operations or calls to vkMapMemory or vkMapMemory2 will not return addresses in that range unless the range has since been unreserved by the client or the mapping is explicitly placed in that range by calling vkMapMemory2 withVK_MEMORY_MAP_PLACED_BIT_EXT
, or doing the system memory map equivalent. WhenVK_MEMORY_UNMAP_RESERVE_BIT_EXT
is set, the memory unmap operation may fail, in which case the memory object will remain host mapped and vkUnmapMemory2 will returnVK_ERROR_MEMORY_MAP_FAILED
.