Struct CompilerParameters
This struct represent the parameters used by the shader compiler.
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public struct CompilerParameters
Fields
CompilationMode
The compiler mode, CompilationMode.
Declaration
public CompilationMode CompilationMode
Field Value
Type | Description |
---|---|
CompilationMode |
Profile
The available device capabilities, GraphicsProfile.
Declaration
public GraphicsProfile Profile
Field Value
Type | Description |
---|---|
GraphicsProfile |
Properties
Default
Gets default values for CompilerParameters.
Declaration
public static CompilerParameters Default { get; }
Property Value
Type | Description |
---|---|
CompilerParameters |
Methods
Read(BinaryReader)
Read compiler parameters from binary file.
Declaration
public static CompilerParameters Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | Binary reader. |
Returns
Type | Description |
---|---|
CompilerParameters | The readed compiler parameters. |
SetDefault()
Default CompilerParameters values.
Declaration
public void SetDefault()
Write(BinaryWriter)
Write compiler parameters on binary file.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |