Class PrecompiledPass
Precompiled pass class.
Namespace: Evergine.Framework.Graphics.Effects.Models
Assembly: Evergine.Framework.dll
Syntax
public class PrecompiledPass
Fields
Combinations
Combinations of directives.
Declaration
public List<PrecompiledCombination> Combinations
Field Value
Type | Description |
---|---|
List<PrecompiledCombination> |
CompilerParameters
Compiler parameters.
Declaration
public CompilerParameters CompilerParameters
Field Value
Type | Description |
---|---|
CompilerParameters |
EntryPoints
The entry points.
Declaration
public EntryPoints EntryPoints
Field Value
Type | Description |
---|---|
EntryPoints |
OverridedRenderLayerProperties
Overrides render layer properties array.
Declaration
public OverridedRenderLayerProperty[] OverridedRenderLayerProperties
Field Value
Type | Description |
---|---|
OverridedRenderLayerProperty[] |
PassName
The name of the pass.
Declaration
public string PassName
Field Value
Type | Description |
---|---|
string |
RequiredWith
Required directives.
Declaration
public string[] RequiredWith
Field Value
Type | Description |
---|---|
string[] |
ThreadGroupSize
The thread group size in the case of a compute shader.
Declaration
public uint[] ThreadGroupSize
Field Value
Type | Description |
---|---|
uint[] |
UsedDirectives
Directives used in the pass code block.
Declaration
public string[] UsedDirectives
Field Value
Type | Description |
---|---|
string[] |
Methods
Read(BinaryReader)
Reads pre-compiled pass from binary file.
Declaration
public static PrecompiledPass Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
PrecompiledPass | The read pre-compiled pass. |
Write(BinaryWriter)
Writes a pre-compiled combination to a binary file.
Declaration
public void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |