|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
One MTXF texture-flags record (WotLK+): flags for the same-index MTEX texture. More...
#include <wowlib/formats/adt/chunks/texture.hpp>
Public Member Functions | |
| bool | operator== (const SMTextureFlags &) const =default |
Public Attributes | |
| std::uint32_t | flags = 0 |
| Flags: bit 0 = use cube map (no _s/_h shading); bits 4-7 = texture scale exponent (UVs are divided by 1 << n). | |
One MTXF texture-flags record (WotLK+): flags for the same-index MTEX texture.
The texture_scale nibble sits in bits 4-7 (verified empirically against 9.2.7 Draenor MTXP data; the applied UV scale is 1/(1 << n), i.e. the texture appears 2^n times larger).
Definition at line 64 of file texture.hpp.
|
default |
| std::uint32_t wowlib::formats::adt::chunks::SMTextureFlags::flags = 0 |
Flags: bit 0 = use cube map (no _s/_h shading); bits 4-7 = texture scale exponent (UVs are divided by 1 << n).
Definition at line 66 of file texture.hpp.