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

# supportsFamily(_:)

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

## Declaration

```swift
func supportsFamily(_ gpuFamily: MTLGPUFamily) -> Bool
```

## Parameters

- `gpuFamily`: An doc://com.apple.metal/documentation/Metal/MTLGPUFamily instance.

## Mentioned in

Improving your game’s graphics performance and settings Choosing a resource storage mode for Intel and AMD GPUs Setting resource storage modes

## See Also

### Checking a GPU device’s feature support

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