Class EffectInfoPart
Effects info part class.
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class EffectInfoPart : AssetPart
Fields
DirectivesGroups
Directive Groups array.
Declaration
public DirectivesGroup[] DirectivesGroups
Field Value
Type | Description |
---|---|
DirectivesGroup[] |
EffectType
The type of effect.
Declaration
public EffectInfoPart.EffectExportTypes EffectType
Field Value
Type | Description |
---|---|
EffectInfoPart.EffectExportTypes |
FileCount
Number of shaders.
Declaration
public int FileCount
Field Value
Type | Description |
---|---|
int |
PrecompiledPasses
An array of combinations.
Declaration
public List<PrecompiledPass> PrecompiledPasses
Field Value
Type | Description |
---|---|
List<PrecompiledPass> |
PrecompiledResourceLayoutInfo
Graphics resource info.
Declaration
public GraphicsResourceInfo[] PrecompiledResourceLayoutInfo
Field Value
Type | Description |
---|---|
GraphicsResourceInfo[] |
ShaderLanguage
Shader language.
Declaration
public GraphicsBackend ShaderLanguage
Field Value
Type | Description |
---|---|
GraphicsBackend |
Methods
Read(BinaryReader)
Reads an effect info part from a binary reader.
Declaration
public static EffectInfoPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
EffectInfoPart | The effect info part. |
Write(BinaryWriter)
Writes the sub-asset.
Declaration
public override void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The stream. |