VkExternalFormatOHOS(3)

# VkExternalFormatOHOS(3) Manual Page

## Name

VkExternalFormatOHOS - Structure containing an Open Harmony OS hardware buffer external format

Loading… please wait.

## C Specification

The `VkExternalFormatOHOS` structure is defined as:

    // Provided by VK_OHOS_external_memory
    typedef struct VkExternalFormatOHOS {
        VkStructureType    sType;
        void*              pNext;
        uint64_t           externalFormat;
    } VkExternalFormatOHOS;

## Members

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `externalFormat` is an implementation-defined identifier for the external format.

## Description

To obtain additional format that are not provided by VkFormat for an Open Harmony OS hardware buffer, this structure should be included in the pNext chain of another structure. The return value of `externalFormat` indicates whether an additional format exists. If zero is returned, then no external format is used and other format information should be used for implementations, and this is also true if this structure is not present.

Valid Usage (Implicit)

- VUID-VkExternalFormatOHOS-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_OHOS

## See Also

VK_OHOS_external_memory, VkStructureType

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

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0