getFenceWin32HandleKHR :: MonadIO io=> Devicedeviceis the logical device that created the fence being exported.devicemust be a valid Device handle-> FenceGetWin32HandleInfoKHRpGetWin32HandleInfois a pointer to a FenceGetWin32HandleInfoKHR structure containing parameters of the export operation.pGetWin32HandleInfomust be a valid pointer to a valid FenceGetWin32HandleInfoKHR structure-> io HANDLE
vkGetFenceWin32HandleKHR - Get a Windows HANDLE for a fence
Description
For handle types defined as NT handles, the handles returned by
getFenceWin32HandleKHR are owned by the application. To avoid leaking
resources, the application must release ownership of them using the
CloseHandle system call when they are no longer needed.
Exporting a Windows handle from a fence may have side effects depending on the transference of the specified handle type, as described in Importing Fence Payloads.
Return Codes
See Also
VK_KHR_external_fence_win32, Device, FenceGetWin32HandleInfoKHR