Contents

MTLFeatureSet

The device feature sets that define specific platform, hardware, and software configurations.

Declaration

enum MTLFeatureSet

Overview

If your app is running on an operating system that supports the supportsFamily(_:) method, use that method instead. See Detecting GPU features and Metal software versions for more information about MTLGPUFamily — the replacement for this enumeration — and the feature set tables. This type doesn’t define constants for GPU families introduced after iOS GPU family 5.

Metal feature sets define the feature availability, implementation limits, and pixel format capabilities for each device. The table shows the GPU families and their corresponding GPU hardware.

GPU family

GPU hardware

iOS GPU family 1

Apple A7 devices

iOS GPU family 2 [Image] tvOS GPU family 1

Apple A8 devices

iOS GPU family 3 [Image] tvOS GPU family 2

Apple A9 devices [Image] Apple A10 devices

iOS GPU family 4

Apple A11 devices

iOS GPU family 5

Apple A12 devices

macOS GPU family 1

iMac Pro models [Image] iMac models from 2012 or later [Image] MacBook models from 2015 or later [Image] MacBook Pro models from 2012 or later [Image] MacBook Air models from 2012 or later [Image] Mac mini models from 2012 or later [Image] Mac Pro models from late 2013

macOS GPU family 2

iMac models from 2015 or later [Image] MacBook Pro models from 2016 or later [Image] MacBook models from 2016 or later [Image] iMac Pro models from 2017 or later

For more information on Mac support for Metal, see Mac computers that support Metal.

Topics

iOS GPU family 5

iOS GPU family 4

iOS GPU family 3

iOS GPU family 2

iOS GPU family 1

tvOS GPU family 2

tvOS GPU family 1

macOS GPU family 2

macOS GPU family 1

macOS tier 2

Initializers

Type Properties

See Also

Checking a GPU device’s feature support