Contents

isRemovable

A Boolean value that indicates whether the GPU is removable.

Declaration

var isRemovable: Bool { get }

Mentioned in

Discussion

You can respond to GPU removal notifications by registering with the MTLCopyAllDevicesWithObserver(handler:) function in Swift, or the MTLCopyAllDevicesWithObserver function in Objective-C, and responding to the removalRequested and wasRemoved device notification names.

See Also

Identifying a GPU device