VK_KHR_map_memory2(3)

# VK_KHR_map_memory2(3) Manual Page

## Name

VK_KHR_map_memory2 - device extension

Loading… please wait.

## Registered Extension Number

272

## Revision

1

## Extension and Version Dependencies

## Contact

- Faith Ekstrand 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 entrypoints. The new entrypoints are functionally identical to the core entrypoints, 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 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`

## Version History

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

  - Internal revisions

- Revision 1, 2023-03-14

  - Public release

## See Also

VkMemoryMapInfoKHR, VkMemoryUnmapFlagsKHR, VkMemoryUnmapInfoKHR, vkMapMemory2KHR, vkUnmapMemory2KHR

## 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-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0