Vixen
02b45cc4
csharp
public sealed class Ktx2Decoder

Reads a KTX2 file, which is already what the engine ships.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

An artist handing the pipeline a .ktx2 has usually done the compression themselves, with a tool that does it better than BlockCompressor can. The importer passes a compressed one straight through rather than decoding and re-encoding it, because a second round of lossy compression only ever loses.

Fields and properties (1)

  • public IReadOnlyList<string> Extensions

    Which extensions it reads, lowercase and with their leading dots.

Methods (1)

  • public TextureData Decode(Stream stream, string extension)

    Decodes an image.

Used by (1)

  • ImageDecodersVixen.Editor.Assets