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

A color stored as b, g, r, a bytes — the client's immediate-mode vertex color layout (WMO MOCV, doodad colors). More...

#include <wowlib/formats/common/types.hpp>

Public Member Functions

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

Public Attributes

std::uint8_t b = 0
 The blue component.
std::uint8_t g = 0
 The green component.
std::uint8_t r = 0
 The red component.
std::uint8_t a = 0
 The alpha component.

Detailed Description

A color stored as b, g, r, a bytes — the client's immediate-mode vertex color layout (WMO MOCV, doodad colors).

Definition at line 178 of file types.hpp.

Member Function Documentation

◆ operator==()

bool wowlib::formats::common::CImVector::operator== ( const CImVector & ) const
default

Member Data Documentation

◆ a

std::uint8_t wowlib::formats::common::CImVector::a = 0

The alpha component.

Definition at line 186 of file types.hpp.

◆ b

std::uint8_t wowlib::formats::common::CImVector::b = 0

The blue component.

Definition at line 180 of file types.hpp.

Referenced by wowlib::formats::blp::detail::PaletteCodec::decode().

◆ g

std::uint8_t wowlib::formats::common::CImVector::g = 0

The green component.

Definition at line 182 of file types.hpp.

Referenced by wowlib::formats::blp::detail::PaletteCodec::decode().

◆ r

std::uint8_t wowlib::formats::common::CImVector::r = 0

The red component.

Definition at line 184 of file types.hpp.

Referenced by wowlib::formats::blp::detail::PaletteCodec::decode().


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