public interface IImageDecoderTurns an authoring image format into pixels the engine can work with.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
This interface is the licence boundary, and it has already earned itself. Doc 01 specified ImageSharp; ImageSharp 4.0.0 turned out to fail the build without a purchased key, and swapping to StbImageSharp was one class rather than a change to the importer, the pipeline or anything downstream. A codec is one implementation of this, not a fact about the codebase.
Everything decodes to a TextureData because that is what the rest of the pipeline already speaks. A decoder returns one mip level of one face; chains, cube faces and compression are the importer's business.
Fields and properties (1)
IReadOnlyList<string> ExtensionsWhich extensions it reads, lowercase and with their leading dots.
Methods (1)
TextureData Decode(Stream stream, string extension)Decodes an image.
Used by (6)
- ImageDecodersVixen.Editor.Assets
- Ktx2DecoderVixen.Editor.Assets
- StbImageDecoderVixen.Editor.Assets
- TextureImporterVixen.Editor.Assets
- TextureLadderVixen.Editor.AssetEditors
- ThumbnailCacheVixen.Editor.App