Struct LineInfo
Effect line information.
Namespace: Evergine.Framework.Graphics.Effects.Analyzer
Assembly: Evergine.Framework.dll
Syntax
public struct LineInfo
Fields
Deep
This number indicates the deep of the reference. (If the line come from LibraryEffect it has deep 1 whether the line come from a LibraryEffect referenced from a LibraryEffect includes in the effect then it will have deep 2, etc..
Declaration
public int Deep
Field Value
Type | Description |
---|---|
int |
IncludeLineNumber
Used with lines from Library effect. This number is the original line number inside its Library.
Declaration
public int IncludeLineNumber
Field Value
Type | Description |
---|---|
int |
LibraryOrder
Specifies the order of the library reference. In cases where multiple libraries exist at the same depth level, this libraryOrder value is used to sort the code of those libraries within the same deep level.
Declaration
public int LibraryOrder
Field Value
Type | Description |
---|---|
int |
LineNumber
The line number.
Declaration
public int LineNumber
Field Value
Type | Description |
---|---|
int |
Text
The text.
Declaration
public string Text
Field Value
Type | Description |
---|---|
string |
Methods
CompareTo(LineInfo)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Declaration
public int CompareTo(LineInfo other)
Parameters
Type | Name | Description |
---|---|---|
LineInfo | other | An object to compare with this instance. |
Returns
Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
int | A value that indicates the relative order of the objects being compared. The return value has these meanings:
|