C Specification
To export a NvSciSyncObj handle representing the payload of a fence,
call:
// Provided by VK_NV_external_sci_sync, VK_NV_external_sci_sync2
VkResult vkGetFenceSciSyncObjNV(
VkDevice device,
const VkFenceGetSciSyncInfoNV* pGetSciSyncHandleInfo,
void* pHandle);
Parameters
-
deviceis the logical device that created the fence being exported. -
pGetSciSyncHandleInfois a pointer to a VkFenceGetSciSyncInfoNV structure containing parameters of the export operation. -
pHandlewill return theNvSciSyncObjhandle representing the fence payload.
Description
Each call to vkGetFenceSciSyncObjNV will duplicate the underlying
NvSciSyncObj handle and transfer the ownership of the
NvSciSyncObj handle to the application.
To avoid leaking resources, the application must release of the ownership
of the NvSciSyncObj handle when it is no longer needed.
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.