Class EffectExporter
The effect exporter class.
Inheritance
EffectExporter
Implements
Inherited Members
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public class EffectExporter : AssetExporter<EffectMetaFile, EffectProfile>, IAssetExporter
Fields
CompiledDirectory
The compiled shader directory name.
Declaration
public static readonly string CompiledDirectory
Field Value
Type | Description |
---|---|
string |
ShaderFileName
The name of the shader file.
Declaration
public static readonly string ShaderFileName
Field Value
Type | Description |
---|---|
string |
SourceDirectory
The name of the sources directory.
Declaration
public static readonly string SourceDirectory
Field Value
Type | Description |
---|---|
string |
Properties
Extension
Gets the exporter's file extension.
Declaration
public override string Extension { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GenerateAssetParts(EffectMetaFile, EffectProfile, ExportContext)
Exports the asset.
Declaration
protected override Task<List<AssetPart>> GenerateAssetParts(EffectMetaFile asset, EffectProfile profile, ExportContext exportContext)
Parameters
Type | Name | Description |
---|---|---|
EffectMetaFile | asset | |
EffectProfile | profile | The profile. |
ExportContext | exportContext | The export context. |
Returns
Type | Description |
---|---|
Task<List<AssetPart>> | The export result. |