---
title: "supportsDevice(_:)"
framework: metalfx
role: symbol
role_heading: Type Method
path: "metalfx/mtlfxtemporalscalerdescriptor/supportsdevice(_:)"
---

# supportsDevice(_:)

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

## Declaration

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

## Parameters

- `device`: An doc://com.apple.documentation/documentation/Metal/MTLDevice instance that represents a GPU.

## See Also

### Checking a GPU device’s scaling support

- [supportedInputContentMinScale(device:)](metalfx/mtlfxtemporalscalerdescriptor/supportedinputcontentminscale(device:).md)
- [supportedInputContentMaxScale(device:)](metalfx/mtlfxtemporalscalerdescriptor/supportedinputcontentmaxscale(device:).md)
