Structure

MTLDeviceNotificationName

The notifications posted when a GPU supported by Metal is added to or removed from the system.

Declaration

struct MTLDeviceNotificationName

Topics

Initializers

init(rawValue: String)

Returns a new device notification name from a specified raw value.

Type Properties

static let wasAdded: MTLDeviceNotificationName

A notification posted when a GPU is added to the system.

static let removalRequested: MTLDeviceNotificationName

A notification posted when the user indicates that a GPU will be removed from the system.

static let wasRemoved: MTLDeviceNotificationName

A notification posted when a GPU is removed from the system.

Relationships