|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
MCLY codec: the texture layers, plus sizing alphaMaps to the layer count (MCAL may be absent on Cata+ when empty, so alphaMaps must be sized here to keep it aligned with layers). More...
#include <wowlib/formats/adt/map_chunk.hpp>
Static Public Member Functions | |
| template<typename Chunk> | |
| static Result< void > | read (Chunk &self, std::span< const std::byte > sub, const MapChunkReadCtx &) |
| template<typename Chunk> | |
| static void | write (const Chunk &, FileBuffer &out, const MapChunkWriteCtx &ctx) |
| template<typename Chunk> | |
| static bool | engaged (const Chunk &self, const MapChunkWriteCtx &) |
MCLY codec: the texture layers, plus sizing alphaMaps to the layer count (MCAL may be absent on Cata+ when empty, so alphaMaps must be sized here to keep it aligned with layers).
Definition at line 210 of file map_chunk.hpp.
|
inlinestatic |
Definition at line 225 of file map_chunk.hpp.
|
inlinestatic |
Definition at line 212 of file map_chunk.hpp.
|
inlinestatic |
Definition at line 220 of file map_chunk.hpp.
References wowlib::formats::adt::detail::appendBytes(), and wowlib::formats::adt::detail::MapChunkWriteCtx::stampedLayers.