Contents

supportsDevice(_:)

Returns a Boolean value that indicates whether the temporal scaler works with a GPU.

Declaration

class func supportsDevice(_ device: any MTLDevice) -> Bool

Parameters

  • device:

    An Mtldevice instance that represents a GPU.

See Also

Checking a GPU device’s scaling support