Class EffectExporter
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 |
SourceDirectory
The sources directory name.
Declaration
public static readonly string SourceDirectory
Field Value
Type | Description |
---|---|
string |
Properties
Extension
Gets the exporter 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. |