Class DefaultImporter
This class represents the default importer, which loads a file source.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets.Importers
Assembly: Evergine.Framework.dll
Syntax
public class DefaultImporter : AAssetImporter<FileSource>, IAssetImporter
Properties
Extensions
Gets the importer file extensions.
Declaration
public override string[] Extensions { get; }
Property Value
Type | Description |
---|---|
string[] |
Overrides
Methods
ImportData(Stream, FileSource, bool)
Imports the asset data.
Declaration
public override void ImportData(Stream stream, FileSource resource, bool rawAsset)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
FileSource | resource | The output data. |
bool | rawAsset | Indicates whether the asset is loaded as a raw asset. |
Overrides
ImportHeader(Stream, out FileSource)
Imports the asset header.
Declaration
public override void ImportHeader(Stream stream, out FileSource resource)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
FileSource | resource | The output header. |