VkExternalFormatOHOS(3)
C Specification
The VkExternalFormatOHOS structure is defined as:
// Provided by VK_OHOS_external_memory
typedef struct VkExternalFormatOHOS {
VkStructureType sType;
void* pNext;
uint64_t externalFormat;
} VkExternalFormatOHOS;
Members
-
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.
Description
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 eists.
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)
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.