Options for families of GPUs.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
Framework
- Metal
Declaration
typedef enum MTLGPUFamily : NSInteger {
...
} MTLGPUFamily;
Options for families of GPUs.
SDKs
Framework
typedef enum MTLGPUFamily : NSInteger {
...
} MTLGPUFamily;
MTLGPUFamily Common1
A GPU supporting the common family 1 characteristics.
MTLGPUFamily Common2
A GPU supporting the common family 2 characteristics.
MTLGPUFamily Common3
A GPU supporting the common family 3 characteristics.
MTLGPUFamily Apple1
An Apple family 1 GPU.
MTLGPUFamily Apple2
An Apple family 2 GPU.
MTLGPUFamily Apple3
An Apple family 3 GPU.
MTLGPUFamily Apple4
An Apple family 4 GPU.
MTLGPUFamily Apple5
An Apple family 5 GPU.
MTLGPUFamily Apple6
An Apple family 6 GPU.
MTLGPUFamily Mac1
A family 1 Mac GPU.
MTLGPUFamily Mac2
A family 2 Mac GPU.
MTLGPUFamily Mac Catalyst1
A family 1 Mac GPU when running in an iOS app.
MTLGPUFamily Mac Catalyst2
A family 2 Mac GPU when running in an iOS app.
Use the device object’s properties to determine how you perform tasks in Metal.
- supports Family:
Determines whether the device object supports the feature set of a particular GPU family.
Required.
- supports Feature Set:
Determines whether a device supports a particular feature set.
Required.
MTLFeature Set
The device feature sets that define specific platform, hardware, and software configurations.