Table of Contents

Enum AlphaFormat

Namespace
WoWLib.Formats.ADT
Assembly
WoWLib.dll

The on-disk MCAL alpha-map bit depth for a tile, decided by the map's WDT MPHD flags (adt_has_big_alpha 0x4 / adt_has_height_texturing 0x80), not the client era. wowlib always decodes alpha maps to a 64x64 8-bit edit surface; this records how they were laid out on disk so a write can reproduce the same encoding. RLE compression is an independent per-layer choice (the MCLY alpha_map_compressed flag), orthogonal to the depth.

public enum AlphaFormat : byte

Fields

Highres8Bit = 1

4096-byte 8-bit alpha maps (the WDT has adt_has_big_alpha or adt_has_height_texturing).

Lowres4Bit = 0

2048-byte 4-bit alpha maps (the default when the WDT sets neither big-alpha flag).