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

# supportsDevice(_:)

Queries whether a Metal device supports denoising scaling.

## Declaration

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

## Parameters

- `device`: The GPU device for which this methods tests support.

## Return Value

Return Value true if the device supports denoising scaling, false otherwise.
