Struct DirectivesGroup
Effect directive group.
Inherited Members
Namespace: Evergine.Framework.Graphics.Effects.Analyzer
Assembly: Evergine.Framework.dll
Syntax
public struct DirectivesGroup
  Constructors
DirectivesGroup(Guid, string, string[])
Initializes a new instance of the DirectivesGroup struct.
Declaration
public DirectivesGroup(Guid id, string groupName, string[] directives)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Guid | id | Group ID.  | 
      
| string | groupName | Group Name.  | 
      
| string[] | directives | Directives array.  | 
      
DirectivesGroup(string, string[])
Initializes a new instance of the DirectivesGroup struct.
Declaration
public DirectivesGroup(string groupName, string[] directives)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | groupName | Group Name.  | 
      
| string[] | directives | Directives inside of group.  | 
      
Fields
Directives
Directives inside of group.
Declaration
public string[] Directives
  Field Value
| Type | Description | 
|---|---|
| string[] | 
ID
Group ID.
Declaration
public Guid ID
  Field Value
| Type | Description | 
|---|---|
| Guid | 
Name
Group Name.
Declaration
public string Name
  Field Value
| Type | Description | 
|---|---|
| string | 
Methods
Read(BinaryReader)
Read a Directives Group from a binary file.
Declaration
public static DirectivesGroup Read(BinaryReader reader)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BinaryReader | reader | The binary reader.  | 
      
Returns
| Type | Description | 
|---|---|
| DirectivesGroup | The read DirectivesGroup.  | 
      
Write(BinaryWriter)
Write a Directives Group into a binary file.
Declaration
public void Write(BinaryWriter writer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| BinaryWriter | writer | The binary writer.  |