Class ModelSourceLoader
Class that converts a texturesource to a Texture object.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public class ModelSourceLoader : AssetSourceLoadableConverter<ModelSource, Model>, IAssetSourceLoadableConverter
Constructors
ModelSourceLoader(GraphicsContext)
Initializes a new instance of the ModelSourceLoader class.
Declaration
public ModelSourceLoader(GraphicsContext graphicsContext)
Parameters
Type | Name | Description |
---|---|---|
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(ModelSource)
Converts an Asset Source into a loadable.
Declaration
public override Model Convert(ModelSource source)
Parameters
Type | Name | Description |
---|---|---|
ModelSource | source | The asset source. |
Returns
Type | Description |
---|---|
Model | The loadable element. |