---
title: "supportsMetal4FX(_:)"
framework: MetalFX
role: symbol
role_heading: Type Method
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, tvOS 27.1+, visionOS 26.0+]
path: "metalfx/mtlfxspatialscalerdescriptor/supportsmetal4fx(_:)"
---

# supportsMetal4FX(_:)

Queries whether a Metal device supports spatial scaling compatible with Metal 4.

## Declaration

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

## Parameters

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

## Return Value

Return Value true if the device supports spatial scaling with Metal 4, false otherwise.
