VK_KHR_map_memory2(3)

# VK_KHR_map_memory2(3) Manual Page

## Name

VK_KHR_map_memory2 - device extension

## Registered Extension Number

272

## Revision

1

## Ratification Status

Ratified

## Extension and Version Dependencies

None

## Deprecation State

- Promoted to Vulkan 1.4

## Contact

- Faith Ekstrand [GitHub]gfxstrand

## Extension Proposal

VK_KHR_map_memory2

## Other Extension Metadata

Last Modified Date

  2023-03-14

Interactions and External Dependencies

  - None

Contributors

  - Faith Ekstrand, Collabora

  - Tobias Hector, AMD

## Description

This extension provides extensible versions of the Vulkan memory map and unmap commands. The new commands are functionally identical to the core commands, except that their parameters are specified using extensible structures that can be used to pass extension-specific information.

## New Commands

- vkMapMemory2KHR

- vkUnmapMemory2KHR

## New Structures

- VkMemoryMapInfoKHR

- VkMemoryUnmapInfoKHR

## New Enums

- VkMemoryUnmapFlagBitsKHR

## New Bitmasks

- VkMemoryUnmapFlagsKHR

## New Enum Constants

- `VK_KHR_MAP_MEMORY_2_EXTENSION_NAME`

- `VK_KHR_MAP_MEMORY_2_SPEC_VERSION`

- Extending VkStructureType:

  - VK_STRUCTURE_TYPE_MEMORY_MAP_INFO_KHR

  - VK_STRUCTURE_TYPE_MEMORY_UNMAP_INFO_KHR

## Promotion to Vulkan 1.4

Functionality in this extension is included in core Vulkan 1.4 with the KHR suffix omitted. The original type, enum, and command names are still available as aliases of the core functionality.

## Version History

- Revision 0, 2022-08-03 (Faith Ekstrand)

  - Internal revisions

- Revision 1, 2023-03-14

  - Public release

## See Also

No cross-references are available

## Document Notes

For more information, see the Vulkan Specification.

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0