Global Variable

MTLDeviceWasRemovedNotification

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

Declaration

const MTLDeviceNotificationName MTLDeviceWasRemovedNotification;

Discussion

This notification indicates that the device has been removed and any further attempt to use the device will fail, including creating Metal objects from the device.