Search Results for

    Show / Hide Table of Contents

    Class MTLFeatures

    This class contains a set of supported features of Metal device.

    Inheritance
    object
    MTLFeatures
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX