Class ImageSharpImporter
The image sharp importer.
Implements
IAssetImporter
Inherited Members
Namespace: Evergine.Assets.Importers
Assembly: Evergine.Assets.dll
Syntax
public class ImageSharpImporter : AAssetImporter<TextureSource>, IAssetImporter
Properties
Extensions
Gets the importer file extensions.
Declaration
public override string[] Extensions { get; }
Property Value
Type | Description |
---|---|
string[] |
Overrides
Evergine.Framework.Assets.Importers.AAssetImporter<Evergine.Framework.Assets.TextureSource>.Extensions
Methods
ImportData(Stream, TextureSource, bool)
Decode Image data using ImageSharp library.
Declaration
public override void ImportData(Stream stream, TextureSource source, bool rawAsset)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | Binary reader. |
TextureSource | source | Image Description. |
bool | rawAsset | The asset is loaded as raw asset. |
Overrides
ImportHeader(Stream, out TextureSource)
Decode Image Header using ImageSharp library.
Declaration
public override void ImportHeader(Stream stream, out TextureSource source)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | Image stream. |
TextureSource | source | Image description. |
Overrides
Implements
Evergine.Framework.Assets.Importers.IAssetImporter