Function

MTLRemoveDeviceObserver

Removes a registered observer of device notifications.

Declaration

void MTLRemoveDeviceObserver(id<NSObject> observer);

See Also

Acquiring Device Objects

MTLCreateSystemDefaultDevice

Returns a reference to the preferred default Metal device object.

MTLCopyAllDevices

Returns an array of references to all Metal device objects in the system.

MTLCopyAllDevicesWithObserver

Fetches the available Metal devices and registers a notification observer for changes to the list.

CGDirectDisplayCopyCurrentMetalDevice

Returns a reference to the Metal device currently driving a given display.