Structures
VkExternalFormatOHOS
Structure containing an Open Harmony OS hardware buffer external format
The VkExternalFormatOHOS structure is defined as:
typedef struct VkExternalFormatOHOS {
VkStructureType sType;
void* pNext;
uint64_t externalFormat;
} VkExternalFormatOHOS;
pub struct ExternalFormatOHOS {
s_type: vk::StructureType,
p_next: *mut c_void,
external_format: u64,
}
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.
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 exists.
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)
VUID-VkExternalFormatOHOS-sType-sType
sType must be VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_OHOS