Enum
VkMemoryUnmapFlagBitsKHR
Bitmask specifying additional parameters of a memory unmap
Bits which can be set in VkMemoryUnmapInfoKHR::flags
,
specifying additional properties of a memory unmap, are:
typedef enum VkMemoryUnmapFlagBitsKHR {
} VkMemoryUnmapFlagBitsKHR;
VK_MEMORY_UNMAP_RESERVE_BIT_EXT
requests that virtual address range currently occupied by the memory map remain reserved after the vkUnmapMemory2KHR call completes. Future system memory map operations or calls to vkMapMemory or vkMapMemory2KHR will not return addresses in that range unless the range has since been unreserved by the application or the mapping is explicitly placed in that range by calling vkMapMemory2KHR 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 vkUnmapMemory2KHR will returnVK_ERROR_MEMORY_MAP_FAILED
.