Enumeration

MTLGPUFamily

Options for families of GPUs.

Declaration

typedef enum MTLGPUFamily : NSInteger {
    ...
} MTLGPUFamily;

Topics

Testing for Common GPU Family Characteristics

MTLGPUFamilyCommon1

A GPU supporting the common family 1 characteristics.

MTLGPUFamilyCommon2

A GPU supporting the common family 2 characteristics.

MTLGPUFamilyCommon3

A GPU supporting the common family 3 characteristics.

Testing for iOS GPU Families

MTLGPUFamilyApple1

An Apple family 1 GPU.

MTLGPUFamilyApple2

An Apple family 2 GPU.

MTLGPUFamilyApple3

An Apple family 3 GPU.

MTLGPUFamilyApple4

An Apple family 4 GPU.

MTLGPUFamilyApple5

An Apple family 5 GPU.

Testing for macOS GPU Families

MTLGPUFamilyMac1

A family 1 Mac GPU.

MTLGPUFamilyMac2

A family 2 Mac GPU.

Testing for GPU Families when Running an iPad App on a Mac

MTLGPUFamilyiOSMac1

A family 1 Mac GPU when running in an iOS app.

MTLGPUFamilyiOSMac2

A family 2 Mac GPU when running in an iOS app.

See Also

Querying Features

Detecting GPU Features and Metal Software Versions

Use the device object’s properties to determine how you perform tasks in Metal.

- supportsVersion:

Determines whether the device object supports a particular Metal version.

Required.

Beta
- supportsFamily:

Determines whether the device object supports the feature set of a particular GPU family.

Required.

Beta
- supportsFeatureSet:

Determines whether a device supports a particular feature set.

Required.

MTLSoftwareVersion

Options for different versions of the Metal software.

Beta
MTLFeatureSet

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software