Search Results for

    Show / Hide Table of Contents

    Struct SortKey

    Struct that represent a mesh to render.

    Implements
    IComparable<SortKey>
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Evergine.Framework.Graphics.Sorting
    Assembly: Evergine.Framework.dll
    Syntax
    public struct SortKey : IComparable<SortKey>

    Constructors

    SortKey(ulong, int)

    Initializes a new instance of the SortKey struct.

    Declaration
    public SortKey(ulong key, int index)
    Parameters
    Type Name Description
    ulong key

    The key.

    int index

    The index.

    Fields

    Index

    The element index.

    Declaration
    public int Index
    Field Value
    Type Description
    int

    Key

    The sort key.

    Declaration
    public ulong Key
    Field Value
    Type Description
    ulong

    Methods

    CompareTo(SortKey)

    Compare to method.

    Declaration
    public int CompareTo(SortKey other)
    Parameters
    Type Name Description
    SortKey other

    The other key to compare.

    Returns
    Type Description
    int

    The compare result.

    Implements

    IComparable<T>

    Extension Methods

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