vkGetNativeBufferPropertiesOHOS(3)
C Specification
To determine the memory parameters to use when importing an Open Harmony OS native buffer:
// Provided by VK_OHOS_external_memory
VkResult vkGetNativeBufferPropertiesOHOS(
VkDevice device,
const struct OH_NativeBuffer* buffer,
VkNativeBufferPropertiesOHOS* pProperties);
Parameters
-
deviceis the logical device that will be importingbuffer. -
bufferis theOH_NativeBufferobject specifies the buffer for which its properties are to be queried. -
pPropertiesis a pointer to a VkNativeBufferPropertiesOHOS structure in which the properties ofbufferare returned.
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.