# VK_OHOS_external_memory(3) Manual Page

## Name

VK_OHOS_external_memory - device extension

Loading… please wait.

## Registered Extension Number

453

## Revision

1

## Ratification Status

Not ratified

## Extension and Version Dependencies

VK_KHR_sampler_ycbcr_conversion
and
VK_KHR_external_memory
and
VK_KHR_dedicated_allocation
or
Vulkan Version 1.1
and
VK_EXT_queue_family_foreign

## Contact

- Weilan Chen [GitHub]wchen-h

## Other Extension Metadata

Last Modified Date

  2025-11-4

IP Status

  No known IP claims.

Contributors

  - Weilan Chen, Huawei

  - Zeihui Lin, Huawei

  - Bill Hollings, Huawei

  - Pan Gao, Huawei

  - Yang Shi, Huawei

## Description

This extension enables an application to: import Open Harmony OS OH_NativeBuffer objects created outside of Vulkan device into Vulkan memory objects, where they can be bound to images and buffers. It also allows an application to obtain the properties of OH_NativeBuffer object.

## New Base Types

- OH_NativeBuffer

## New Commands

- vkGetMemoryNativeBufferOHOS

- vkGetNativeBufferPropertiesOHOS

## New Structures

- VkMemoryGetNativeBufferInfoOHOS

- VkNativeBufferPropertiesOHOS

- Extending VkImageCreateInfo, VkSamplerYcbcrConversionCreateInfo, VkAttachmentDescription2, VkGraphicsPipelineCreateInfo, VkCommandBufferInheritanceInfo:

  - VkExternalFormatOHOS

- Extending VkImageFormatProperties2:

  - VkNativeBufferUsageOHOS

- Extending VkMemoryAllocateInfo:

  - VkImportNativeBufferInfoOHOS

- Extending VkNativeBufferPropertiesOHOS:

  - VkNativeBufferFormatPropertiesOHOS

## New Enum Constants

- `VK_OHOS_EXTERNAL_MEMORY_EXTENSION_NAME`

- `VK_OHOS_EXTERNAL_MEMORY_SPEC_VERSION`

- Extending VkExternalMemoryHandleTypeFlagBits:

  - `VK_EXTERNAL_MEMORY_HANDLE_TYPE_OH_NATIVE_BUFFER_BIT_OHOS`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_OHOS`

  - `VK_STRUCTURE_TYPE_IMPORT_NATIVE_BUFFER_INFO_OHOS`

  - `VK_STRUCTURE_TYPE_MEMORY_GET_NATIVE_BUFFER_INFO_OHOS`

  - `VK_STRUCTURE_TYPE_NATIVE_BUFFER_FORMAT_PROPERTIES_OHOS`

  - `VK_STRUCTURE_TYPE_NATIVE_BUFFER_PROPERTIES_OHOS`

  - `VK_STRUCTURE_TYPE_NATIVE_BUFFER_USAGE_OHOS`

## Version History

- Revision 1, 2025-11-4 (Weilan Chen)

  - Change Extension number to 453, which is donated by ARM.

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

SPDX-License-Identifier: CC-BY-4.0