C Specification
To import memory created outside of the current Vulkan instance from a QNX
Screen buffer, add a VkImportScreenBufferInfoQNX structure to the
pNext chain of the VkMemoryAllocateInfo structure.
The VkImportScreenBufferInfoQNX structure is defined as:
// Provided by VK_QNX_external_memory_screen_buffer
typedef struct VkImportScreenBufferInfoQNX {
VkStructureType sType;
const void* pNext;
struct _screen_buffer* buffer;
} VkImportScreenBufferInfoQNX;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
bufferis a pointer to astruct_screen_buffer, the QNX Screen buffer to import
Description
The implementation may not acquire a reference to the imported Screen
buffer.
Therefore, the application must ensure that the object referred to by
buffer stays valid as long as the device memory to which it is
imported is being used.
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.