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

A color stored as r, g, b, a bytes. More...

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

Public Member Functions

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

Public Attributes

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

Detailed Description

A color stored as r, g, b, a bytes.

Definition at line 164 of file types.hpp.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ a

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

The alpha component.

Definition at line 172 of file types.hpp.

◆ b

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

The blue component.

Definition at line 170 of file types.hpp.

◆ g

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

The green component.

Definition at line 168 of file types.hpp.

◆ r

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

The red component.

Definition at line 166 of file types.hpp.


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