C Specification

Bits which can be set in VkSwapchainImageCreateInfoOHOS::usage specifying the usage of swapchain image on Open Harmony OS platform are:

// Provided by VK_OHOS_native_buffer
typedef enum VkSwapchainImageUsageFlagBitsOHOS {
    VK_SWAPCHAIN_IMAGE_USAGE_SHARED_BIT_OHOS = 0x00000001,
} VkSwapchainImageUsageFlagBitsOHOS;

Description

  • VK_SWAPCHAIN_IMAGE_USAGE_SHARED_BIT_OHOS specifies that VkSwapchainImageCreateInfoOHOS is used for creating a swapchain image whose internal native buffer can be shared for access by other applications.

See Also

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

SPDX-License-Identifier: CC-BY-4.0