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 | Asset 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)
Converts 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. |