To export a
NvSciBufObj representing the payload of a Vulkan device
memory object, call:
// Provided by VK_NV_external_memory_sci_buf
const VkMemoryGetSciBufInfoNV* pGetSciBufInfo,
deviceis the logical device that created the device memory being exported.
pGetSciBufInfois a pointer to a VkMemoryGetSciBufInfoNV structure containing parameters of the export operation.
pHandlewill return the
NvSciBufObjrepresenting the payload of the device memory object.
A call to
vkGetMemorySciBufNV will not transfer the ownership of the
NvSciBufObj handle to the application.
The application will hold a reference to the
NvSciBufObj, but it does
not add a reference count to the
NvSciBufObj, so the application must
not release it.
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.