C Specification

The VkNativeBufferPropertiesOHOS structure is defined as:

// Provided by VK_OHOS_external_memory
typedef struct VkNativeBufferPropertiesOHOS {
    VkStructureType    sType;
    void*              pNext;
    VkDeviceSize       allocationSize;
    uint32_t           memoryTypeBits;
} VkNativeBufferPropertiesOHOS;

Members

  • sType is a VkStructureType value identifying this structure.

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

  • allocationSize is the size of the external memory.

  • memoryTypeBits is a bitmask containing one bit set for every memory type which the specified Open Harmony OS native buffer can be imported as.

Description

Valid Usage (Implicit)
  • VUID-VkNativeBufferPropertiesOHOS-sType-sType
    sType must be VK_STRUCTURE_TYPE_NATIVE_BUFFER_PROPERTIES_OHOS

  • VUID-VkNativeBufferPropertiesOHOS-pNext-pNext
    pNext must be NULL or a pointer to a valid instance of VkNativeBufferFormatPropertiesOHOS

  • VUID-VkNativeBufferPropertiesOHOS-sType-unique
    The sType value of each structure in the pNext chain must be unique

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