#include <sc_store.h>

Public Member Functions

bool operator!= (RGBA32 const &that) const
 
bool operator== (RGBA32 const &that) const
 
 RGBA32 ()=default
 
 RGBA32 (uint8_t r, uint8_t g, uint8_t b, uint8_t a)
 

Public Attributes

uint8_t a
 
uint8_t b
 
uint8_t g
 
uint8_t r
 

Detailed Description

An RGBA color, where each channel is in discrete [0, 255] space.

Constructor & Destructor Documentation

◆ RGBA32() [1/2]

SC::Store::RGBA32::RGBA32 ( )
default

◆ RGBA32() [2/2]

SC::Store::RGBA32::RGBA32 ( uint8_t  r,
uint8_t  g,
uint8_t  b,
uint8_t  a 
)

Member Function Documentation

◆ operator!=()

bool SC::Store::RGBA32::operator!= ( RGBA32 const &  that) const

◆ operator==()

bool SC::Store::RGBA32::operator== ( RGBA32 const &  that) const

Member Data Documentation

◆ a

uint8_t SC::Store::RGBA32::a

◆ b

uint8_t SC::Store::RGBA32::b

◆ g

uint8_t SC::Store::RGBA32::g

◆ r

uint8_t SC::Store::RGBA32::r