VkExternalFormatOHOS(3)

Name

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

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 eists. 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)

  • sType must be VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_OHOS

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.