VkMemoryUnmapInfoKHR(3)

# VkMemoryUnmapInfoKHR(3) Manual Page

## Name

VkMemoryUnmapInfoKHR - Structure containing parameters of a memory unmap operation

Loading… please wait.

## C Specification

The `VkMemoryUnmapInfoKHR` structure is defined as:

    // Provided by VK_KHR_map_memory2
    typedef struct VkMemoryUnmapInfoKHR {
        VkStructureType          sType;
        const void*              pNext;
        VkMemoryUnmapFlagsKHR    flags;
        VkDeviceMemory           memory;
    } VkMemoryUnmapInfoKHR;

## Members

- `sType` is the type of this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `flags` is reserved for future use.

- `memory` is the VkDeviceMemory object to be unmapped.

## Description

Valid Usage

- VUID-VkMemoryUnmapInfoKHR-memory-07964
  `memory` must be currently host mapped

Valid Usage (Implicit)

- VUID-VkMemoryUnmapInfoKHR-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_MEMORY_UNMAP_INFO_KHR`

- VUID-VkMemoryUnmapInfoKHR-pNext-pNext
  `pNext` must be `NULL`

- VUID-VkMemoryUnmapInfoKHR-flags-zerobitmask
  `flags` must be `0`

- VUID-VkMemoryUnmapInfoKHR-memory-parameter
  `memory` must be a valid VkDeviceMemory handle

Host Synchronization

- Host access to `memory` must be externally synchronized

## See Also

VK_KHR_map_memory2, VkDeviceMemory, VkMemoryUnmapFlagsKHR, VkStructureType, vkUnmapMemory2KHR

## 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.

## Copyright

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0