Class LibrarySection
The library section of effect.
Inherited Members
Namespace: Evergine.Framework.Graphics.Effects.Analyzer
Assembly: Evergine.Framework.dll
Syntax
public class LibrarySection : Section
Constructors
LibrarySection()
Initializes a new instance of the LibrarySection class.
Declaration
public LibrarySection()
Fields
Blocks
The blocks.
Declaration
public List<CodeBlock> Blocks
Field Value
Type | Description |
---|---|
List<CodeBlock> |
CompilationProfileKeyword
The compilation profile keyword (Lower invariant).
Declaration
public const string CompilationProfileKeyword = "Profile"
Field Value
Type | Description |
---|---|
string |
CompilerParameters
The parameters.
Declaration
public CompilerParameters CompilerParameters
Field Value
Type | Description |
---|---|
CompilerParameters |
DirectivesGroups
The directives groups.
Declaration
public List<DirectivesGroup> DirectivesGroups
Field Value
Type | Description |
---|---|
List<DirectivesGroup> |
DirectivesKeyword
The directives keyword.
Declaration
public const string DirectivesKeyword = "Directives"
Field Value
Type | Description |
---|---|
string |
UsedDirectives
The used directives.
Declaration
public string[] UsedDirectives
Field Value
Type | Description |
---|---|
string[] |
Methods
DirectiveExists(string, out Guid)
Checks if given directive exists.
Declaration
public bool DirectiveExists(string directive, out Guid id)
Parameters
Type | Name | Description |
---|---|---|
string | directive | The directive. |
Guid | id | The result directive identifier. |
Returns
Type | Description |
---|---|
bool | True if the specified directive exists, otherwise returns false. |