Table of Contents

Namespace LansMap.Core.TileCodecs.Etc2

Classes

Etc2Decoder

Decodes ETC1 individual-mode blocks (the subset Etc2Encoder emits) to RGBA8888 for tests and cache-format migration.

Etc2Encoder

Encodes RGBA8888 into ETC2 RGB blocks (8 bytes per 4x4 texels, 4 bpp) using ETC1 individual mode only.

Etc2TileCodec

Disk-format codec for ETC2 GPU blocks already stored in a cache blob: no image decode, extract the mip levels an upload needs.

TileEtc2Payload

On-disk ETC2 mip-chain payload: base dimensions, level count, then every mip level's blocks concatenated, level 0 first.