VkAndroidHardwareBufferPropertiesANDROID(3)

# VkAndroidHardwareBufferPropertiesANDROID(3) Manual Page

## Name

VkAndroidHardwareBufferPropertiesANDROID - Properties of External Memory Android Hardware Buffers

Loading… please wait.

## C Specification

The `VkAndroidHardwareBufferPropertiesANDROID` structure returned is defined as:

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

## Members

- `sType` is the type of 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 Android hardware buffer can be imported as.

## Description

Valid Usage (Implicit)

- VUID-VkAndroidHardwareBufferPropertiesANDROID-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID`

- VUID-VkAndroidHardwareBufferPropertiesANDROID-pNext-pNext
  `pNext` must be `NULL` or a pointer to a valid instance of VkAndroidHardwareBufferFormatPropertiesANDROID

- VUID-VkAndroidHardwareBufferPropertiesANDROID-sType-unique
  The `sType` value of each struct in the `pNext` chain must be unique

## See Also

`VkDeviceSize`, VkStructureType, vkGetAndroidHardwareBufferPropertiesANDROID

## 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-2021 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0