Search Results for

    Show / Hide Table of Contents

    Class MTLFeatures

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

    Inheritance
    object
    MTLFeatures
    Namespace: Evergine.Metal
    Assembly: Evergine.Metal.dll
    Syntax
    public class MTLFeatures

    Constructors

    MTLFeatures(IMTLDevice)

    Initializes a new instance of the MTLFeatures class.

    Declaration
    public MTLFeatures(IMTLDevice device)
    Parameters
    Type Name Description
    IMTLDevice 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 MTLGpuFamily MaxFeatureSet { get; }
    Property Value
    Type Description
    MTLGpuFamily

    Methods

    IsSupported(MTLGpuFamily)

    Determines whether a feature set is supported.

    Declaration
    public bool IsSupported(MTLGpuFamily gpuFamily)
    Parameters
    Type Name Description
    MTLGpuFamily gpuFamily

    The GPU family.

    Returns
    Type Description
    bool

    True if the GPU family is supported.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX