cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Color3B Struct Reference

RGB color composed of bytes 3 bytes. More...

#include <ccTypes.h>

Public Member Functions

 Color3B ()
 Color3B ()
 Color3B ()
 Color3B (GLubyte _r, GLubyte _g, GLubyte _b)
 Color3B ( var _r, var _g, var _b)
 Color3B ( local _r, local _g, local _b)
 Color3B (const Color4B &color)
 Color3B ( local color)
 Color3B (const Color4F &color)
 Color3B ( var color)
 Color3B ( local color)
bool operator== (const Color3B &right) const
var operator== ( var right)
local operator== ( local right)
bool operator== (const Color4B &right) const
var operator== ( var right)
local operator== ( local right)
bool operator== (const Color4F &right) const
var operator== ( var right)
local operator== ( local right)
bool operator!= (const Color3B &right) const
var operator!= ( var right)
local operator!= ( local right)
bool operator!= (const Color4B &right) const
var operator!= ( var right)
local operator!= ( local right)
bool operator!= (const Color4F &right) const
var operator!= ( var right)
local operator!= ( local right)
bool equals (const Color3B &other)
var equals ( var other)
local equals ( local other)

Public Attributes

GLubyte r
local r
GLubyte g
var g
local g
GLubyte b
var b
local b

Static Public Attributes

static const Color3B WHITE
var WHITE
local WHITE
static const Color3B YELLOW
var YELLOW
local YELLOW
static const Color3B BLUE
var BLUE
local BLUE
static const Color3B GREEN
var GREEN
local GREEN
static const Color3B RED
var RED
local RED
static const Color3B MAGENTA
var MAGENTA
local MAGENTA
static const Color3B BLACK
var BLACK
local BLACK
static const Color3B ORANGE
var ORANGE
local ORANGE
static const Color3B GRAY
var GRAY
local GRAY

Detailed Description

RGB color composed of bytes 3 bytes.

Since
v3.0

Constructor & Destructor Documentation

Color3B ( )
var Color3B ( )
local Color3B ( )
Color3B ( GLubyte  _r,
GLubyte  _g,
GLubyte  _b 
)
var Color3B ( var  _r,
var  _g,
var  _b 
)
local Color3B ( local  _r,
local  _g,
local  _b 
)
Color3B ( const Color4B color)
explicit
var Color3B ( var  color)
explicit
local Color3B ( local  color)
explicit
Color3B ( const Color4F color)
explicit
var Color3B ( var  color)
explicit
local Color3B ( local  color)
explicit

Member Function Documentation

bool equals ( const Color3B other)
inline
var equals ( var  other)
inline
local equals ( local  other)
inline
bool operator!= ( const Color3B right) const
bool operator!= ( var  right)
bool operator!= ( local  right)
bool operator!= ( const Color4B right) const
bool operator!= ( var  right)
bool operator!= ( local  right)
bool operator!= ( const Color4F right) const
bool operator!= ( var  right)
bool operator!= ( local  right)
bool operator== ( const Color3B right) const
bool operator== ( var  right)
bool operator== ( local  right)
bool operator== ( const Color4B right) const
bool operator== ( var  right)
bool operator== ( local  right)
bool operator== ( const Color4F right) const
bool operator== ( var  right)
bool operator== ( local  right)

Member Data Documentation

GLubyte b
var b
local b
const Color3B BLACK
static
var BLACK
static
local BLACK
static
const Color3B BLUE
static
var BLUE
static
local BLUE
static
GLubyte g
var g
local g
const Color3B GRAY
static
var GRAY
static
local GRAY
static
const Color3B GREEN
static
var GREEN
static
local GREEN
static
const Color3B MAGENTA
static
var MAGENTA
static
local MAGENTA
static
const Color3B ORANGE
static
var ORANGE
static
local ORANGE
static
GLubyte r
var r
local r
const Color3B RED
static
var RED
static
local RED
static
const Color3B WHITE
static
var WHITE
static
local WHITE
static
const Color3B YELLOW
static
var YELLOW
static
local YELLOW
static

The documentation for this struct was generated from the following file: