VK_EXT_external_memory_metal(3)

# VK_EXT_external_memory_metal(3) Manual Page

## Name

VK_EXT_external_memory_metal - device extension

## Registered Extension Number

603

## Revision

1

## Ratification Status

Ratified

## Extension and Version Dependencies

VK_KHR_external_memory
or
Vulkan Version 1.1

## Contact

- Aitor Camacho Larrondo [GitHub]aitor-lunarg

## Extension Proposal

VK_EXT_external_memory_metal

## Other Extension Metadata

Last Modified Date

  2024-07-18

IP Status

  No known IP claims.

Contributors

  - Aitor Camacho Larrondo, LunarG Inc.

## Description

An application may wish to reference device memory in multiple Vulkan device instances, in multiple processes, and/or in Metal API. This extension enables an application to export and import Metal handles from Vulkan memory objects such that the underlying resources can be referenced outside the scope of the Vulkan device instance that created them.

## New Commands

- vkGetMemoryMetalHandleEXT

- vkGetMemoryMetalHandlePropertiesEXT

## New Structures

- VkMemoryGetMetalHandleInfoEXT

- VkMemoryMetalHandlePropertiesEXT

- Extending VkMemoryAllocateInfo:

  - VkImportMemoryMetalHandleInfoEXT

## New Enum Constants

- `VK_EXT_EXTERNAL_MEMORY_METAL_EXTENSION_NAME`

- `VK_EXT_EXTERNAL_MEMORY_METAL_SPEC_VERSION`

- Extending VkExternalMemoryHandleTypeFlagBits:

  - VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLBUFFER_BIT_EXT

  - VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLHEAP_BIT_EXT

  - VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLTEXTURE_BIT_EXT

- Extending VkStructureType:

  - VK_STRUCTURE_TYPE_IMPORT_MEMORY_METAL_HANDLE_INFO_EXT

  - VK_STRUCTURE_TYPE_MEMORY_GET_METAL_HANDLE_INFO_EXT

  - VK_STRUCTURE_TYPE_MEMORY_METAL_HANDLE_PROPERTIES_EXT

## Version History

- Revision 1, 2024-07-18 (Aitor Camacho Larrondo)

  - Initial revision

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