Type Alias

MTLDeviceNotificationHandler

A block of code invoked when a device observer receives a notification.

Declaration

typealias MTLDeviceNotificationHandler = (MTLDevice, MTLDeviceNotificationName) -> Void

Parameters

device

The device that posted the notification.

notifyName

The notification received by the observer.