Instance Method

newSharedEventWithHandle:

Re-creates a shareable event from a shareable event handle.

Required.

Declaration

- (id<MTLSharedEvent>)newSharedEventWithHandle:(MTLSharedEventHandle *)sharedEventHandle;

Parameters

sharedEventHandle

A shareable event handle from another device or process.

See Also

Creating Events and Fences

- newEvent

Creates a new event whose use is limited to the device object.

Required.

- newSharedEvent

Creates a shareable event.

Required.

- newFence

Creates a new fence.

Required.