Class EvergineTextureImporter
The texture asset imporeter.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets.Importers
Assembly: Evergine.Framework.dll
Syntax
public class EvergineTextureImporter : AAssetImporter<TextureSource>, IAssetImporter
Properties
Extensions
Gets the importer file extensions.
Declaration
public override string[] Extensions { get; }
Property Value
Type | Description |
---|---|
string[] |
Overrides
Methods
ImportData(Stream, TextureSource, bool)
Import the asset data.
Declaration
public override void ImportData(Stream stream, TextureSource resource, bool rawAsset)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
TextureSource | resource | The output data. |
bool | rawAsset | The asset is loaded as raw asset. |
Overrides
ImportHeader(Stream, out TextureSource)
Import the asset header.
Declaration
public override void ImportHeader(Stream stream, out TextureSource resource)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
TextureSource | resource | The output header. |