Instance Method

supportsFamily(_:)

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

Required.

Declaration

func supportsFamily(_ gpuFamily: MTLGPUFamily) -> Bool

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.

func supportsFeatureSet(MTLFeatureSet) -> Bool

Determines whether a device supports a particular feature set.

Required.

enum MTLGPUFamily

Options for families of GPUs.

enum MTLFeatureSet

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