Struct SemanticStruct
  Structs that contains information about the semantic type and index.
 
  
  
  
  Assembly: Evergine.Common.dll
  Syntax
  
    public readonly struct SemanticStruct
   
  Constructors
  
  SemanticStruct(ElementSemanticType, uint)
  
  
  Declaration
  
    public SemanticStruct(ElementSemanticType semantic, uint semanticIndex = 0)
   
  Parameters
  
  Properties
  
  Position_0
  Gets the semantic of the default position.
 
  
  Declaration
  
    public static SemanticStruct Position_0 { get; }
   
  Property Value
  
  
  Semantic
  Gets the type of the element.
 
  
  Declaration
  
    public ElementSemanticType Semantic { get; }
   
  Property Value
  
  
  SemanticIndex
  Gets the semantic index of the element.
 
  
  Declaration
  
    public uint SemanticIndex { get; }
   
  Property Value
  
  Methods
  
  Equals(object)
  
  
  Declaration
  
    public override bool Equals(object obj)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | object | 
        obj | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
  GetHashCode()
  
  
  Declaration
  
    public override int GetHashCode()
   
  Returns
  
  Overrides
  
  Operators
  
  operator ==(SemanticStruct, SemanticStruct)
  
  
  Declaration
  
    public static bool operator ==(SemanticStruct left, SemanticStruct right)
   
  Parameters
  
  Returns
  
  
  operator !=(SemanticStruct, SemanticStruct)
  
  
  Declaration
  
    public static bool operator !=(SemanticStruct left, SemanticStruct right)
   
  Parameters
  
  Returns
  
  Extension Methods