Structures

VkMemoryUnmapInfo

Structure containing parameters of a memory unmap operation

The VkMemoryUnmapInfo structure is defined as:

typedef struct VkMemoryUnmapInfo {
    VkStructureType sType;
    const void* pNext;
    VkMemoryUnmapFlags flags;
    VkDeviceMemory memory;
} VkMemoryUnmapInfo;

or the equivalent

typedef VkMemoryUnmapInfo VkMemoryUnmapInfoKHR;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • flags is a bitmask of VkMemoryUnmapFlagBits specifying additional parameters of the memory map operation.
  • memory is the VkDeviceMemory object to be unmapped.

Valid Usage

VUID-VkMemoryUnmapInfo-memory-07964

memory must be currently host mapped

VUID-VkMemoryUnmapInfo-flags-09579

If VK_MEMORY_UNMAP_RESERVE_BIT_EXT is set in flags, the memoryUnmapReserve must be enabled

VUID-VkMemoryUnmapInfo-flags-09580

If VK_MEMORY_UNMAP_RESERVE_BIT_EXT is set in flags, the memory object must not have been imported from a handle type of VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT or VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT

Valid Usage (Implicit)

VUID-VkMemoryUnmapInfo-sType-sType

sType must be VK_STRUCTURE_TYPE_MEMORY_UNMAP_INFO

VUID-VkMemoryUnmapInfo-flags-parameter

flags must be a valid combination of VkMemoryUnmapFlagBits values

Host Synchronization

  • Host access to memory must be externally synchronized ::