Class EffectInfoPart
Effects info part class.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class EffectInfoPart : AssetPart
Fields
DirectivesGroups
Directives Groups array.
Declaration
public DirectivesGroup[] DirectivesGroups
Field Value
Type | Description |
---|---|
DirectivesGroup[] |
EffectType
Effect type.
Declaration
public EffectInfoPart.EffectExportTypes EffectType
Field Value
Type | Description |
---|---|
EffectInfoPart.EffectExportTypes |
FileCount
Shader count.
Declaration
public int FileCount
Field Value
Type | Description |
---|---|
int |
PrecompiledPasses
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)
Read an effect info part from binary reader.
Declaration
public static EffectInfoPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | 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. |