Class MTLFeatures
This class contains a set of supported features of Metal device.
Inherited Members
Namespace: Evergine.Metal
Assembly: Evergine.Metal.dll
Syntax
public class MTLFeatures
  Constructors
MTLFeatures(MTLDevice)
Initializes a new instance of the MTLFeatures class.
Declaration
public MTLFeatures(MTLDevice device)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MTLDevice | device | The native metal device.  | 
      
Properties
IsMacOS
Gets a value indicating whether the current platform is MacOS.
Declaration
public bool IsMacOS { get; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
MaxFeatureSet
Gets the set of supported features.
Declaration
public MTLFeatureSet MaxFeatureSet { get; }
  Property Value
| Type | Description | 
|---|---|
| MTLFeatureSet | 
Methods
IsSupported(MTLFeatureSet)
Whether a feature set is supported.
Declaration
public bool IsSupported(MTLFeatureSet featureSet)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MTLFeatureSet | featureSet | The features set.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | True if the feature set is supported.  |