Math::Color struct

An ARGB color represented by a 32 bit integer value.

Public static variables

static const Color RED
static const Color BLUE
static const Color GREEN
static const Color WHITE
static const Color BLACK

Constructors, destructors, conversion operators

Color()
Color(const Color& color)
Color(uint32_t color)
Color(uint8_t r, uint8_t g, uint8_t b, uint8_t a)

Public functions

auto operator==(const Color& b) const -> bool
auto operator!=(const Color& b) const -> bool

Public variables

uint32_t value
uint8_t b
uint8_t g
uint8_t r
uint8_t a
union Math::Color::@36 @37