Search Results for

    Show / Hide Table of Contents

    Class MTLHelpers

    A set of Metal Helpers.

    Inheritance
    object
    MTLHelpers
    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 static class MTLHelpers

    Methods

    AllocInit<T>(string)

    Alloc a generic metal object.

    Declaration
    public static T AllocInit<T>(string typeName) where T : struct
    Parameters
    Type Name Description
    string typeName

    The type name.

    Returns
    Type Description
    T

    The new instance.

    Type Parameters
    Name Description
    T

    The generic type.

    IsStencilFormat(PixelFormat)

    Whether a format support stencil or not.

    Declaration
    public static bool IsStencilFormat(PixelFormat format)
    Parameters
    Type Name Description
    PixelFormat format

    The format to evaluate.

    Returns
    Type Description
    bool

    True if the format support stencil.

    In This Article
    Back to top
    Generated by DocFX