RGBA color composed of 4 bytes. More...
#include <ccTypes.h>
Public Member Functions | |
Color4B () | |
Color4B (GLubyte _r, GLubyte _g, GLubyte _b, GLubyte _a) | |
Color4B (const Color3B &color) | |
Color4B (const Color4F &color) | |
bool | operator== (const Color4B &right) const |
bool | operator== (const Color3B &right) const |
bool | operator== (const Color4F &right) const |
bool | operator!= (const Color4B &right) const |
bool | operator!= (const Color3B &right) const |
bool | operator!= (const Color4F &right) const |
Public Attributes | |
GLubyte | r |
GLubyte | g |
GLubyte | b |
GLubyte | a |
Static Public Attributes | |
static const Color4B | WHITE |
static const Color4B | YELLOW |
static const Color4B | BLUE |
static const Color4B | GREEN |
static const Color4B | RED |
static const Color4B | MAGENTA |
static const Color4B | BLACK |
static const Color4B | ORANGE |
static const Color4B | GRAY |
RGBA color composed of 4 bytes.
Color4B | ( | ) |
Color4B | ( | GLubyte | _r, |
GLubyte | _g, | ||
GLubyte | _b, | ||
GLubyte | _a | ||
) |
bool operator!= | ( | const Color4B & | right | ) | const |
bool operator!= | ( | const Color3B & | right | ) | const |
bool operator!= | ( | const Color4F & | right | ) | const |
bool operator== | ( | const Color4B & | right | ) | const |
bool operator== | ( | const Color3B & | right | ) | const |
bool operator== | ( | const Color4F & | right | ) | const |
GLubyte a |
GLubyte b |
|
static |
|
static |
GLubyte g |
|
static |
|
static |
|
static |
|
static |
GLubyte r |
|
static |
|
static |
|
static |