TriLib
Search Results for

    Show / Hide Table of Contents

    Class TextureComparators

    Represents a series of Texture comparison methods.

    Inheritance
    object
    TextureComparators
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: TriLibCore.Utils
    Assembly: TriLibCore.dll
    Syntax
    public static class TextureComparators

    Methods

    Equals(ITexture, object)

    Checks if Texture is equal object.

    Declaration
    public static bool Equals(ITexture a, object b)
    Parameters
    Type Name Description
    ITexture a

    The Texture A.

    object b

    The Texture B.

    Returns
    Type Description
    bool

    true if A and B are equals, false otherwise.

    GetHashCode(ITexture)

    Returns a hash code for the given Texture.

    Declaration
    public static int GetHashCode(ITexture a)
    Parameters
    Type Name Description
    ITexture a

    The Texture to get the Hashcode.

    Returns
    Type Description
    int

    A hash code for the given texture, suitable for use in hashing algorithms and data structures like a hash table.

    TextureEquals(ITexture, ITexture)

    Checks if two Textures are equals.

    Declaration
    public static bool TextureEquals(ITexture a, ITexture b)
    Parameters
    Type Name Description
    ITexture a

    The Texture A.

    ITexture b

    The Texture B.

    Returns
    Type Description
    bool

    true if A and B are equals, false otherwise.

    In this article
    Back to top Generated by DocFX