VkNativeBufferUsageOHOS(3)
C Specification
To obtain optimal Open Harmony OS native buffer usage flags for specific
image creation parameters, add a VkNativeBufferUsageOHOS structure to
the pNext chain of a VkImageFormatProperties2 structure passed
to vkGetPhysicalDeviceImageFormatProperties2.
The VkNativeBufferUsageOHOS structure is defined as:
// Provided by VK_OHOS_external_memory
typedef struct VkNativeBufferUsageOHOS {
VkStructureType sType;
void* pNext;
uint64_t OHOSNativeBufferUsage;
} VkNativeBufferUsageOHOS;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
OHOSNativeBufferUsagereturns the Open Harmony OS buffer usage flags.
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.