---
title: "supportsFeatureSet(_:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtldevice/supportsfeatureset(_:)"
---

# supportsFeatureSet(_:)

Returns a Boolean value that indicates whether the GPU device supports a specific feature set.

## Declaration

```swift
func supportsFeatureSet(_ featureSet: MTLFeatureSet) -> Bool
```

## Parameters

- `featureSet`: An doc://com.apple.metal/documentation/Metal/MTLFeatureSet instance.

## See Also

### Related Documentation

- [Detecting GPU features and Metal software versions](metal/detecting-gpu-features-and-metal-software-versions.md)

### Checking a GPU device’s feature support

- [supportsFamily(_:)](metal/mtldevice/supportsfamily(_:).md)
- [MTLGPUFamily](metal/mtlgpufamily.md)
- [MTLFeatureSet](metal/mtlfeatureset.md)
