Structures
VkMemoryGetNativeBufferInfoOHOS
Structure describing an Open Harmony OS native buffer memory export operation
The VkMemoryGetNativeBufferInfoOHOS structure is defined as:
typedef struct VkMemoryGetNativeBufferInfoOHOS {
VkStructureType sType;
const void* pNext;
VkDeviceMemory memory;
} VkMemoryGetNativeBufferInfoOHOS;
pub struct MemoryGetNativeBufferInfoOHOS {
s_type: vk::StructureType,
p_next: *const c_void,
memory: vk::DeviceMemory,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.memoryis a validVkDeviceMemoryobject from which the Open Harmony OS native buffer will be exported.
Valid Usage (Implicit)
VUID-VkMemoryGetNativeBufferInfoOHOS-sType-sType
sType must be VK_STRUCTURE_TYPE_MEMORY_GET_NATIVE_BUFFER_INFO_OHOS
VUID-VkMemoryGetNativeBufferInfoOHOS-pNext-pNext
pNext must be NULL
VUID-VkMemoryGetNativeBufferInfoOHOS-memory-parameter
memory must be a valid VkDeviceMemory handle
Parent
VK_OHOS_external_memoryType
Structures