Structures

VkMemoryGetAndroidHardwareBufferInfoANDROID

Structure describing an Android hardware buffer memory export operation

The VkMemoryGetAndroidHardwareBufferInfoANDROID structure is defined as:

typedef struct VkMemoryGetAndroidHardwareBufferInfoANDROID {
    VkStructureType sType;
    const void* pNext;
    VkDeviceMemory memory;
} VkMemoryGetAndroidHardwareBufferInfoANDROID;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • memory is the memory object from which the Android hardware buffer will be exported.

Valid Usage

VUID-VkMemoryGetAndroidHardwareBufferInfoANDROID-handleTypes-01882

VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROIDmust have been included in VkExportMemoryAllocateInfo::handleTypes when memory was created

VUID-VkMemoryGetAndroidHardwareBufferInfoANDROID-pNext-01883

If the pNext chain of the VkMemoryAllocateInfo used to allocate memory included a VkMemoryDedicatedAllocateInfo with non-NULL image member, then that image must already be bound to memory

Valid Usage (Implicit)