Class DDSImporter
The DDS Importer class.
Implements
Inherited Members
Namespace: Evergine.Assets.Importers
Assembly: Evergine.Assets.dll
Syntax
public class DDSImporter : AAssetImporter<TextureSource>, IAssetImporter
Properties
Extensions
Gets the importer extension.
Declaration
public override string[] Extensions { get; }
Property Value
Type | Description |
---|---|
string[] |
Overrides
Methods
ImportData(Stream, TextureSource, bool)
Imports the asset data.
Declaration
public override void ImportData(Stream stream, TextureSource source, bool rawAsset)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
TextureSource | source | |
bool | rawAsset | Indicates whether the asset is loaded as a raw asset. |
Overrides
ImportHeader(Stream, out TextureSource)
Decodes the DDS header.
Declaration
public override void ImportHeader(Stream stream, out TextureSource source)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | Image stream. |
TextureSource | source | Image description. |