Class EffectSourceLoader
The effect source loader.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public class EffectSourceLoader : AssetSourceLoadableConverter<EffectSource, Effect>, IAssetSourceLoadableConverter
Constructors
EffectSourceLoader(AssetsService, GraphicsContext)
Initializes a new instance of the EffectSourceLoader class.
Declaration
public EffectSourceLoader(AssetsService assetsService, GraphicsContext graphicsContext)
Parameters
Type | Name | Description |
---|---|---|
AssetsService | assetsService | The assets service. |
GraphicsContext | graphicsContext | The graphics context. |
Properties
ExportedExtension
Gets the exported extension of the asset.
Declaration
public override string ExportedExtension { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Convert(EffectSource)
Converts from EffectSource to Effect.
Declaration
public override Effect Convert(EffectSource source)
Parameters
Type | Name | Description |
---|---|---|
EffectSource | source | An EffectSource instance. |
Returns
Type | Description |
---|---|
Effect | An Effect instance. |