wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::wmo::group::chunks::ShadowBatch Struct Reference

One MOBS shadow batch (Cata+): the shadow-pass counterpart of a MOBA render batch. More...

#include <wowlib/formats/wmo/group/chunks/geometry.hpp>

Public Attributes

std::array< std::uint8_t, 10 > unknown {}
 Undeciphered leading fields.
std::uint16_t materialIdLarge = 0
 16-bit material id; used when flags has 0x2.
std::int32_t start = 0
 Start value; divided by 3 on use (a face index).
std::int16_t count = 0
 Count value; divided by 3 on use (a face count).
std::array< std::uint8_t, 4 > unknown2 {}
 Undeciphered middle fields.
std::uint8_t flags = 0
 Batch flags; 0x2: use material_id_large.
std::uint8_t materialId = 0
 Index into MOMT (when it fits 8 bits).

Detailed Description

One MOBS shadow batch (Cata+): the shadow-pass counterpart of a MOBA render batch.

Definition at line 163 of file geometry.hpp.

Member Data Documentation

◆ count

std::int16_t wowlib::formats::wmo::group::chunks::ShadowBatch::count = 0

Count value; divided by 3 on use (a face count).

Definition at line 174 of file geometry.hpp.

◆ flags

std::uint8_t wowlib::formats::wmo::group::chunks::ShadowBatch::flags = 0

Batch flags; 0x2: use material_id_large.

Definition at line 180 of file geometry.hpp.

◆ materialId

std::uint8_t wowlib::formats::wmo::group::chunks::ShadowBatch::materialId = 0

Index into MOMT (when it fits 8 bits).

Definition at line 183 of file geometry.hpp.

◆ materialIdLarge

std::uint16_t wowlib::formats::wmo::group::chunks::ShadowBatch::materialIdLarge = 0

16-bit material id; used when flags has 0x2.

Definition at line 168 of file geometry.hpp.

◆ start

std::int32_t wowlib::formats::wmo::group::chunks::ShadowBatch::start = 0

Start value; divided by 3 on use (a face index).

Definition at line 171 of file geometry.hpp.

◆ unknown

std::array<std::uint8_t, 10> wowlib::formats::wmo::group::chunks::ShadowBatch::unknown {}

Undeciphered leading fields.

Definition at line 165 of file geometry.hpp.

◆ unknown2

std::array<std::uint8_t, 4> wowlib::formats::wmo::group::chunks::ShadowBatch::unknown2 {}

Undeciphered middle fields.

Definition at line 177 of file geometry.hpp.


The documentation for this struct was generated from the following file: