makeSharedEvent(handle:)
Recreates a shared event from a handle.
Declaration
func makeSharedEvent(handle sharedEventHandle: MTLSharedEventHandle) -> (any MTLSharedEvent)?Parameters
- sharedEventHandle:
An Mtlsharedeventhandle instance from another GPU device or process.
Return Value
A new MTLSharedEvent instance if the method completed successfully; otherwise nil.