|
| Color (const FloatArray &arr) |
|
| Color (const float *buf, std::size_t count) |
|
| Color (float r, float g, float b, float a) |
|
| operator FloatArray () const |
|
Color | operator* (const float rhs) const |
|
Color | operator*= (const float rhs) |
|
Color | operator- (const Color &rhs) const |
|
Color | operator-= (const Color &rhs) |
|
Color | operator+ (const Color &rhs) const |
|
Color | operator+= (const Color &rhs) |
|
bool | operator== (const Color &rhs) const |
|
bool | operator!= (const Color &rhs) const |
|
bool | operator< (const Color &rhs) const |
|
Color | lerp (const Color &end, float t) const |
|
std::string | to_hex_string () const |
|
uint32_t | to_rgba_8888 () const |
|
uint32_t | to_argb_8888 () const |
|
uint32_t | to_abgr_8888 () const |
|
uint16_t | to_rgba_4444 () const |
|
uint16_t | to_abgr_4444 () const |
|
uint16_t | to_argb_4444 () const |
|
|
static Color | from_bytes (uint8_t r, uint8_t g, uint8_t b, uint8_t a) |
|
static Color | from_hex_string (const std::string &hex_string) |
|
static Color | black () |
|
static Color | gray () |
|
static Color | white () |
|
static Color | red () |
|
static Color | green () |
|
static Color | blue () |
|
static Color | yellow () |
|
static Color | purple () |
|
static Color | turquoise () |
|
static Color | none () |
|
|
float | r |
|
float | g |
|
float | b |
|
float | a |
|
The documentation for this struct was generated from the following files:
- simulant/color.h
- simulant/color.cpp