VkExternalFormatANDROID(3)

# VkExternalFormatANDROID(3) Manual Page

## Name

VkExternalFormatANDROID - Structure containing an Android hardware buffer external format

## C Specification

`VkExternalFormatANDROID` is defined as:

    // Provided by VK_ANDROID_external_memory_android_hardware_buffer
    typedef struct VkExternalFormatANDROID {
        VkStructureType    sType;
        void*              pNext;
        uint64_t           externalFormat;
    } VkExternalFormatANDROID;

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

When included in the `pNext` chain of another structure, it indicates additional format information beyond what is provided by VkFormat values for an Android hardware buffer. If `externalFormat` is zero, it indicates that no external format is used, and implementations should rely only on other format information. If this structure is not present, it is equivalent to setting `externalFormat` to zero.

Valid Usage

- VUID-VkExternalFormatANDROID-externalFormat-01894
  `externalFormat` must be `0` or a value returned in the `externalFormat` member of VkAndroidHardwareBufferFormatPropertiesANDROID by an earlier call to vkGetAndroidHardwareBufferPropertiesANDROID

Valid Usage (Implicit)

- VUID-VkExternalFormatANDROID-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID

Structure Chaining

Extends the structures

  - VkAttachmentDescription2

  - VkCommandBufferInheritanceInfo

  - VkGraphicsPipelineCreateInfo

  - VkImageCreateInfo

  - VkSamplerYcbcrConversionCreateInfo

## See Also

VK_ANDROID_external_memory_android_hardware_buffer, 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