84443097创建于 2025年12月18日历史提交

VkMemoryGetNativeBufferInfoOHOS

typedef struct VkMemoryGetNativeBufferInfoOHOS {...} VkMemoryGetNativeBufferInfoOHOS

Overview

The struct is used to obtain an OH_NativeBuffer from the Vulkan memory.

Since: 10

Related module: Vulkan

Header file: vulkan_ohos.h

Summary

Member Variables

Name Description
VkStructureType sType Struct type. The value must be VK_STRUCTURE_TYPE_MEMORY_GET_NATIVE_BUFFER_INFO_OHOS.
const void* pNext Pointer to the next struct in the chain. The value must be nullptr.
VkDeviceMemory memory VkDeviceMemory object. The value must be a valid VkDeviceMemory object.