Instance Method

supportsFeatureSet:

Determines whether a device supports a particular feature set.

Required.

Declaration

- (BOOL)supportsFeatureSet:(MTLFeatureSet)featureSet;

Parameters

featureSet

The Metal feature set that you're interested in querying.

Return Value

YES if the feature set is supported; otherwise, NO.

Discussion

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

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.

- supportsFamily:

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

Required.

Beta
MTLGPUFamily

Options for families of GPUs.

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