Skip to main content

MTLDeviceNotificationHandler

Type Alias MTLDeviceNotificationHandler 

Source
pub type MTLDeviceNotificationHandler = *mut DynBlock<dyn Fn(NonNull<ProtocolObject<dyn MTLDevice>>, NonNull<MTLDeviceNotificationName>)>;
Available on crate features block2 and MTLDevice only.
Expand description

Block signature for device notifications

See also Apple’s documentation