Search Results for

    Show / Hide Table of Contents

    Struct SemanticStruct

    Structs that contains information about the semantic type and index.

    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public readonly struct SemanticStruct

    Constructors

    SemanticStruct(ElementSemanticType, uint)

    Initializes a new instance of the SemanticStruct struct.

    Declaration
    public SemanticStruct(ElementSemanticType semantic, uint semanticIndex = 0)
    Parameters
    Type Name Description
    ElementSemanticType semantic

    The element semantic.

    uint semanticIndex

    The semantic index.

    Properties

    Position_0

    Gets the semantic of the default position.

    Declaration
    public static SemanticStruct Position_0 { get; }
    Property Value
    Type Description
    SemanticStruct

    Semantic

    Gets the type of the element.

    Declaration
    public ElementSemanticType Semantic { get; }
    Property Value
    Type Description
    ElementSemanticType

    SemanticIndex

    Gets the semantic index of the element.

    Declaration
    public uint SemanticIndex { get; }
    Property Value
    Type Description
    uint

    Methods

    Equals(object)

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

    GetHashCode()

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

    Operators

    operator ==(SemanticStruct, SemanticStruct)

    Declaration
    public static bool operator ==(SemanticStruct left, SemanticStruct right)
    Parameters
    Type Name Description
    SemanticStruct left
    SemanticStruct right
    Returns
    Type Description
    bool

    operator !=(SemanticStruct, SemanticStruct)

    Declaration
    public static bool operator !=(SemanticStruct left, SemanticStruct right)
    Parameters
    Type Name Description
    SemanticStruct left
    SemanticStruct right
    Returns
    Type Description
    bool

    Extension Methods

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