#include <Color.h>
|
| Uint8 | r |
| |
| Uint8 | g |
| |
| Uint8 | b |
| |
| Uint8 | a |
| |
|
| static const Color4ub | BLACK = Color(0, 0, 0, 255) |
| |
| static const Color4ub | WHITE = Color(255, 255, 255, 255) |
| |
| static const Color4ub | RED = Color(255, 0, 0, 255) |
| |
| static const Color4ub | GREEN = Color(0, 255, 0, 255) |
| |
| static const Color4ub | BLUE = Color(0, 0, 255, 255) |
| |
| static const Color4ub | YELLOW = Color(255, 255, 0, 255) |
| |
| static const Color4ub | GRAY = Color(128, 128, 128, 255) |
| |
| static const Color4ub | STEELBLUE = Color(68, 130, 181, 255) |
| |
| static const Color4ub | BLANK = Color(0, 0, 0, 0) |
| |
| static const Color4ub | PINK = Color(252, 15, 192, 255) |
| |
◆ Color4ub() [1/6]
| constexpr Color4ub::Color4ub |
( |
| ) |
|
|
inlineconstexpr |
◆ Color4ub() [2/6]
| constexpr Color4ub::Color4ub |
( |
Uint8 |
r_, |
|
|
Uint8 |
g_, |
|
|
Uint8 |
b_ |
|
) |
| |
|
inlineconstexpr |
◆ Color4ub() [3/6]
| constexpr Color4ub::Color4ub |
( |
Uint8 |
r_, |
|
|
Uint8 |
g_, |
|
|
Uint8 |
b_, |
|
|
Uint8 |
a_ |
|
) |
| |
|
inlineconstexpr |
◆ Color4ub() [4/6]
| constexpr Color4ub::Color4ub |
( |
const Color4f & |
c | ) |
|
|
inlineconstexpr |
◆ Color4ub() [5/6]
| constexpr Color4ub::Color4ub |
( |
const Uint32 |
rgba | ) |
|
|
inlineconstexpr |
◆ Color4ub() [6/6]
| constexpr Color4ub::Color4ub |
( |
const Color4ub & |
c, |
|
|
const Uint8 |
a |
|
) |
| |
|
inlineconstexpr |
◆ FromLuaTable()
| Color4ub Color4ub::FromLuaTable |
( |
lua_State * |
l, |
|
|
int |
idx |
|
) |
| |
|
static |
◆ GetLuminance()
| Uint8 Color4ub::GetLuminance |
( |
| ) |
const |
◆ Opacity()
| Color4ub Color4ub::Opacity |
( |
float |
factor | ) |
|
|
inline |
◆ operator const unsigned char *()
| Color4ub::operator const unsigned char * |
( |
| ) |
const |
|
inline |
◆ operator unsigned char *()
| Color4ub::operator unsigned char * |
( |
| ) |
|
|
inline |
◆ operator*() [1/2]
◆ operator*() [2/2]
| Color4ub Color4ub::operator* |
( |
const float |
f | ) |
const |
|
inline |
◆ operator*=() [1/2]
◆ operator*=() [2/2]
| Color4ub & Color4ub::operator*= |
( |
const float |
f | ) |
|
|
inline |
◆ operator+()
◆ operator/()
| Color4ub Color4ub::operator/ |
( |
const float |
f | ) |
const |
|
inline |
◆ Shade()
| Color4ub Color4ub::Shade |
( |
float |
factor | ) |
|
|
inline |
◆ Tint()
◆ ToColor4f()
| Color4f Color4ub::ToColor4f |
( |
| ) |
const |
|
inline |
◆ ToLuaTable()
| void Color4ub::ToLuaTable |
( |
lua_State * |
l | ) |
|
◆ operator!=
◆ operator==
◆ BLACK
◆ BLANK
◆ BLUE
◆ GRAY
◆ GREEN
◆ PINK
◆ RED
◆ STEELBLUE
◆ WHITE
◆ YELLOW
The documentation for this struct was generated from the following files: