TriLib
Search Results for

    Show / Hide Table of Contents

    Struct CompoundMaterialKey

    Represents a Material key containing the Material and a Texture type.

    Implements
    IEquatable<CompoundMaterialKey>
    Inherited Members
    ValueType.ToString()
    object.GetType()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: TriLibCore.General
    Assembly: TriLibCore.dll
    Syntax
    public struct CompoundMaterialKey : IEquatable<CompoundMaterialKey>

    Constructors

    CompoundMaterialKey(IMaterial, TextureType)

    Declaration
    public CompoundMaterialKey(IMaterial material, TextureType type)
    Parameters
    Type Name Description
    IMaterial material
    TextureType type

    Fields

    Material

    Declaration
    public IMaterial Material
    Field Value
    Type Description
    IMaterial

    Type

    Declaration
    public TextureType Type
    Field Value
    Type Description
    TextureType

    Methods

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    Equals(CompoundMaterialKey)

    Declaration
    public bool Equals(CompoundMaterialKey other)
    Parameters
    Type Name Description
    CompoundMaterialKey other
    Returns
    Type Description
    bool

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    Implements

    IEquatable<T>

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    In this article
    Back to top Generated by DocFX