VkMemoryGetNativeBufferInfoOHOS(3)

Name

VkMemoryGetNativeBufferInfoOHOS - Structure describing an Open Harmony OS native buffer memory export operation

C Specification

The VkMemoryGetNativeBufferInfoOHOS structure is defined as:

// Provided by VK_OHOS_external_memory
typedef struct VkMemoryGetNativeBufferInfoOHOS {
    VkStructureType    sType;
    const void*        pNext;
    VkDeviceMemory     memory;
} VkMemoryGetNativeBufferInfoOHOS;

Members

  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • memory is a valid VkDeviceMemory object from which the Open Harmony OS native buffer will be exported.

Description

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

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.