Structures
VkExternalFormatANDROID
Structure containing an Android hardware buffer external format
VkExternalFormatANDROID is defined as:
typedef struct VkExternalFormatANDROID {
VkStructureType sType;
void* pNext;
uint64_t externalFormat;
} VkExternalFormatANDROID;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.externalFormatis an implementation-defined identifier for the external format
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