C Specification

The VkNativeBufferOHOS structure is defined as:

// Provided by VK_OHOS_native_buffer
typedef struct VkNativeBufferOHOS {
    VkStructureType           sType;
    const void*               pNext;
    struct OHBufferHandle*    handle;
} VkNativeBufferOHOS;

Members

  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • handle is a pointer to an OHBufferHandle object.

Description

OHBufferHandle is exposed by the Open Harmony OS NDK.

Valid Usage (Implicit)
  • VUID-VkNativeBufferOHOS-sType-sType
    sType must be VK_STRUCTURE_TYPE_NATIVE_BUFFER_OHOS

  • VUID-VkNativeBufferOHOS-handle-parameter
    handle must be a valid pointer to an OHBufferHandle value

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