cocos2d-x  3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ccTypes.h File Reference
#include <string>
#include "CCGeometry.h"
#include "CCGL.h"

Classes

struct  Color3B
 RGB color composed of bytes 3 bytes. More...
 
struct  Color4B
 RGBA color composed of 4 bytes. More...
 
struct  Color4F
 RGBA color composed of 4 floats. More...
 
struct  Vertex2F
 A vertex composed of 2 floats: x, y. More...
 
struct  Vertex3F
 A vertex composed of 2 floats: x, y. More...
 
struct  Tex2F
 A texcoord composed of 2 floats: u, y. More...
 
struct  PointSprite
 Point Sprite component. More...
 
struct  Quad2
 A 2D Quad. 4 * 2 floats. More...
 
struct  Quad3
 A 3D Quad. 4 * 3 floats. More...
 
struct  V2F_C4B_T2F
 a Point with a vertex point, a tex coord point and a color 4B More...
 
struct  V2F_C4F_T2F
 a Point with a vertex point, a tex coord point and a color 4F More...
 
struct  V3F_C4B_T2F
 a Point with a vertex point, a tex coord point and a color 4B More...
 
struct  V2F_C4B_T2F_Triangle
 A Triangle of V2F_C4B_T2F. More...
 
struct  V2F_C4B_T2F_Quad
 A Quad of V2F_C4B_T2F. More...
 
struct  V3F_C4B_T2F_Quad
 4 Vertex3FTex2FColor4B More...
 
struct  V2F_C4F_T2F_Quad
 4 Vertex2FTex2FColor4F Quad More...
 
struct  BlendFunc
 Blend Function used for textures. More...
 
struct  T2F_Quad
 
struct  AnimationFrameData
 
struct  FontShadow
 types used for defining fonts properties (i.e. More...
 
struct  FontStroke
 
struct  FontDefinition
 
class  Acceleration
 The device accelerometer reports values for each axis in units of g-force. More...
 

Namespaces

 cocos2d
 Add deprecated global functions and variables here.
 

Constant Groups

 cocos2d
 Add deprecated global functions and variables here.
 

Enumerations

enum  TextVAlignment { TOP, CENTER, BOTTOM }
 Vertical text alignment type. More...
 
enum  TextHAlignment { LEFT, CENTER, RIGHT }
 Horizontal text alignment type. More...
 

Variables

const ssize_t CC_INVALID_INDEX