|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
#include <wowlib/formats/wmo/root/chunks/material.hpp>
Public Attributes | |
| MaterialFlags | flags {} |
| Render flags; MaterialFlags bits. | |
| std::uint32_t | shader = 0 |
| Index into the client's WMO shader table. | |
| std::uint32_t | blendMode = 0 |
| Blending mode (EGxBlend). | |
| std::uint32_t | texture1 = 0 |
| First texture: MOTX offset or FileDataID. | |
| CImVector | sidnColor {} |
| Self-illuminated (night glow) color. | |
| CImVector | frameSidnColor {} |
| Runtime sidn slot; zero on disk. | |
| std::uint32_t | texture2 = 0 |
| Second texture: MOTX offset or FileDataID. | |
| CImVector | diffColor {} |
| Diffuse color. | |
| std::uint32_t | groundType = 0 |
| Foreign key into TerrainType. | |
| std::uint32_t | texture3 = 0 |
| Third texture: MOTX offset or FileDataID. | |
| std::uint32_t | color2 = 0 |
| Extra color slot (a texture FileDataID for shader 23). | |
| std::uint32_t | flags2 = 0 |
| Extra flags slot (a texture FileDataID for shader 23). | |
| std::array< std::uint32_t, 4 > | runTimeData {} |
| Nulled on load; shader-23 texture FileDataIDs. | |
Definition at line 32 of file material.hpp.
| std::uint32_t wowlib::formats::wmo::root::chunks::SMOMaterial::blendMode = 0 |
Blending mode (EGxBlend).
Definition at line 40 of file material.hpp.
| std::uint32_t wowlib::formats::wmo::root::chunks::SMOMaterial::color2 = 0 |
Extra color slot (a texture FileDataID for shader 23).
Definition at line 64 of file material.hpp.
| CImVector wowlib::formats::wmo::root::chunks::SMOMaterial::diffColor {} |
Diffuse color.
Definition at line 55 of file material.hpp.
| MaterialFlags wowlib::formats::wmo::root::chunks::SMOMaterial::flags {} |
Render flags; MaterialFlags bits.
Definition at line 34 of file material.hpp.
| std::uint32_t wowlib::formats::wmo::root::chunks::SMOMaterial::flags2 = 0 |
Extra flags slot (a texture FileDataID for shader 23).
Definition at line 67 of file material.hpp.
| CImVector wowlib::formats::wmo::root::chunks::SMOMaterial::frameSidnColor {} |
Runtime sidn slot; zero on disk.
Definition at line 49 of file material.hpp.
| std::uint32_t wowlib::formats::wmo::root::chunks::SMOMaterial::groundType = 0 |
Foreign key into TerrainType.
Definition at line 58 of file material.hpp.
| std::array<std::uint32_t, 4> wowlib::formats::wmo::root::chunks::SMOMaterial::runTimeData {} |
Nulled on load; shader-23 texture FileDataIDs.
Definition at line 70 of file material.hpp.
| std::uint32_t wowlib::formats::wmo::root::chunks::SMOMaterial::shader = 0 |
Index into the client's WMO shader table.
Definition at line 37 of file material.hpp.
| CImVector wowlib::formats::wmo::root::chunks::SMOMaterial::sidnColor {} |
Self-illuminated (night glow) color.
Definition at line 46 of file material.hpp.
| std::uint32_t wowlib::formats::wmo::root::chunks::SMOMaterial::texture1 = 0 |
First texture: MOTX offset or FileDataID.
Definition at line 43 of file material.hpp.
| std::uint32_t wowlib::formats::wmo::root::chunks::SMOMaterial::texture2 = 0 |
Second texture: MOTX offset or FileDataID.
Definition at line 52 of file material.hpp.
| std::uint32_t wowlib::formats::wmo::root::chunks::SMOMaterial::texture3 = 0 |
Third texture: MOTX offset or FileDataID.
Definition at line 61 of file material.hpp.