|
cocos2d-x
3.3
|
RGB color composed of bytes 3 bytes. More...
#include <ccTypes.h>
Public Member Functions | |
| Color3B () | |
| Color3B (GLubyte _r, GLubyte _g, GLubyte _b) | |
| Color3B (const Color4B &color) | |
| Color3B (const Color4F &color) | |
| bool | operator== (const Color3B &right) const |
| bool | operator== (const Color4B &right) const |
| bool | operator== (const Color4F &right) const |
| bool | operator!= (const Color3B &right) const |
| bool | operator!= (const Color4B &right) const |
| bool | operator!= (const Color4F &right) const |
| bool | equals (const Color3B &other) |
Public Attributes | |
| GLubyte | r |
| GLubyte | g |
| GLubyte | b |
Static Public Attributes | |
| static const Color3B | WHITE |
| static const Color3B | YELLOW |
| static const Color3B | BLUE |
| static const Color3B | GREEN |
| static const Color3B | RED |
| static const Color3B | MAGENTA |
| static const Color3B | BLACK |
| static const Color3B | ORANGE |
| static const Color3B | GRAY |
RGB color composed of bytes 3 bytes.
| Color3B | ( | ) |
| Color3B | ( | GLubyte | _r, |
| GLubyte | _g, | ||
| GLubyte | _b | ||
| ) |
|
inline |
| bool operator!= | ( | const Color3B & | right | ) | const |
| bool operator!= | ( | const Color4B & | right | ) | const |
| bool operator!= | ( | const Color4F & | right | ) | const |
| bool operator== | ( | const Color3B & | right | ) | const |
| bool operator== | ( | const Color4B & | right | ) | const |
| bool operator== | ( | const Color4F & | right | ) | const |
| GLubyte b |
|
static |
|
static |
| GLubyte g |
|
static |
|
static |
|
static |
|
static |
| GLubyte r |
|
static |
|
static |
|
static |