wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::m2::skin::M2ShadowBatch Struct Reference

An M2 skin shadow batch (Cata+); the client can also generate these from the render batches. More...

#include <wowlib/formats/m2/skin/records.hpp>

Public Member Functions

bool operator== (const M2ShadowBatch &) const =default

Public Attributes

std::uint8_t flags = 0
 If auto-generated: the source render batch's flags.
std::uint8_t flags2 = 0
 If auto-generated: bits derived from the material's flags and blend mode.
std::uint16_t unknown1 = 0
 Unknown.
std::uint16_t submeshId = 0
 The submesh shadowed.
std::uint16_t textureId = 0
 Already looked up.
std::uint16_t colorId = 0
 Into the model colors.
std::uint16_t transparencyId = 0
 Already looked up.

Detailed Description

An M2 skin shadow batch (Cata+); the client can also generate these from the render batches.

Definition at line 164 of file records.hpp.

Member Function Documentation

◆ operator==()

bool wowlib::formats::m2::skin::M2ShadowBatch::operator== ( const M2ShadowBatch & ) const
default

Member Data Documentation

◆ colorId

std::uint16_t wowlib::formats::m2::skin::M2ShadowBatch::colorId = 0

Into the model colors.

Definition at line 176 of file records.hpp.

◆ flags

std::uint8_t wowlib::formats::m2::skin::M2ShadowBatch::flags = 0

If auto-generated: the source render batch's flags.

Definition at line 166 of file records.hpp.

◆ flags2

std::uint8_t wowlib::formats::m2::skin::M2ShadowBatch::flags2 = 0

If auto-generated: bits derived from the material's flags and blend mode.

Definition at line 168 of file records.hpp.

◆ submeshId

std::uint16_t wowlib::formats::m2::skin::M2ShadowBatch::submeshId = 0

The submesh shadowed.

Definition at line 172 of file records.hpp.

◆ textureId

std::uint16_t wowlib::formats::m2::skin::M2ShadowBatch::textureId = 0

Already looked up.

Definition at line 174 of file records.hpp.

◆ transparencyId

std::uint16_t wowlib::formats::m2::skin::M2ShadowBatch::transparencyId = 0

Already looked up.

Definition at line 178 of file records.hpp.

◆ unknown1

std::uint16_t wowlib::formats::m2::skin::M2ShadowBatch::unknown1 = 0

Unknown.

Definition at line 170 of file records.hpp.


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