Class

MTLSharedEventHandle

An object you use to recreate a shareable event.

Declaration

class MTLSharedEventHandle : NSObject

Overview

To create a MTLSharedEventHandle object, call the makeSharedEventHandle() method on a MTLSharedEvent object. Use an XPC conection to pass a MTLSharedEventHandle object to another process. To recreate the event, call the makeSharedEvent(handle:) on a MTLDevice object.

Topics

Identifying the Shareable Event Handle

var label: String?

A string that identifies the shareable event.

Relationships

Inherits From

See Also

Events

About Synchronization Events

Synchronize access to resources in your app by signaling events.

Synchronizing Events Within a Single Device

Use nonshareable events to synchronize your app’s work within a single device.

Synchronizing Events Across Multiple Devices

Use shareable events to synchronize your app’s work across multiple devices.

Synchronizing Events Between a GPU and the CPU

Use shareable events to synchronize your app's work between a GPU and the CPU.

Image Filter Graph with Heaps and Events

Demonstrates how to use heaps and events to optimize a multistage image filter.

protocol MTLEvent

An object you use to synchronize access to Metal resources.

protocol MTLSharedEvent

An object you use to synchronize access to Metal resources across multiple CPUs, GPUs, and processes.

class MTLSharedEventListener

A listener for shareable event notifications.