vkGetMemoryNativeBufferOHOS(3)
C Specification
To obtain an OH_NativeBuffer object, call:
// Provided by VK_OHOS_external_memory
VkResult vkGetMemoryNativeBufferOHOS(
VkDevice device,
const VkMemoryGetNativeBufferInfoOHOS* pInfo,
struct OH_NativeBuffer** pBuffer);
Parameters
-
deviceis a valid Vulkan device object. -
pInfois a pointer pointing to aVkMemoryGetNativeBufferInfoOHOSstructure. -
pBufferis a pointer to anOH_NativeBufferobject.
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.