Contents

removalRequested

A notification that Metal sends to observers when a person requests to remove a GPU device from the system.

Declaration

static let removalRequested: MTLDeviceNotificationName

Mentioned in

Discussion

This notification tells your app to stop using an MTLDevice instance by releasing any objects and resources your app created with it.

See Also

Creating a notification name