Class MaterialSourceLoader
Class that converts a Material Source to a Material object.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public class MaterialSourceLoader : AssetSourceLoadableConverter<MaterialSource, Material>, IAssetSourceLoadableConverter
Constructors
MaterialSourceLoader(AssetsService)
Initializes a new instance of the MaterialSourceLoader class.
Declaration
public MaterialSourceLoader(AssetsService assetsService)
Parameters
Type | Name | Description |
---|---|---|
AssetsService | assetsService | Assets Service. |
Properties
ExportedExtension
Gets the exported extension of the asset.
Declaration
public override string ExportedExtension { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Convert(MaterialSource)
Convert from MaterialSource to Material.
Declaration
public override Material Convert(MaterialSource source)
Parameters
Type | Name | Description |
---|---|---|
MaterialSource | source | MaterialSource instance. |
Returns
Type | Description |
---|---|
Material | Material instance. |