cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Data Structures

Files

file  CCVertex.h
 

Namespaces

 cocos2d
 Add deprecated global functions and variables here.
 
 cocos2d::StringUtils
 

Classes

class  DataVisitor
 Visitor that helps to perform action that depends on polymorphic object type. More...
 
class  PrettyPrinter
 
class  Map< K, V >
 
class  __Array
 
class  __Bool
 
class  DictElement
 DictElement is used for traversing Dictionary. More...
 
class  __Dictionary
 Dictionary is a class like NSDictionary in Obj-C . More...
 
class  __Double
 
class  __Float
 
class  __Integer
 
class  __Set
 
class  __String
 
struct  StringCompare
 
class  Size
 
class  Rect
 

Macros

#define CCARRAY_FOREACH(__array__, __object__)
 A convenience macro to iterate over a Array using. More...
 
#define CCARRAY_FOREACH_REVERSE(__array__, __object__)
 
#define CCARRAY_VERIFY_TYPE(__array__, __type__)   void(0)
 
#define arrayMakeObjectsPerformSelector(pArray, func, elementType)
 
#define arrayMakeObjectsPerformSelectorWithObject(pArray, func, object, elementType)
 
#define CCLabelTTF   LabelTTF
 
#define CCLabelBMFont   LabelBMFont
 
#define kCCLabelAutomaticWidth   kLabelAutomaticWidth
 
#define kCCTMXTileHorizontalFlag   kTMXTileHorizontalFlag
 
#define kCCTMXTileVerticalFlag   kTMXTileVerticalFlag
 
#define kCCTMXTileDiagonalFlag   kTMXTileDiagonalFlag
 
#define kCCFlipedAll   kFlipedAll
 
#define kCCFlippedMask   kTMXFlippedMask
 
#define CCDICT_FOREACH(__dict__, __el__)
 The macro for traversing dictionary. More...
 
#define StringMake(str)   String::create(str)
 
#define ccs   StringMake
 

Typedefs

typedef Ref CCObject
 
typedef Ref Object
 
typedef Event CCEvent
 
typedef DataVisitor CCDataVisitor
 
typedef PrettyPrinter CCPrettyPrinter
 
typedef Acceleration CCAcceleration
 
typedef TextureAtlas CCTextureAtlas
 
typedef Configuration CCConfiguration
 
typedef PointArray CCPointArray
 
typedef RemoveSelf CCRemoveSelf
 
typedef IMEDelegate CCIMEDelegate
 
typedef IMEKeyboardNotificationInfo CCIMEKeyboardNotificationInfo
 
typedef TextFieldDelegate CCTextFieldDelegate
 
typedef TextFieldTTF CCTextFieldTTF
 
typedef __NotificationCenter CCNotificationCenter
 
typedef __NotificationCenter NotificationCenter
 
typedef Image CCImage
 
typedef UserDefault CCUserDefault
 
typedef Action CCAction
 
typedef FiniteTimeAction CCFiniteTimeAction
 
typedef Speed CCSpeed
 
typedef Follow CCFollow
 
typedef GLProgram CCGLProgram
 
typedef Touch CCTouch
 
typedef Texture2D CCTexture2D
 
typedef Node CCNode
 
typedef Node CCNodeRGBA
 
typedef Node CCRGBAProtocol
 
typedef SpriteFrame CCSpriteFrame
 
typedef AnimationFrame CCAnimationFrame
 
typedef Animation CCAnimation
 
typedef ActionInterval CCActionInterval
 
typedef Sequence CCSequence
 
typedef Repeat CCRepeat
 
typedef RepeatForever CCRepeatForever
 
typedef Spawn CCSpawn
 
typedef RotateTo CCRotateTo
 
typedef RotateBy CCRotateBy
 
typedef MoveBy CCMoveBy
 
typedef MoveTo CCMoveTo
 
typedef SkewTo CCSkewTo
 
typedef SkewBy CCSkewBy
 
typedef JumpBy CCJumpBy
 
typedef JumpTo CCJumpTo
 
typedef BezierBy CCBezierBy
 
typedef BezierTo CCBezierTo
 
typedef ScaleTo CCScaleTo
 
typedef ScaleBy CCScaleBy
 
typedef Blink CCBlink
 
typedef FadeIn CCFadeIn
 
typedef FadeOut CCFadeOut
 
typedef FadeTo CCFadeTo
 
typedef TintTo CCTintTo
 
typedef TintBy CCTintBy
 
typedef DelayTime CCDelayTime
 
typedef Animate CCAnimate
 
typedef TargetedAction CCTargetedAction
 
typedef ActionCamera CCActionCamera
 
typedef OrbitCamera CCOrbitCamera
 
typedef ActionManager CCActionManager
 
typedef ActionEase CCActionEase
 
typedef EaseRateAction CCEaseRateAction
 
typedef EaseIn CCEaseIn
 
typedef EaseOut CCEaseOut
 
typedef EaseInOut CCEaseInOut
 
typedef EaseExponentialIn CCEaseExponentialIn
 
typedef EaseExponentialOut CCEaseExponentialOut
 
typedef EaseExponentialInOut CCEaseExponentialInOut
 
typedef EaseSineIn CCEaseSineIn
 
typedef EaseSineOut CCEaseSineOut
 
typedef EaseSineInOut CCEaseSineInOut
 
typedef EaseElastic CCEaseElastic
 
typedef EaseElasticIn CCEaseElasticIn
 
typedef EaseElasticOut CCEaseElasticOut
 
typedef EaseElasticInOut CCEaseElasticInOut
 
typedef EaseBounce CCEaseBounce
 
typedef EaseBounceIn CCEaseBounceIn
 
typedef EaseBounceOut CCEaseBounceOut
 
typedef EaseBounceInOut CCEaseBounceInOut
 
typedef EaseBackIn CCEaseBackIn
 
typedef EaseBackOut CCEaseBackOut
 
typedef EaseBackInOut CCEaseBackInOut
 
typedef ActionInstant CCActionInstant
 
typedef Show CCShow
 
typedef Hide CCHide
 
typedef ToggleVisibility CCToggleVisibility
 
typedef FlipX CCFlipX
 
typedef FlipY CCFlipY
 
typedef Place CCPlace
 
typedef CallFunc CCCallFunc
 
typedef CallFuncN CCCallFuncN
 
typedef __CCCallFuncND CCCallFuncND
 
typedef __CCCallFuncO CCCallFuncO
 
typedef GridAction CCGridAction
 
typedef Grid3DAction CCGrid3DAction
 
typedef TiledGrid3DAction CCTiledGrid3DAction
 
typedef StopGrid CCStopGrid
 
typedef ReuseGrid CCReuseGrid
 
typedef Waves3D CCWaves3D
 
typedef FlipX3D CCFlipX3D
 
typedef FlipY3D CCFlipY3D
 
typedef Lens3D CCLens3D
 
typedef Ripple3D CCRipple3D
 
typedef Shaky3D CCShaky3D
 
typedef Liquid CCLiquid
 
typedef Waves CCWaves
 
typedef Twirl CCTwirl
 
typedef PageTurn3D CCPageTurn3D
 
typedef ProgressTo CCProgressTo
 
typedef ProgressFromTo CCProgressFromTo
 
typedef ShakyTiles3D CCShakyTiles3D
 
typedef ShatteredTiles3D CCShatteredTiles3D
 
typedef ShuffleTiles CCShuffleTiles
 
typedef FadeOutTRTiles CCFadeOutTRTiles
 
typedef FadeOutBLTiles CCFadeOutBLTiles
 
typedef FadeOutUpTiles CCFadeOutUpTiles
 
typedef FadeOutDownTiles CCFadeOutDownTiles
 
typedef TurnOffTiles CCTurnOffTiles
 
typedef WavesTiles3D CCWavesTiles3D
 
typedef JumpTiles3D CCJumpTiles3D
 
typedef SplitRows CCSplitRows
 
typedef SplitCols CCSplitCols
 
typedef ActionTween CCActionTween
 
typedef CardinalSplineTo CCCardinalSplineTo
 
typedef CardinalSplineBy CCCardinalSplineBy
 
typedef CatmullRomTo CCCatmullRomTo
 
typedef CatmullRomBy CCCatmullRomBy
 
typedef AtlasNode CCAtlasNode
 
typedef TextureProtocol CCTextureProtocol
 
typedef BlendProtocol CCBlendProtocol
 
typedef DrawNode CCDrawNode
 
typedef Camera CCCamera
 
typedef LabelAtlas CCLabelAtlas
 
typedef LabelProtocol CCLabelProtocol
 
typedef Director CCDirector
 
typedef GridBase CCGridBase
 
typedef Grid3D CCGrid3D
 
typedef TiledGrid3D CCTiledGrid3D
 
typedef Sprite CCSprite
 
typedef SpriteBatchNode CCSpriteBatchNode
 
typedef Layer CCLayer
 
typedef Layer CCLayerRGBA
 
typedef LayerColor CCLayerColor
 
typedef LayerGradient CCLayerGradient
 
typedef LayerMultiplex CCLayerMultiplex
 
typedef Scene CCScene
 
typedef TransitionEaseScene CCTransitionEaseScene
 
typedef TransitionScene CCTransitionScene
 
typedef TransitionSceneOriented CCTransitionSceneOriented
 
typedef TransitionRotoZoom CCTransitionRotoZoom
 
typedef TransitionJumpZoom CCTransitionJumpZoom
 
typedef TransitionMoveInL CCTransitionMoveInL
 
typedef TransitionMoveInR CCTransitionMoveInR
 
typedef TransitionMoveInT CCTransitionMoveInT
 
typedef TransitionMoveInB CCTransitionMoveInB
 
typedef TransitionSlideInL CCTransitionSlideInL
 
typedef TransitionSlideInR CCTransitionSlideInR
 
typedef TransitionSlideInB CCTransitionSlideInB
 
typedef TransitionSlideInT CCTransitionSlideInT
 
typedef TransitionShrinkGrow CCTransitionShrinkGrow
 
typedef TransitionFlipX CCTransitionFlipX
 
typedef TransitionFlipY CCTransitionFlipY
 
typedef TransitionFlipAngular CCTransitionFlipAngular
 
typedef TransitionZoomFlipX CCTransitionZoomFlipX
 
typedef TransitionZoomFlipY CCTransitionZoomFlipY
 
typedef TransitionZoomFlipAngular CCTransitionZoomFlipAngular
 
typedef TransitionFade CCTransitionFade
 
typedef TransitionCrossFade CCTransitionCrossFade
 
typedef TransitionTurnOffTiles CCTransitionTurnOffTiles
 
typedef TransitionSplitCols CCTransitionSplitCols
 
typedef TransitionSplitRows CCTransitionSplitRows
 
typedef TransitionFadeTR CCTransitionFadeTR
 
typedef TransitionFadeBL CCTransitionFadeBL
 
typedef TransitionFadeUp CCTransitionFadeUp
 
typedef TransitionFadeDown CCTransitionFadeDown
 
typedef TransitionPageTurn CCTransitionPageTurn
 
typedef TransitionProgress CCTransitionProgress
 
typedef TransitionProgressRadialCCW CCTransitionProgressRadialCCW
 
typedef TransitionProgressRadialCW CCTransitionProgressRadialCW
 
typedef
TransitionProgressHorizontal 
CCTransitionProgressHorizontal
 
typedef TransitionProgressVertical CCTransitionProgressVertical
 
typedef TransitionProgressInOut CCTransitionProgressInOut
 
typedef TransitionProgressOutIn CCTransitionProgressOutIn
 
typedef MenuItem CCMenuItem
 
typedef MenuItemLabel CCMenuItemLabel
 
typedef MenuItemAtlasFont CCMenuItemAtlasFont
 
typedef MenuItemFont CCMenuItemFont
 
typedef MenuItemSprite CCMenuItemSprite
 
typedef MenuItemImage CCMenuItemImage
 
typedef MenuItemToggle CCMenuItemToggle
 
typedef Menu CCMenu
 
typedef ClippingNode CCClippingNode
 
typedef MotionStreak CCMotionStreak
 
typedef ProgressTimer CCProgressTimer
 
typedef RenderTexture CCRenderTexture
 
typedef ParticleBatchNode CCParticleBatchNode
 
typedef ParticleSystem CCParticleSystem
 
typedef ParticleSystemQuad CCParticleSystemQuad
 
typedef ParticleFire CCParticleFire
 
typedef ParticleFireworks CCParticleFireworks
 
typedef ParticleSun CCParticleSun
 
typedef ParticleGalaxy CCParticleGalaxy
 
typedef ParticleFlower CCParticleFlower
 
typedef ParticleMeteor CCParticleMeteor
 
typedef ParticleSpiral CCParticleSpiral
 
typedef ParticleExplosion CCParticleExplosion
 
typedef ParticleSmoke CCParticleSmoke
 
typedef ParticleSnow CCParticleSnow
 
typedef ParticleRain CCParticleRain
 
typedef FileUtils CCFileUtils
 
typedef Application CCApplication
 
typedef GLProgramCache CCShaderCache
 
typedef GLProgramCache ShaderCache
 
typedef AnimationCache CCAnimationCache
 
typedef SpriteFrameCache CCSpriteFrameCache
 
typedef TextureCache CCTextureCache
 
typedef ParallaxNode CCParallaxNode
 
typedef TMXObjectGroup CCTMXObjectGroup
 
typedef TMXLayerInfo CCTMXLayerInfo
 
typedef TMXTilesetInfo CCTMXTilesetInfo
 
typedef TMXMapInfo CCTMXMapInfo
 
typedef TMXLayer CCTMXLayer
 
typedef TMXTiledMap CCTMXTiledMap
 
typedef TileMapAtlas CCTileMapAtlas
 
typedef Timer CCTimer
 
typedef Scheduler CCScheduler
 
typedef GLView CCEGLView
 
typedef Component CCComponent
 
typedef AffineTransform CCAffineTransform
 
typedef Vec2 CCPoint
 
typedef Size CCSize
 
typedef Rect CCRect
 
typedef Color3B ccColor3B
 
typedef Color4F ccColor4F
 
typedef Color4B ccColor4B
 
typedef Vec2 ccVertex2F
 
typedef Vec2 Vertex2F
 
typedef Vec3 ccVertex3F
 
typedef Vec3 Vertex3F
 
typedef Tex2F ccTex2F
 
typedef PointSprite ccPointSprite
 
typedef Quad2 ccQuad2
 
typedef Quad3 ccQuad3
 
typedef V2F_C4B_T2F ccV2F_C4B_T2F
 
typedef V2F_C4F_T2F ccV2F_C4F_T2F
 
typedef V3F_C4B_T2F ccV3F_C4B_T2F
 
typedef V2F_C4B_T2F_Triangle ccV2F_C4B_T2F_Triangle
 
typedef V2F_C4B_T2F_Quad ccV2F_C4B_T2F_Quad
 
typedef V3F_C4B_T2F_Quad ccV3F_C4B_T2F_Quad
 
typedef V2F_C4F_T2F_Quad ccV2F_C4F_T2F_Quad
 
typedef BlendFunc ccBlendFunc
 
typedef T2F_Quad ccT2F_Quad
 
typedef AnimationFrameData ccAnimationFrameData
 
typedef FontShadow ccFontShadow
 
typedef FontStroke ccFontStroke
 
typedef FontDefinition ccFontDefinition
 
typedef TextVAlignment CCVerticalTextAlignment
 
typedef TextHAlignment CCTextAlignment
 
typedef ProgressTimer::Type CCProgressTimerType
 
typedef void * CCZone
 
typedef ProgressTimer::Type ProgressTimerType
 
typedef Director::Projection ccDirectorProjection
 Possible OpenGL projections used by director. More...
 
typedef Texture2D::PixelFormat CCTexture2DPixelFormat
 
typedef
ParticleSystem::PositionType 
tPositionType
 
typedef Menu::State tMenuState
 
typedef Touch::DispatchMode ccTouchesMode
 
typedef Image::Format tImageFormat
 
typedef
TransitionScene::Orientation 
tOrientation
 
typedef LanguageType ccLanguageType
 
typedef Application::Platform TargetPlatform
 
typedef int ccGLServerState
 
typedef Data CCData
 
typedef __Set CCSet
 
typedef __SetIterator CCSetIterator
 
typedef __Set Set
 
typedef __SetIterator SetIterator
 
typedef __Array CCArray
 
typedef __Array Array
 
typedef __Dictionary Dictionary
 
typedef __Dictionary CCDictionary
 
typedef __Double Double
 
typedef __Double CCDouble
 
typedef __Float Float
 
typedef __Float CCFloat
 
typedef __Integer Integer
 
typedef __Integer CCInteger
 
typedef __Bool Bool
 
typedef __Bool CCBool
 
typedef __String CCString
 
typedef __String String
 
typedef __RGBAProtocol RGBAProtocol
 
typedef __NodeRGBA NodeRGBA
 
typedef __LayerRGBA LayerRGBA
 
typedef float kmScalar
 
typedef Mat4 kmMat4
 
typedef Vec3 kmVec3
 
typedef Vec2 kmVec2
 
typedef Vec4 kmVec4
 
typedef std::set< Ref * >::iterator __SetIterator
 

Functions

Rect CC_DLL RectFromString (const std::string &str)
 Returns a Core Graphics rectangle structure corresponding to the data in a given string. More...
 
Vec2 CC_DLL PointFromString (const std::string &str)
 Returns a Core Graphics point structure corresponding to the data in a given string. More...
 
Size CC_DLL SizeFromString (const std::string &str)
 Returns a Core Graphics size structure corresponding to the data in a given string. More...
 
Vec2 ccp (float x, float y)
 Helper macro that creates a Vec2. More...
 
Vec2 CCPointMake (float x, float y)
 
Size CCSizeMake (float width, float height)
 
Rect CCRectMake (float x, float y, float width, float height)
 
void CC_DLL CCLog (const char *pszFormat,...) CC_FORMAT_PRINTF(1
 use log() instead More...
 
void CC_DLL void CC_DLL ccDrawInit ()
 
void CC_DLL ccDrawFree ()
 
void CC_DLL ccDrawPoint (const Vec2 &point)
 
void CC_DLL ccDrawPoints (const Vec2 *points, unsigned int numberOfPoints)
 
void CC_DLL ccDrawLine (const Vec2 &origin, const Vec2 &destination)
 
void CC_DLL ccDrawRect (Vec2 origin, Vec2 destination)
 
void CC_DLL ccDrawSolidRect (Vec2 origin, Vec2 destination, Color4F color)
 
void CC_DLL ccDrawPoly (const Vec2 *vertices, unsigned int numOfVertices, bool closePolygon)
 
void CC_DLL ccDrawSolidPoly (const Vec2 *poli, unsigned int numberOfPoints, Color4F color)
 
void CC_DLL ccDrawCircle (const Vec2 &center, float radius, float angle, unsigned int segments, bool drawLineToCenter, float scaleX, float scaleY)
 
void CC_DLL ccDrawCircle (const Vec2 &center, float radius, float angle, unsigned int segments, bool drawLineToCenter)
 
void CC_DLL ccDrawSolidCircle (const Vec2 &center, float radius, float angle, unsigned int segments, float scaleX, float scaleY)
 
void CC_DLL ccDrawSolidCircle (const Vec2 &center, float radius, float angle, unsigned int segments)
 
void CC_DLL ccDrawQuadBezier (const Vec2 &origin, const Vec2 &control, const Vec2 &destination, unsigned int segments)
 
void CC_DLL ccDrawCubicBezier (const Vec2 &origin, const Vec2 &control1, const Vec2 &control2, const Vec2 &destination, unsigned int segments)
 
void CC_DLL ccDrawCatmullRom (PointArray *arrayOfControlPoints, unsigned int segments)
 
void CC_DLL ccDrawCardinalSpline (PointArray *config, float tension, unsigned int segments)
 
void CC_DLL ccDrawColor4B (GLubyte r, GLubyte g, GLubyte b, GLubyte a)
 
void CC_DLL ccDrawColor4F (GLfloat r, GLfloat g, GLfloat b, GLfloat a)
 
void CC_DLL ccPointSize (GLfloat pointSize)
 
void CC_DLL ccGLInvalidateStateCache ()
 
void CC_DLL ccGLUseProgram (GLuint program)
 
void CC_DLL ccGLDeleteProgram (GLuint program)
 
void CC_DLL ccGLBlendFunc (GLenum sfactor, GLenum dfactor)
 
void CC_DLL ccGLBlendResetToCache ()
 
void CC_DLL ccSetProjectionMatrixDirty ()
 
void CC_DLL ccGLEnableVertexAttribs (unsigned int flags)
 
void CC_DLL ccGLBindTexture2D (GLuint textureId)
 
void CC_DLL ccGLBindTexture2DN (GLuint textureUnit, GLuint textureId)
 
void CC_DLL ccGLDeleteTexture (GLuint textureId)
 
void CC_DLL ccGLDeleteTextureN (GLuint textureUnit, GLuint textureId)
 
void CC_DLL ccGLBindVAO (GLuint vaoId)
 
void CC_DLL ccGLEnable (int flags)
 
void CC_DLL kmGLFreeAll (void)
 
void CC_DLL kmGLPushMatrix (void)
 
void CC_DLL kmGLPopMatrix (void)
 
void CC_DLL kmGLMatrixMode (unsigned int mode)
 
void CC_DLL kmGLLoadIdentity (void)
 
void CC_DLL kmGLLoadMatrix (const Mat4 *pIn)
 
void CC_DLL kmGLMultMatrix (const Mat4 *pIn)
 
void CC_DLL kmGLTranslatef (float x, float y, float z)
 
void CC_DLL kmGLRotatef (float angle, float x, float y, float z)
 
void CC_DLL kmGLScalef (float x, float y, float z)
 
void CC_DLL kmGLGetMatrix (unsigned int mode, Mat4 *pOut)
 
CC_DLL Mat4kmMat4Fill (Mat4 *pOut, const float *pMat)
 
CC_DLL Mat4kmMat4Assign (Mat4 *pOut, const Mat4 *pIn)
 
CC_DLL Mat4kmMat4Identity (Mat4 *pOut)
 
CC_DLL Mat4kmMat4Inverse (Mat4 *pOut, const Mat4 *pM)
 
CC_DLL Mat4kmMat4Transpose (Mat4 *pOut, const Mat4 *pIn)
 
CC_DLL Mat4kmMat4Multiply (Mat4 *pOut, const Mat4 *pM1, const Mat4 *pM2)
 
CC_DLL Mat4kmMat4Translation (Mat4 *pOut, const float x, const float y, const float z)
 
CC_DLL Mat4kmMat4RotationX (Mat4 *pOut, const float radians)
 
CC_DLL Mat4kmMat4RotationY (Mat4 *pOut, const float radians)
 
CC_DLL Mat4kmMat4RotationZ (Mat4 *pOut, const float radians)
 
CC_DLL Mat4kmMat4RotationAxisAngle (Mat4 *pOut, const Vec3 *axis, float radians)
 
CC_DLL Mat4kmMat4Scaling (Mat4 *pOut, const float x, const float y, const float z)
 
CC_DLL Mat4kmMat4PerspectiveProjection (Mat4 *pOut, float fovY, float aspect, float zNear, float zFar)
 
CC_DLL Mat4kmMat4OrthographicProjection (Mat4 *pOut, float left, float right, float bottom, float top, float nearVal, float farVal)
 
CC_DLL Mat4kmMat4LookAt (Mat4 *pOut, const Vec3 *pEye, const Vec3 *pCenter, const Vec3 *pUp)
 
CC_DLL Vec3kmVec3Fill (Vec3 *pOut, float x, float y, float z)
 
CC_DLL float kmVec3Length (const Vec3 *pIn)
 
CC_DLL float kmVec3LengthSq (const Vec3 *pIn)
 
CC_DLL Vec3kmVec3Lerp (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2, float t)
 
CC_DLL Vec3kmVec3Normalize (Vec3 *pOut, const Vec3 *pIn)
 
CC_DLL Vec3kmVec3Cross (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2)
 
CC_DLL float kmVec3Dot (const Vec3 *pV1, const Vec3 *pV2)
 
CC_DLL Vec3kmVec3Add (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2)
 
CC_DLL Vec3kmVec3Subtract (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2)
 
CC_DLL Vec3kmVec3Transform (Vec3 *pOut, const Vec3 *pV1, const Mat4 *pM)
 
CC_DLL Vec3kmVec3TransformNormal (Vec3 *pOut, const Vec3 *pV, const Mat4 *pM)
 
CC_DLL Vec3kmVec3TransformCoord (Vec3 *pOut, const Vec3 *pV, const Mat4 *pM)
 
CC_DLL Vec3kmVec3Scale (Vec3 *pOut, const Vec3 *pIn, const float s)
 
CC_DLL Vec3kmVec3Assign (Vec3 *pOut, const Vec3 *pIn)
 
CC_DLL Vec3kmVec3Zero (Vec3 *pOut)
 
CC_DLL Vec2kmVec2Fill (Vec2 *pOut, float x, float y)
 
CC_DLL float kmVec2Length (const Vec2 *pIn)
 
CC_DLL float kmVec2LengthSq (const Vec2 *pIn)
 
CC_DLL Vec2kmVec2Normalize (Vec2 *pOut, const Vec2 *pIn)
 
CC_DLL Vec2kmVec2Lerp (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2, float t)
 
CC_DLL Vec2kmVec2Add (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2)
 
CC_DLL float kmVec2Dot (const Vec2 *pV1, const Vec2 *pV2)
 
CC_DLL Vec2kmVec2Subtract (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2)
 
CC_DLL Vec2kmVec2Scale (Vec2 *pOut, const Vec2 *pIn, const float s)
 
CC_DLL Vec2kmVec2Assign (Vec2 *pOut, const Vec2 *pIn)
 
CC_DLL Vec4kmVec4Fill (Vec4 *pOut, float x, float y, float z, float w)
 
CC_DLL Vec4kmVec4Add (Vec4 *pOut, const Vec4 *pV1, const Vec4 *pV2)
 
CC_DLL float kmVec4Dot (const Vec4 *pV1, const Vec4 *pV2)
 
CC_DLL float kmVec4Length (const Vec4 *pIn)
 
CC_DLL float kmVec4LengthSq (const Vec4 *pIn)
 
CC_DLL Vec4kmVec4Lerp (Vec4 *pOut, const Vec4 *pV1, const Vec4 *pV2, float t)
 
CC_DLL Vec4kmVec4Normalize (Vec4 *pOut, const Vec4 *pIn)
 
CC_DLL Vec4kmVec4Scale (Vec4 *pOut, const Vec4 *pIn, const float s)
 
CC_DLL Vec4kmVec4Subtract (Vec4 *pOut, const Vec4 *pV1, const Vec4 *pV2)
 
CC_DLL Vec4kmVec4Assign (Vec4 *pOut, const Vec4 *pIn)
 
CC_DLL Vec4kmVec4MultiplyMat4 (Vec4 *pOut, const Vec4 *pV, const Mat4 *pM)
 
CC_DLL Vec4kmVec4Transform (Vec4 *pOut, const Vec4 *pV, const Mat4 *pM)
 
void CC_DLL ccVertexLineToPolygon (Vec2 *points, float stroke, Vec2 *vertices, unsigned int offset, unsigned int nuPoints)
 converts a line to a polygon More...
 
bool CC_DLL ccVertexLineIntersect (float Ax, float Ay, float Bx, float By, float Cx, float Cy, float Dx, float Dy, float *T)
 returns whether or not the line intersects More...
 

Variables

const Vec2 CCPointZero
 
const Size CCSizeZero
 
const Rect CCRectZero
 
const Color3B ccWHITE
 
const Color3B ccYELLOW
 
const Color3B ccGREEN
 
const Color3B ccBLUE
 
const Color3B ccRED
 
const Color3B ccMAGENTA
 
const Color3B ccBLACK
 
const Color3B ccORANGE
 
const Color3B ccGRAY
 
const BlendFunc kCCBlendFuncDisable
 
const int kCCVertexAttrib_Position = GLProgram::VERTEX_ATTRIB_POSITION
 
const int kCCVertexAttrib_Color = GLProgram::VERTEX_ATTRIB_COLOR
 
const int kCCVertexAttrib_TexCoords = GLProgram::VERTEX_ATTRIB_TEX_COORD
 
const int kCCVertexAttrib_MAX = GLProgram::VERTEX_ATTRIB_MAX
 
const int kCCUniformPMatrix = GLProgram::UNIFORM_P_MATRIX
 
const int kCCUniformMVMatrix = GLProgram::UNIFORM_MV_MATRIX
 
const int kCCUniformMVPMatrix = GLProgram::UNIFORM_MVP_MATRIX
 
const int kCCUniformTime = GLProgram::UNIFORM_TIME
 
const int kCCUniformSinTime = GLProgram::UNIFORM_SIN_TIME
 
const int kCCUniformCosTime = GLProgram::UNIFORM_COS_TIME
 
const int kCCUniformRandom01 = GLProgram::UNIFORM_RANDOM01
 
const int kCCUniformSampler = GLProgram::UNIFORM_SAMPLER0
 
const int kCCUniform_MAX = GLProgram::UNIFORM_MAX
 
const char * kCCShader_PositionTextureColor
 
const char * kCCShader_PositionTextureColorAlphaTest
 
const char * kCCShader_PositionColor
 
const char * kCCShader_PositionTexture
 
const char * kCCShader_PositionTexture_uColor
 
const char * kCCShader_PositionTextureA8Color
 
const char * kCCShader_Position_uColor
 
const char * kCCShader_PositionLengthTexureColor
 
const char * kCCUniformPMatrix_s
 
const char * kCCUniformMVMatrix_s
 
const char * kCCUniformMVPMatrix_s
 
const char * kCCUniformTime_s
 
const char * kCCUniformSinTime_s
 
const char * kCCUniformCosTime_s
 
const char * kCCUniformRandom01_s
 
const char * kCCUniformSampler_s
 
const char * kCCUniformAlphaTestValue
 
const char * kCCAttributeNameColor
 
const char * kCCAttributeNamePosition
 
const char * kCCAttributeNameTexCoord
 
const int kCCVertexAttribFlag_None = GL::VERTEX_ATTRIB_FLAG_NONE
 
const int kCCVertexAttribFlag_Position = GL::VERTEX_ATTRIB_FLAG_POSITION
 
const int kCCVertexAttribFlag_Color = GL::VERTEX_ATTRIB_FLAG_COLOR
 
const int kCCVertexAttribFlag_TexCoords = GL::VERTEX_ATTRIB_FLAG_TEX_COORD
 
const int kCCVertexAttribFlag_PosColorTex = GL::VERTEX_ATTRIB_FLAG_POS_COLOR_TEX
 
const ProgressTimer::Type kCCProgressTimerTypeRadial = ProgressTimer::Type::RADIAL
 
const ProgressTimer::Type kCCProgressTimerTypeBar = ProgressTimer::Type::BAR
 
const Director::Projection kCCDirectorProjection2D = Director::Projection::_2D
 
const Director::Projection kCCDirectorProjection3D = Director::Projection::_3D
 
const Director::Projection kCCDirectorProjectionCustom = Director::Projection::CUSTOM
 
const Director::Projection kCCDirectorProjectionDefault = Director::Projection::DEFAULT
 
const TextVAlignment kCCVerticalTextAlignmentTop = TextVAlignment::TOP
 
const TextVAlignment kCCVerticalTextAlignmentCenter = TextVAlignment::CENTER
 
const TextVAlignment kCCVerticalTextAlignmentBottom = TextVAlignment::BOTTOM
 
const TextHAlignment kCCTextAlignmentLeft = TextHAlignment::LEFT
 
const TextHAlignment kCCTextAlignmentCenter = TextHAlignment::CENTER
 
const TextHAlignment kCCTextAlignmentRight = TextHAlignment::RIGHT
 
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGBA8888 = Texture2D::PixelFormat::RGBA8888
 
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGB888 = Texture2D::PixelFormat::RGB888
 
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGB565 = Texture2D::PixelFormat::RGB565
 
const Texture2D::PixelFormat kCCTexture2DPixelFormat_A8 = Texture2D::PixelFormat::A8
 
const Texture2D::PixelFormat kCCTexture2DPixelFormat_I8 = Texture2D::PixelFormat::I8
 
const Texture2D::PixelFormat kCCTexture2DPixelFormat_AI88 = Texture2D::PixelFormat::AI88
 
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGBA4444 = Texture2D::PixelFormat::RGBA4444
 
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGB5A1 = Texture2D::PixelFormat::RGB5A1
 
const Texture2D::PixelFormat kCCTexture2DPixelFormat_PVRTC4 = Texture2D::PixelFormat::PVRTC4
 
const Texture2D::PixelFormat kCCTexture2DPixelFormat_PVRTC2 = Texture2D::PixelFormat::PVRTC2
 
const Texture2D::PixelFormat kCCTexture2DPixelFormat_Default = Texture2D::PixelFormat::DEFAULT
 
const int kCCParticleDurationInfinity = ParticleSystem::DURATION_INFINITY
 
const int kCCParticleStartSizeEqualToEndSize = ParticleSystem::START_SIZE_EQUAL_TO_END_SIZE
 
const int kCCParticleStartRadiusEqualToEndRadius = ParticleSystem::START_RADIUS_EQUAL_TO_END_RADIUS
 
const int kParticleDurationInfinity = ParticleSystem::DURATION_INFINITY
 
const int kParticleStartSizeEqualToEndSize = ParticleSystem::START_SIZE_EQUAL_TO_END_SIZE
 
const int kParticleStartRadiusEqualToEndRadius = ParticleSystem::START_RADIUS_EQUAL_TO_END_RADIUS
 
const ParticleSystem::Mode kCCParticleModeGravity = ParticleSystem::Mode::GRAVITY
 
const ParticleSystem::Mode kCCParticleModeRadius = ParticleSystem::Mode::RADIUS
 
const int kCCParticleDefaultCapacity = kParticleDefaultCapacity
 
const ParticleSystem::PositionType kCCPositionTypeFree = ParticleSystem::PositionType::FREE
 
const ParticleSystem::PositionType kCCPositionTypeRelative = ParticleSystem::PositionType::RELATIVE
 
const ParticleSystem::PositionType kCCPositionTypeGrouped = ParticleSystem::PositionType::GROUPED
 
const Menu::State kCCMenuStateWaiting = Menu::State::WAITING
 
const Menu::State kCCMenuStateTrackingTouch = Menu::State::TRACKING_TOUCH
 
const Touch::DispatchMode kCCTouchesOneByOne = Touch::DispatchMode::ONE_BY_ONE
 
const Touch::DispatchMode kCCTouchesAllAtOnce = Touch::DispatchMode::ALL_AT_ONCE
 
const Image::Format kCCImageFormatPNG = Image::Format::PNG
 
const Image::Format kCCImageFormatJPEG = Image::Format::JPG
 
const TransitionScene::Orientation kCCTransitionOrientationLeftOver = TransitionScene::Orientation::LEFT_OVER
 
const TransitionScene::Orientation kCCTransitionOrientationRightOver = TransitionScene::Orientation::RIGHT_OVER
 
const TransitionScene::Orientation kCCTransitionOrientationUpOver = TransitionScene::Orientation::UP_OVER
 
const TransitionScene::Orientation kCCTransitionOrientationDownOver = TransitionScene::Orientation::DOWN_OVER
 
const int kCCPrioritySystem = Scheduler::PRIORITY_SYSTEM
 
const int kCCPriorityNonSystemMin = Scheduler::PRIORITY_NON_SYSTEM_MIN
 
const int kCCActionTagInvalid = Action::INVALID_TAG
 
const int kCCNodeTagInvalid = Node::INVALID_TAG
 
const int kCCNodeOnEnter = kNodeOnEnter
 
const int kCCNodeOnExit = kNodeOnExit
 
const int kCCNodeOnEnterTransitionDidFinish = kNodeOnEnterTransitionDidFinish
 
const int kCCNodeOnExitTransitionDidStart = kNodeOnExitTransitionDidStart
 
const int kCCNodeOnCleanup = kNodeOnCleanup
 
const LanguageType kLanguageEnglish = LanguageType::ENGLISH
 
const LanguageType kLanguageChinese = LanguageType::CHINESE
 
const LanguageType kLanguageFrench = LanguageType::FRENCH
 
const LanguageType kLanguageItalian = LanguageType::ITALIAN
 
const LanguageType kLanguageGerman = LanguageType::GERMAN
 
const LanguageType kLanguageSpanish = LanguageType::SPANISH
 
const LanguageType kLanguageRussian = LanguageType::RUSSIAN
 
const LanguageType kLanguageKorean = LanguageType::KOREAN
 
const LanguageType kLanguageJapanese = LanguageType::JAPANESE
 
const LanguageType kLanguageHungarian = LanguageType::HUNGARIAN
 
const LanguageType kLanguagePortuguese = LanguageType::PORTUGUESE
 
const LanguageType kLanguageArabic = LanguageType::ARABIC
 
const LanguageType kLanguageNorwegian = LanguageType::NORWEGIAN
 
const LanguageType kLanguagePolish = LanguageType::POLISH
 
const Application::Platform kTargetWindows = Application::Platform::OS_WINDOWS
 
const Application::Platform kTargetLinux = Application::Platform::OS_LINUX
 
const Application::Platform kTargetMacOS = Application::Platform::OS_MAC
 
const Application::Platform kTargetAndroid = Application::Platform::OS_ANDROID
 
const Application::Platform kTargetIphone = Application::Platform::OS_IPHONE
 
const Application::Platform kTargetIpad = Application::Platform::OS_IPAD
 
const Application::Platform kTargetBlackBerry = Application::Platform::OS_BLACKBERRY
 
const Application::Platform kTargetNaCl = Application::Platform::OS_NACL
 
const Application::Platform kTargetEmscripten = Application::Platform::OS_EMSCRIPTEN
 
const Application::Platform kTargetTizen = Application::Platform::OS_TIZEN
 
const Application::Platform kTargetWinRT = Application::Platform::OS_WINRT
 
const Application::Platform kTargetWP8 = Application::Platform::OS_WP8
 
const ResolutionPolicy kResolutionExactFit = ResolutionPolicy::EXACT_FIT
 
const ResolutionPolicy kResolutionNoBorder = ResolutionPolicy::NO_BORDER
 
const ResolutionPolicy kResolutionShowAll = ResolutionPolicy::SHOW_ALL
 
const ResolutionPolicy kResolutionFixedHeight = ResolutionPolicy::FIXED_HEIGHT
 
const ResolutionPolicy kResolutionFixedWidth = ResolutionPolicy::FIXED_WIDTH
 
const ResolutionPolicy kResolutionUnKnown = ResolutionPolicy::UNKNOWN
 
const unsigned int KM_GL_MODELVIEW = 0x1700
 
const unsigned int KM_GL_PROJECTION = 0x1701
 
const unsigned int KM_GL_TEXTURE = 0x1702
 
const Vec3 KM_VEC3_NEG_Z
 
const Vec3 KM_VEC3_POS_Z
 
const Vec3 KM_VEC3_POS_Y
 
const Vec3 KM_VEC3_NEG_Y
 
const Vec3 KM_VEC3_NEG_X
 
const Vec3 KM_VEC3_POS_X
 
const Vec3 KM_VEC3_ZERO
 
const Vec2 KM_VEC2_POS_Y
 
const Vec2 KM_VEC2_NEG_Y
 
const Vec2 KM_VEC2_NEG_X
 
const Vec2 KM_VEC2_POS_X
 
const Vec2 KM_VEC2_ZERO
 

Detailed Description

Macro Definition Documentation

#define arrayMakeObjectsPerformSelector (   pArray,
  func,
  elementType 
)
Value:
do { \
if(pArray && pArray->count() > 0) \
{ \
Ref* child; \
CCARRAY_FOREACH(pArray, child) \
{ \
elementType pNode = static_cast<elementType>(child); \
if(pNode) \
{ \
pNode->func(); \
} \
} \
} \
} \
while(false)
#define CCARRAY_FOREACH(__array__, __object__)
A convenience macro to iterate over a Array using.
Definition: CCArray.h:169
#define arrayMakeObjectsPerformSelectorWithObject (   pArray,
  func,
  object,
  elementType 
)
Value:
do { \
if(pArray && pArray->count() > 0) \
{ \
Ref* child; \
CCARRAY_FOREACH(pArray, child) \
{ \
elementType pNode = static_cast<elementType>(child); \
if(pNode) \
{ \
pNode->func(object); \
} \
} \
} \
} \
while(false)
#define CCARRAY_FOREACH(__array__, __object__)
A convenience macro to iterate over a Array using.
Definition: CCArray.h:169
#define CCARRAY_FOREACH (   __array__,
  __object__ 
)
Value:
if ((__array__) && (__array__)->data->num > 0) \
for(Ref** __arr__ = (__array__)->data->arr, **__end__ = (__array__)->data->arr + (__array__)->data->num-1; \
__arr__ <= __end__ && (((__object__) = *__arr__) != NULL/* || true*/); \
__arr__++)
#define NULL
Definition: CCPlatformDefine-android.h:61

A convenience macro to iterate over a Array using.

It is faster than the "fast enumeration" interface.

Since
v0.99.4
#define CCARRAY_FOREACH_REVERSE (   __array__,
  __object__ 
)
Value:
if ((__array__) && (__array__)->data->num > 0) \
for(Ref** __arr__ = (__array__)->data->arr + (__array__)->data->num-1, **__end__ = (__array__)->data->arr; \
__arr__ >= __end__ && (((__object__) = *__arr__) != NULL/* || true*/); \
__arr__--)
#define NULL
Definition: CCPlatformDefine-android.h:61
#define CCARRAY_VERIFY_TYPE (   __array__,
  __type__ 
)    void(0)
#define CCDICT_FOREACH (   __dict__,
  __el__ 
)
Value:
DictElement* pTmp##__dict__##__el__ = nullptr; \
if (__dict__) \
HASH_ITER(hh, (__dict__)->_elements, __el__, pTmp##__dict__##__el__)
#define HASH_ITER(hh, head, el, tmp)
Definition: uthash.h:863

The macro for traversing dictionary.

Note
It's faster than getting all keys and traversing keys to get objects by objectForKey. It's also safe to remove elements while traversing.
#define CCLabelBMFont   LabelBMFont
#define CCLabelTTF   LabelTTF
#define ccs   StringMake
#define kCCFlipedAll   kFlipedAll
#define kCCFlippedMask   kTMXFlippedMask
#define kCCLabelAutomaticWidth   kLabelAutomaticWidth
#define kCCTMXTileDiagonalFlag   kTMXTileDiagonalFlag
#define kCCTMXTileHorizontalFlag   kTMXTileHorizontalFlag
#define kCCTMXTileVerticalFlag   kTMXTileVerticalFlag
#define StringMake (   str)    String::create(str)

Typedef Documentation

typedef std::set<Ref *>::iterator __SetIterator
typedef __Array Array
typedef __Bool Bool
typedef Acceleration CCAcceleration
typedef Action CCAction
typedef ActionCamera CCActionCamera
typedef ActionEase CCActionEase
typedef ActionInstant CCActionInstant
typedef ActionInterval CCActionInterval
typedef ActionManager CCActionManager
typedef ActionTween CCActionTween
typedef AffineTransform CCAffineTransform
typedef Animate CCAnimate
typedef Animation CCAnimation
typedef AnimationCache CCAnimationCache
typedef AnimationFrame CCAnimationFrame
typedef AnimationFrameData ccAnimationFrameData
typedef Application CCApplication
typedef __Array CCArray
typedef AtlasNode CCAtlasNode
typedef BezierBy CCBezierBy
typedef BezierTo CCBezierTo
typedef BlendFunc ccBlendFunc
typedef BlendProtocol CCBlendProtocol
typedef Blink CCBlink
typedef __Bool CCBool
typedef CallFunc CCCallFunc
typedef CallFuncN CCCallFuncN
typedef __CCCallFuncND CCCallFuncND
typedef __CCCallFuncO CCCallFuncO
typedef Camera CCCamera
typedef CardinalSplineBy CCCardinalSplineBy
typedef CardinalSplineTo CCCardinalSplineTo
typedef CatmullRomBy CCCatmullRomBy
typedef CatmullRomTo CCCatmullRomTo
typedef ClippingNode CCClippingNode
typedef Color3B ccColor3B
typedef Color4B ccColor4B
typedef Color4F ccColor4F
typedef Component CCComponent
typedef Configuration CCConfiguration
typedef Data CCData
typedef DataVisitor CCDataVisitor
typedef DelayTime CCDelayTime
typedef __Dictionary CCDictionary
typedef Director CCDirector
ccDirectorProjection

Possible OpenGL projections used by director.

typedef __Double CCDouble
typedef DrawNode CCDrawNode
typedef EaseBackIn CCEaseBackIn
typedef EaseBackInOut CCEaseBackInOut
typedef EaseBackOut CCEaseBackOut
typedef EaseBounce CCEaseBounce
typedef EaseBounceIn CCEaseBounceIn
typedef EaseBounceInOut CCEaseBounceInOut
typedef EaseBounceOut CCEaseBounceOut
typedef EaseElastic CCEaseElastic
typedef EaseElasticIn CCEaseElasticIn
typedef EaseElasticInOut CCEaseElasticInOut
typedef EaseElasticOut CCEaseElasticOut
typedef EaseExponentialIn CCEaseExponentialIn
typedef EaseExponentialInOut CCEaseExponentialInOut
typedef EaseExponentialOut CCEaseExponentialOut
typedef EaseIn CCEaseIn
typedef EaseInOut CCEaseInOut
typedef EaseOut CCEaseOut
typedef EaseRateAction CCEaseRateAction
typedef EaseSineIn CCEaseSineIn
typedef EaseSineInOut CCEaseSineInOut
typedef EaseSineOut CCEaseSineOut
typedef GLView CCEGLView
typedef Event CCEvent
typedef FadeIn CCFadeIn
typedef FadeOut CCFadeOut
typedef FadeOutBLTiles CCFadeOutBLTiles
typedef FadeOutDownTiles CCFadeOutDownTiles
typedef FadeOutTRTiles CCFadeOutTRTiles
typedef FadeOutUpTiles CCFadeOutUpTiles
typedef FadeTo CCFadeTo
typedef FileUtils CCFileUtils
typedef FiniteTimeAction CCFiniteTimeAction
typedef FlipX CCFlipX
typedef FlipX3D CCFlipX3D
typedef FlipY CCFlipY
typedef FlipY3D CCFlipY3D
typedef __Float CCFloat
typedef Follow CCFollow
typedef FontDefinition ccFontDefinition
typedef FontShadow ccFontShadow
typedef FontStroke ccFontStroke
typedef GLProgram CCGLProgram
typedef int ccGLServerState
typedef Grid3D CCGrid3D
typedef Grid3DAction CCGrid3DAction
typedef GridAction CCGridAction
typedef GridBase CCGridBase
typedef Hide CCHide
typedef Image CCImage
typedef IMEDelegate CCIMEDelegate
typedef IMEKeyboardNotificationInfo CCIMEKeyboardNotificationInfo
typedef __Integer CCInteger
typedef JumpBy CCJumpBy
typedef JumpTiles3D CCJumpTiles3D
typedef JumpTo CCJumpTo
typedef LabelAtlas CCLabelAtlas
typedef LabelProtocol CCLabelProtocol
typedef LanguageType ccLanguageType
typedef Layer CCLayer
typedef LayerColor CCLayerColor
typedef LayerGradient CCLayerGradient
typedef LayerMultiplex CCLayerMultiplex
typedef Layer CCLayerRGBA
typedef Lens3D CCLens3D
typedef Liquid CCLiquid
typedef Menu CCMenu
typedef MenuItem CCMenuItem
typedef MenuItemAtlasFont CCMenuItemAtlasFont
typedef MenuItemFont CCMenuItemFont
typedef MenuItemImage CCMenuItemImage
typedef MenuItemLabel CCMenuItemLabel
typedef MenuItemSprite CCMenuItemSprite
typedef MenuItemToggle CCMenuItemToggle
typedef MotionStreak CCMotionStreak
typedef MoveBy CCMoveBy
typedef MoveTo CCMoveTo
typedef Node CCNode
typedef Node CCNodeRGBA
typedef __NotificationCenter CCNotificationCenter
typedef Ref CCObject
typedef OrbitCamera CCOrbitCamera
typedef PageTurn3D CCPageTurn3D
typedef ParallaxNode CCParallaxNode
typedef ParticleBatchNode CCParticleBatchNode
typedef ParticleExplosion CCParticleExplosion
typedef ParticleFire CCParticleFire
typedef ParticleFireworks CCParticleFireworks
typedef ParticleFlower CCParticleFlower
typedef ParticleGalaxy CCParticleGalaxy
typedef ParticleMeteor CCParticleMeteor
typedef ParticleRain CCParticleRain
typedef ParticleSmoke CCParticleSmoke
typedef ParticleSnow CCParticleSnow
typedef ParticleSpiral CCParticleSpiral
typedef ParticleSun CCParticleSun
typedef ParticleSystem CCParticleSystem
typedef ParticleSystemQuad CCParticleSystemQuad
typedef Place CCPlace
typedef Vec2 CCPoint
typedef PointArray CCPointArray
typedef PointSprite ccPointSprite
typedef PrettyPrinter CCPrettyPrinter
typedef ProgressFromTo CCProgressFromTo
typedef ProgressTimer CCProgressTimer
typedef ProgressTimer::Type CCProgressTimerType
typedef ProgressTo CCProgressTo
typedef Quad2 ccQuad2
typedef Quad3 ccQuad3
typedef Rect CCRect
typedef RemoveSelf CCRemoveSelf
typedef RenderTexture CCRenderTexture
typedef Repeat CCRepeat
typedef RepeatForever CCRepeatForever
typedef ReuseGrid CCReuseGrid
typedef Node CCRGBAProtocol
typedef Ripple3D CCRipple3D
typedef RotateBy CCRotateBy
typedef RotateTo CCRotateTo
typedef ScaleBy CCScaleBy
typedef ScaleTo CCScaleTo
typedef Scene CCScene
typedef Scheduler CCScheduler
typedef Sequence CCSequence
typedef __Set CCSet
typedef __SetIterator CCSetIterator
typedef GLProgramCache CCShaderCache
typedef Shaky3D CCShaky3D
typedef ShakyTiles3D CCShakyTiles3D
typedef ShatteredTiles3D CCShatteredTiles3D
typedef Show CCShow
typedef ShuffleTiles CCShuffleTiles
typedef Size CCSize
typedef SkewBy CCSkewBy
typedef SkewTo CCSkewTo
typedef Spawn CCSpawn
typedef Speed CCSpeed
typedef SplitCols CCSplitCols
typedef SplitRows CCSplitRows
typedef Sprite CCSprite
typedef SpriteBatchNode CCSpriteBatchNode
typedef SpriteFrame CCSpriteFrame
typedef SpriteFrameCache CCSpriteFrameCache
typedef StopGrid CCStopGrid
typedef __String CCString
typedef T2F_Quad ccT2F_Quad
typedef TargetedAction CCTargetedAction
typedef Tex2F ccTex2F
typedef TextHAlignment CCTextAlignment
typedef TextFieldDelegate CCTextFieldDelegate
typedef TextFieldTTF CCTextFieldTTF
typedef Texture2D CCTexture2D
typedef Texture2D::PixelFormat CCTexture2DPixelFormat
typedef TextureAtlas CCTextureAtlas
typedef TextureCache CCTextureCache
typedef TextureProtocol CCTextureProtocol
typedef TiledGrid3D CCTiledGrid3D
typedef TiledGrid3DAction CCTiledGrid3DAction
typedef TileMapAtlas CCTileMapAtlas
typedef Timer CCTimer
typedef TintBy CCTintBy
typedef TintTo CCTintTo
typedef TMXLayer CCTMXLayer
typedef TMXLayerInfo CCTMXLayerInfo
typedef TMXMapInfo CCTMXMapInfo
typedef TMXObjectGroup CCTMXObjectGroup
typedef TMXTiledMap CCTMXTiledMap
typedef TMXTilesetInfo CCTMXTilesetInfo
typedef ToggleVisibility CCToggleVisibility
typedef Touch CCTouch
typedef Touch::DispatchMode ccTouchesMode
typedef TransitionCrossFade CCTransitionCrossFade
typedef TransitionEaseScene CCTransitionEaseScene
typedef TransitionFade CCTransitionFade
typedef TransitionFadeBL CCTransitionFadeBL
typedef TransitionFadeDown CCTransitionFadeDown
typedef TransitionFadeTR CCTransitionFadeTR
typedef TransitionFadeUp CCTransitionFadeUp
typedef TransitionFlipAngular CCTransitionFlipAngular
typedef TransitionFlipX CCTransitionFlipX
typedef TransitionFlipY CCTransitionFlipY
typedef TransitionJumpZoom CCTransitionJumpZoom
typedef TransitionMoveInB CCTransitionMoveInB
typedef TransitionMoveInL CCTransitionMoveInL
typedef TransitionMoveInR CCTransitionMoveInR
typedef TransitionMoveInT CCTransitionMoveInT
typedef TransitionPageTurn CCTransitionPageTurn
typedef TransitionProgress CCTransitionProgress
typedef TransitionProgressHorizontal CCTransitionProgressHorizontal
typedef TransitionProgressInOut CCTransitionProgressInOut
typedef TransitionProgressOutIn CCTransitionProgressOutIn
typedef TransitionProgressRadialCCW CCTransitionProgressRadialCCW
typedef TransitionProgressRadialCW CCTransitionProgressRadialCW
typedef TransitionProgressVertical CCTransitionProgressVertical
typedef TransitionRotoZoom CCTransitionRotoZoom
typedef TransitionScene CCTransitionScene
typedef TransitionSceneOriented CCTransitionSceneOriented
typedef TransitionShrinkGrow CCTransitionShrinkGrow
typedef TransitionSlideInB CCTransitionSlideInB
typedef TransitionSlideInL CCTransitionSlideInL
typedef TransitionSlideInR CCTransitionSlideInR
typedef TransitionSlideInT CCTransitionSlideInT
typedef TransitionSplitCols CCTransitionSplitCols
typedef TransitionSplitRows CCTransitionSplitRows
typedef TransitionTurnOffTiles CCTransitionTurnOffTiles
typedef TransitionZoomFlipAngular CCTransitionZoomFlipAngular
typedef TransitionZoomFlipX CCTransitionZoomFlipX
typedef TransitionZoomFlipY CCTransitionZoomFlipY
typedef TurnOffTiles CCTurnOffTiles
typedef Twirl CCTwirl
typedef UserDefault CCUserDefault
typedef V2F_C4B_T2F ccV2F_C4B_T2F
typedef V2F_C4B_T2F_Quad ccV2F_C4B_T2F_Quad
typedef V2F_C4B_T2F_Triangle ccV2F_C4B_T2F_Triangle
typedef V2F_C4F_T2F ccV2F_C4F_T2F
typedef V2F_C4F_T2F_Quad ccV2F_C4F_T2F_Quad
typedef V3F_C4B_T2F ccV3F_C4B_T2F
typedef V3F_C4B_T2F_Quad ccV3F_C4B_T2F_Quad
typedef Vec2 ccVertex2F
typedef Vec3 ccVertex3F
typedef TextVAlignment CCVerticalTextAlignment
typedef Waves CCWaves
typedef Waves3D CCWaves3D
typedef WavesTiles3D CCWavesTiles3D
typedef void* CCZone
typedef __Dictionary Dictionary
typedef __Double Double
typedef __Float Float
typedef __Integer Integer
typedef Mat4 kmMat4
typedef float kmScalar
typedef Vec2 kmVec2
typedef Vec3 kmVec3
typedef Vec4 kmVec4
typedef __LayerRGBA LayerRGBA
typedef __NodeRGBA NodeRGBA
typedef __NotificationCenter NotificationCenter
typedef Ref Object
typedef ProgressTimer::Type ProgressTimerType
typedef __RGBAProtocol RGBAProtocol
typedef __Set Set
typedef __SetIterator SetIterator
typedef GLProgramCache ShaderCache
typedef __String String
typedef Application::Platform TargetPlatform
typedef Image::Format tImageFormat
typedef Menu::State tMenuState
typedef TransitionScene::Orientation tOrientation
typedef ParticleSystem::PositionType tPositionType
typedef Vec2 Vertex2F
typedef Vec3 Vertex3F

Function Documentation

void CC_DLL cocos2d::ccDrawCardinalSpline ( PointArray *  config,
float  tension,
unsigned int  segments 
)
void CC_DLL cocos2d::ccDrawCatmullRom ( PointArray *  arrayOfControlPoints,
unsigned int  segments 
)
void CC_DLL cocos2d::ccDrawCircle ( const Vec2 center,
float  radius,
float  angle,
unsigned int  segments,
bool  drawLineToCenter,
float  scaleX,
float  scaleY 
)
void CC_DLL cocos2d::ccDrawCircle ( const Vec2 center,
float  radius,
float  angle,
unsigned int  segments,
bool  drawLineToCenter 
)
void CC_DLL cocos2d::ccDrawColor4B ( GLubyte  r,
GLubyte  g,
GLubyte  b,
GLubyte  a 
)
void CC_DLL cocos2d::ccDrawColor4F ( GLfloat  r,
GLfloat  g,
GLfloat  b,
GLfloat  a 
)
void CC_DLL cocos2d::ccDrawCubicBezier ( const Vec2 origin,
const Vec2 control1,
const Vec2 control2,
const Vec2 destination,
unsigned int  segments 
)
void CC_DLL cocos2d::ccDrawFree ( )
void CC_DLL void CC_DLL cocos2d::ccDrawInit ( )
void CC_DLL cocos2d::ccDrawLine ( const Vec2 origin,
const Vec2 destination 
)
void CC_DLL cocos2d::ccDrawPoint ( const Vec2 point)
void CC_DLL cocos2d::ccDrawPoints ( const Vec2 points,
unsigned int  numberOfPoints 
)
void CC_DLL cocos2d::ccDrawPoly ( const Vec2 vertices,
unsigned int  numOfVertices,
bool  closePolygon 
)
void CC_DLL cocos2d::ccDrawQuadBezier ( const Vec2 origin,
const Vec2 control,
const Vec2 destination,
unsigned int  segments 
)
void CC_DLL cocos2d::ccDrawRect ( Vec2  origin,
Vec2  destination 
)
void CC_DLL cocos2d::ccDrawSolidCircle ( const Vec2 center,
float  radius,
float  angle,
unsigned int  segments,
float  scaleX,
float  scaleY 
)
void CC_DLL cocos2d::ccDrawSolidCircle ( const Vec2 center,
float  radius,
float  angle,
unsigned int  segments 
)
void CC_DLL cocos2d::ccDrawSolidPoly ( const Vec2 poli,
unsigned int  numberOfPoints,
Color4F  color 
)
void CC_DLL cocos2d::ccDrawSolidRect ( Vec2  origin,
Vec2  destination,
Color4F  color 
)
void CC_DLL cocos2d::ccGLBindTexture2D ( GLuint  textureId)
inline
void CC_DLL cocos2d::ccGLBindTexture2DN ( GLuint  textureUnit,
GLuint  textureId 
)
inline
void CC_DLL cocos2d::ccGLBindVAO ( GLuint  vaoId)
inline
void CC_DLL cocos2d::ccGLBlendFunc ( GLenum  sfactor,
GLenum  dfactor 
)
inline
void CC_DLL cocos2d::ccGLBlendResetToCache ( )
inline
void CC_DLL cocos2d::ccGLDeleteProgram ( GLuint  program)
inline
void CC_DLL cocos2d::ccGLDeleteTexture ( GLuint  textureId)
inline
void CC_DLL cocos2d::ccGLDeleteTextureN ( GLuint  textureUnit,
GLuint  textureId 
)
inline
void CC_DLL cocos2d::ccGLEnable ( int  flags)
inline
void CC_DLL cocos2d::ccGLEnableVertexAttribs ( unsigned int  flags)
inline
void CC_DLL cocos2d::ccGLInvalidateStateCache ( )
inline
void CC_DLL cocos2d::ccGLUseProgram ( GLuint  program)
inline
void CC_DLL cocos2d::CCLog ( const char *  pszFormat,
  ... 
)

use log() instead

Vec2 cocos2d::ccp ( float  x,
float  y 
)
inline

Helper macro that creates a Vec2.

Returns
Vec2
Since
v0.7.2
Vec2 cocos2d::CCPointMake ( float  x,
float  y 
)
inline
void CC_DLL cocos2d::ccPointSize ( GLfloat  pointSize)
Rect cocos2d::CCRectMake ( float  x,
float  y,
float  width,
float  height 
)
inline
void CC_DLL cocos2d::ccSetProjectionMatrixDirty ( )
inline
Size cocos2d::CCSizeMake ( float  width,
float  height 
)
inline
bool CC_DLL cocos2d::ccVertexLineIntersect ( float  Ax,
float  Ay,
float  Bx,
float  By,
float  Cx,
float  Cy,
float  Dx,
float  Dy,
float *  T 
)

returns whether or not the line intersects

void CC_DLL cocos2d::ccVertexLineToPolygon ( Vec2 points,
float  stroke,
Vec2 vertices,
unsigned int  offset,
unsigned int  nuPoints 
)

converts a line to a polygon

void CC_DLL cocos2d::kmGLFreeAll ( void  )
void CC_DLL cocos2d::kmGLGetMatrix ( unsigned int  mode,
Mat4 pOut 
)
void CC_DLL cocos2d::kmGLLoadIdentity ( void  )
void CC_DLL cocos2d::kmGLLoadMatrix ( const Mat4 pIn)
void CC_DLL cocos2d::kmGLMatrixMode ( unsigned int  mode)
void CC_DLL cocos2d::kmGLMultMatrix ( const Mat4 pIn)
void CC_DLL cocos2d::kmGLPopMatrix ( void  )
void CC_DLL cocos2d::kmGLPushMatrix ( void  )
void CC_DLL cocos2d::kmGLRotatef ( float  angle,
float  x,
float  y,
float  z 
)
void CC_DLL cocos2d::kmGLScalef ( float  x,
float  y,
float  z 
)
void CC_DLL cocos2d::kmGLTranslatef ( float  x,
float  y,
float  z 
)
CC_DLL Mat4* cocos2d::kmMat4Assign ( Mat4 pOut,
const Mat4 pIn 
)
CC_DLL Mat4* cocos2d::kmMat4Fill ( Mat4 pOut,
const float *  pMat 
)
CC_DLL Mat4* cocos2d::kmMat4Identity ( Mat4 pOut)
CC_DLL Mat4* cocos2d::kmMat4Inverse ( Mat4 pOut,
const Mat4 pM 
)
CC_DLL Mat4* cocos2d::kmMat4LookAt ( Mat4 pOut,
const Vec3 pEye,
const Vec3 pCenter,
const Vec3 pUp 
)
CC_DLL Mat4* cocos2d::kmMat4Multiply ( Mat4 pOut,
const Mat4 pM1,
const Mat4 pM2 
)
CC_DLL Mat4* cocos2d::kmMat4OrthographicProjection ( Mat4 pOut,
float  left,
float  right,
float  bottom,
float  top,
float  nearVal,
float  farVal 
)
CC_DLL Mat4* cocos2d::kmMat4PerspectiveProjection ( Mat4 pOut,
float  fovY,
float  aspect,
float  zNear,
float  zFar 
)
CC_DLL Mat4* cocos2d::kmMat4RotationAxisAngle ( Mat4 pOut,
const Vec3 axis,
float  radians 
)
CC_DLL Mat4* cocos2d::kmMat4RotationX ( Mat4 pOut,
const float  radians 
)
CC_DLL Mat4* cocos2d::kmMat4RotationY ( Mat4 pOut,
const float  radians 
)
CC_DLL Mat4* cocos2d::kmMat4RotationZ ( Mat4 pOut,
const float  radians 
)
CC_DLL Mat4* cocos2d::kmMat4Scaling ( Mat4 pOut,
const float  x,
const float  y,
const float  z 
)
CC_DLL Mat4* cocos2d::kmMat4Translation ( Mat4 pOut,
const float  x,
const float  y,
const float  z 
)
CC_DLL Mat4* cocos2d::kmMat4Transpose ( Mat4 pOut,
const Mat4 pIn 
)
CC_DLL Vec2* cocos2d::kmVec2Add ( Vec2 pOut,
const Vec2 pV1,
const Vec2 pV2 
)
CC_DLL Vec2* cocos2d::kmVec2Assign ( Vec2 pOut,
const Vec2 pIn 
)
CC_DLL float cocos2d::kmVec2Dot ( const Vec2 pV1,
const Vec2 pV2 
)
CC_DLL Vec2* cocos2d::kmVec2Fill ( Vec2 pOut,
float  x,
float  y 
)
CC_DLL float cocos2d::kmVec2Length ( const Vec2 pIn)
CC_DLL float cocos2d::kmVec2LengthSq ( const Vec2 pIn)
CC_DLL Vec2* cocos2d::kmVec2Lerp ( Vec2 pOut,
const Vec2 pV1,
const Vec2 pV2,
float  t 
)
CC_DLL Vec2* cocos2d::kmVec2Normalize ( Vec2 pOut,
const Vec2 pIn 
)
CC_DLL Vec2* cocos2d::kmVec2Scale ( Vec2 pOut,
const Vec2 pIn,
const float  s 
)
CC_DLL Vec2* cocos2d::kmVec2Subtract ( Vec2 pOut,
const Vec2 pV1,
const Vec2 pV2 
)
CC_DLL Vec3* cocos2d::kmVec3Add ( Vec3 pOut,
const Vec3 pV1,
const Vec3 pV2 
)
CC_DLL Vec3* cocos2d::kmVec3Assign ( Vec3 pOut,
const Vec3 pIn 
)
CC_DLL Vec3* cocos2d::kmVec3Cross ( Vec3 pOut,
const Vec3 pV1,
const Vec3 pV2 
)
CC_DLL float cocos2d::kmVec3Dot ( const Vec3 pV1,
const Vec3 pV2 
)
CC_DLL Vec3* cocos2d::kmVec3Fill ( Vec3 pOut,
float  x,
float  y,
float  z 
)
CC_DLL float cocos2d::kmVec3Length ( const Vec3 pIn)
CC_DLL float cocos2d::kmVec3LengthSq ( const Vec3 pIn)
CC_DLL Vec3* cocos2d::kmVec3Lerp ( Vec3 pOut,
const Vec3 pV1,
const Vec3 pV2,
float  t 
)
CC_DLL Vec3* cocos2d::kmVec3Normalize ( Vec3 pOut,
const Vec3 pIn 
)
CC_DLL Vec3* cocos2d::kmVec3Scale ( Vec3 pOut,
const Vec3 pIn,
const float  s 
)
CC_DLL Vec3* cocos2d::kmVec3Subtract ( Vec3 pOut,
const Vec3 pV1,
const Vec3 pV2 
)
CC_DLL Vec3* cocos2d::kmVec3Transform ( Vec3 pOut,
const Vec3 pV1,
const Mat4 pM 
)
CC_DLL Vec3* cocos2d::kmVec3TransformCoord ( Vec3 pOut,
const Vec3 pV,
const Mat4 pM 
)
CC_DLL Vec3* cocos2d::kmVec3TransformNormal ( Vec3 pOut,
const Vec3 pV,
const Mat4 pM 
)
CC_DLL Vec3* cocos2d::kmVec3Zero ( Vec3 pOut)
CC_DLL Vec4* cocos2d::kmVec4Add ( Vec4 pOut,
const Vec4 pV1,
const Vec4 pV2 
)
CC_DLL Vec4* cocos2d::kmVec4Assign ( Vec4 pOut,
const Vec4 pIn 
)
CC_DLL float cocos2d::kmVec4Dot ( const Vec4 pV1,
const Vec4 pV2 
)
CC_DLL Vec4* cocos2d::kmVec4Fill ( Vec4 pOut,
float  x,
float  y,
float  z,
float  w 
)
CC_DLL float cocos2d::kmVec4Length ( const Vec4 pIn)
CC_DLL float cocos2d::kmVec4LengthSq ( const Vec4 pIn)
CC_DLL Vec4* cocos2d::kmVec4Lerp ( Vec4 pOut,
const Vec4 pV1,
const Vec4 pV2,
float  t 
)
CC_DLL Vec4* cocos2d::kmVec4MultiplyMat4 ( Vec4 pOut,
const Vec4 pV,
const Mat4 pM 
)
CC_DLL Vec4* cocos2d::kmVec4Normalize ( Vec4 pOut,
const Vec4 pIn 
)
CC_DLL Vec4* cocos2d::kmVec4Scale ( Vec4 pOut,
const Vec4 pIn,
const float  s 
)
CC_DLL Vec4* cocos2d::kmVec4Subtract ( Vec4 pOut,
const Vec4 pV1,
const Vec4 pV2 
)
CC_DLL Vec4* cocos2d::kmVec4Transform ( Vec4 pOut,
const Vec4 pV,
const Mat4 pM 
)
Vec2 CC_DLL cocos2d::PointFromString ( const std::string &  str)

Returns a Core Graphics point structure corresponding to the data in a given string.

Parameters
pszContentA string object whose contents are of the form "{x,y}", where x is the x coordinate and y is the y coordinate. The x and y values can represent integer or float values. An example of a valid string is "{3.0,2.5}". The string is not localized, so items are always separated with a comma.
Returns
A Core Graphics structure that represents a point. If the string is not well-formed, the function returns Vec2::ZERO.
Rect CC_DLL cocos2d::RectFromString ( const std::string &  str)

Returns a Core Graphics rectangle structure corresponding to the data in a given string.

Parameters
pszContentA string object whose contents are of the form "{{x,y},{w, h}}", where x is the x coordinate, y is the y coordinate, w is the width, and h is the height. These components can represent integer or float values. An example of a valid string is "{{3,2},{4,5}}". The string is not localized, so items are always separated with a comma.
Returns
A Core Graphics structure that represents a rectangle. If the string is not well-formed, the function returns Rect::ZERO.
Size CC_DLL cocos2d::SizeFromString ( const std::string &  str)

Returns a Core Graphics size structure corresponding to the data in a given string.

Parameters
pszContentA string object whose contents are of the form "{w, h}", where w is the width and h is the height. The w and h values can be integer or float values. An example of a valid string is "{3.0,2.5}". The string is not localized, so items are always separated with a comma.
Returns
A Core Graphics structure that represents a size. If the string is not well-formed, the function returns Size::ZERO.

Variable Documentation

const Color3B ccBLACK
const Color3B ccBLUE
const Color3B ccGRAY
const Color3B ccGREEN
const Color3B ccMAGENTA
const Color3B ccORANGE
const Vec2 CCPointZero
const Rect CCRectZero
const Color3B ccRED
const Size CCSizeZero
const Color3B ccWHITE
const Color3B ccYELLOW
const int kCCActionTagInvalid = Action::INVALID_TAG
const char* kCCAttributeNameColor
const char* kCCAttributeNamePosition
const char* kCCAttributeNameTexCoord
const BlendFunc kCCBlendFuncDisable
const Director::Projection kCCDirectorProjection2D = Director::Projection::_2D
const Director::Projection kCCDirectorProjection3D = Director::Projection::_3D
const Director::Projection kCCDirectorProjectionCustom = Director::Projection::CUSTOM
const Director::Projection kCCDirectorProjectionDefault = Director::Projection::DEFAULT
const Image::Format kCCImageFormatJPEG = Image::Format::JPG
const Image::Format kCCImageFormatPNG = Image::Format::PNG
const Menu::State kCCMenuStateTrackingTouch = Menu::State::TRACKING_TOUCH
const Menu::State kCCMenuStateWaiting = Menu::State::WAITING
const int kCCNodeOnCleanup = kNodeOnCleanup
const int kCCNodeOnEnter = kNodeOnEnter
const int kCCNodeOnEnterTransitionDidFinish = kNodeOnEnterTransitionDidFinish
const int kCCNodeOnExit = kNodeOnExit
const int kCCNodeOnExitTransitionDidStart = kNodeOnExitTransitionDidStart
const int kCCNodeTagInvalid = Node::INVALID_TAG
const int kCCParticleDefaultCapacity = kParticleDefaultCapacity
const int kCCParticleDurationInfinity = ParticleSystem::DURATION_INFINITY
const ParticleSystem::Mode kCCParticleModeGravity = ParticleSystem::Mode::GRAVITY
const ParticleSystem::Mode kCCParticleModeRadius = ParticleSystem::Mode::RADIUS
const int kCCParticleStartRadiusEqualToEndRadius = ParticleSystem::START_RADIUS_EQUAL_TO_END_RADIUS
const int kCCParticleStartSizeEqualToEndSize = ParticleSystem::START_SIZE_EQUAL_TO_END_SIZE
const ParticleSystem::PositionType kCCPositionTypeFree = ParticleSystem::PositionType::FREE
const ParticleSystem::PositionType kCCPositionTypeGrouped = ParticleSystem::PositionType::GROUPED
const ParticleSystem::PositionType kCCPositionTypeRelative = ParticleSystem::PositionType::RELATIVE
const int kCCPriorityNonSystemMin = Scheduler::PRIORITY_NON_SYSTEM_MIN
const int kCCPrioritySystem = Scheduler::PRIORITY_SYSTEM
const ProgressTimer::Type kCCProgressTimerTypeBar = ProgressTimer::Type::BAR
const ProgressTimer::Type kCCProgressTimerTypeRadial = ProgressTimer::Type::RADIAL
const char* kCCShader_Position_uColor
const char* kCCShader_PositionColor
const char* kCCShader_PositionLengthTexureColor
const char* kCCShader_PositionTexture
const char* kCCShader_PositionTexture_uColor
const char* kCCShader_PositionTextureA8Color
const char* kCCShader_PositionTextureColor
const char* kCCShader_PositionTextureColorAlphaTest
const TextHAlignment kCCTextAlignmentCenter = TextHAlignment::CENTER
const TextHAlignment kCCTextAlignmentLeft = TextHAlignment::LEFT
const TextHAlignment kCCTextAlignmentRight = TextHAlignment::RIGHT
const Texture2D::PixelFormat kCCTexture2DPixelFormat_A8 = Texture2D::PixelFormat::A8
const Texture2D::PixelFormat kCCTexture2DPixelFormat_AI88 = Texture2D::PixelFormat::AI88
const Texture2D::PixelFormat kCCTexture2DPixelFormat_Default = Texture2D::PixelFormat::DEFAULT
const Texture2D::PixelFormat kCCTexture2DPixelFormat_I8 = Texture2D::PixelFormat::I8
const Texture2D::PixelFormat kCCTexture2DPixelFormat_PVRTC2 = Texture2D::PixelFormat::PVRTC2
const Texture2D::PixelFormat kCCTexture2DPixelFormat_PVRTC4 = Texture2D::PixelFormat::PVRTC4
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGB565 = Texture2D::PixelFormat::RGB565
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGB5A1 = Texture2D::PixelFormat::RGB5A1
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGB888 = Texture2D::PixelFormat::RGB888
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGBA4444 = Texture2D::PixelFormat::RGBA4444
const Texture2D::PixelFormat kCCTexture2DPixelFormat_RGBA8888 = Texture2D::PixelFormat::RGBA8888
const Touch::DispatchMode kCCTouchesAllAtOnce = Touch::DispatchMode::ALL_AT_ONCE
const Touch::DispatchMode kCCTouchesOneByOne = Touch::DispatchMode::ONE_BY_ONE
const TransitionScene::Orientation kCCTransitionOrientationDownOver = TransitionScene::Orientation::DOWN_OVER
const TransitionScene::Orientation kCCTransitionOrientationLeftOver = TransitionScene::Orientation::LEFT_OVER
const TransitionScene::Orientation kCCTransitionOrientationRightOver = TransitionScene::Orientation::RIGHT_OVER
const TransitionScene::Orientation kCCTransitionOrientationUpOver = TransitionScene::Orientation::UP_OVER
const int kCCUniform_MAX = GLProgram::UNIFORM_MAX
const char* kCCUniformAlphaTestValue
const int kCCUniformCosTime = GLProgram::UNIFORM_COS_TIME
const char* kCCUniformCosTime_s
const int kCCUniformMVMatrix = GLProgram::UNIFORM_MV_MATRIX
const char* kCCUniformMVMatrix_s
const int kCCUniformMVPMatrix = GLProgram::UNIFORM_MVP_MATRIX
const char* kCCUniformMVPMatrix_s
const int kCCUniformPMatrix = GLProgram::UNIFORM_P_MATRIX
const char* kCCUniformPMatrix_s
const int kCCUniformRandom01 = GLProgram::UNIFORM_RANDOM01
const char* kCCUniformRandom01_s
const int kCCUniformSampler = GLProgram::UNIFORM_SAMPLER0
const char* kCCUniformSampler_s
const int kCCUniformSinTime = GLProgram::UNIFORM_SIN_TIME
const char* kCCUniformSinTime_s
const int kCCUniformTime = GLProgram::UNIFORM_TIME
const char* kCCUniformTime_s
const int kCCVertexAttrib_Color = GLProgram::VERTEX_ATTRIB_COLOR
const int kCCVertexAttrib_MAX = GLProgram::VERTEX_ATTRIB_MAX
const int kCCVertexAttrib_Position = GLProgram::VERTEX_ATTRIB_POSITION
const int kCCVertexAttrib_TexCoords = GLProgram::VERTEX_ATTRIB_TEX_COORD
const int kCCVertexAttribFlag_Color = GL::VERTEX_ATTRIB_FLAG_COLOR
const int kCCVertexAttribFlag_None = GL::VERTEX_ATTRIB_FLAG_NONE
const int kCCVertexAttribFlag_PosColorTex = GL::VERTEX_ATTRIB_FLAG_POS_COLOR_TEX
const int kCCVertexAttribFlag_Position = GL::VERTEX_ATTRIB_FLAG_POSITION
const int kCCVertexAttribFlag_TexCoords = GL::VERTEX_ATTRIB_FLAG_TEX_COORD
const TextVAlignment kCCVerticalTextAlignmentBottom = TextVAlignment::BOTTOM
const TextVAlignment kCCVerticalTextAlignmentCenter = TextVAlignment::CENTER
const TextVAlignment kCCVerticalTextAlignmentTop = TextVAlignment::TOP
const LanguageType kLanguageArabic = LanguageType::ARABIC
const LanguageType kLanguageChinese = LanguageType::CHINESE
const LanguageType kLanguageEnglish = LanguageType::ENGLISH
const LanguageType kLanguageFrench = LanguageType::FRENCH
const LanguageType kLanguageGerman = LanguageType::GERMAN
const LanguageType kLanguageHungarian = LanguageType::HUNGARIAN
const LanguageType kLanguageItalian = LanguageType::ITALIAN
const LanguageType kLanguageJapanese = LanguageType::JAPANESE
const LanguageType kLanguageKorean = LanguageType::KOREAN
const LanguageType kLanguageNorwegian = LanguageType::NORWEGIAN
const LanguageType kLanguagePolish = LanguageType::POLISH
const LanguageType kLanguagePortuguese = LanguageType::PORTUGUESE
const LanguageType kLanguageRussian = LanguageType::RUSSIAN
const LanguageType kLanguageSpanish = LanguageType::SPANISH
const unsigned int KM_GL_MODELVIEW = 0x1700
const unsigned int KM_GL_PROJECTION = 0x1701
const unsigned int KM_GL_TEXTURE = 0x1702
const Vec2 KM_VEC2_NEG_X
const Vec2 KM_VEC2_NEG_Y
const Vec2 KM_VEC2_POS_X
const Vec2 KM_VEC2_POS_Y
const Vec2 KM_VEC2_ZERO
const Vec3 KM_VEC3_NEG_X
const Vec3 KM_VEC3_NEG_Y
const Vec3 KM_VEC3_NEG_Z
const Vec3 KM_VEC3_POS_X
const Vec3 KM_VEC3_POS_Y
const Vec3 KM_VEC3_POS_Z
const Vec3 KM_VEC3_ZERO
const int kParticleDurationInfinity = ParticleSystem::DURATION_INFINITY
const int kParticleStartRadiusEqualToEndRadius = ParticleSystem::START_RADIUS_EQUAL_TO_END_RADIUS
const int kParticleStartSizeEqualToEndSize = ParticleSystem::START_SIZE_EQUAL_TO_END_SIZE
const ResolutionPolicy kResolutionExactFit = ResolutionPolicy::EXACT_FIT
const ResolutionPolicy kResolutionFixedHeight = ResolutionPolicy::FIXED_HEIGHT
const ResolutionPolicy kResolutionFixedWidth = ResolutionPolicy::FIXED_WIDTH
const ResolutionPolicy kResolutionNoBorder = ResolutionPolicy::NO_BORDER
const ResolutionPolicy kResolutionShowAll = ResolutionPolicy::SHOW_ALL
const ResolutionPolicy kResolutionUnKnown = ResolutionPolicy::UNKNOWN
const Application::Platform kTargetAndroid = Application::Platform::OS_ANDROID
const Application::Platform kTargetBlackBerry = Application::Platform::OS_BLACKBERRY
const Application::Platform kTargetEmscripten = Application::Platform::OS_EMSCRIPTEN
const Application::Platform kTargetIpad = Application::Platform::OS_IPAD
const Application::Platform kTargetIphone = Application::Platform::OS_IPHONE
const Application::Platform kTargetLinux = Application::Platform::OS_LINUX
const Application::Platform kTargetMacOS = Application::Platform::OS_MAC
const Application::Platform kTargetNaCl = Application::Platform::OS_NACL
const Application::Platform kTargetTizen = Application::Platform::OS_TIZEN
const Application::Platform kTargetWindows = Application::Platform::OS_WINDOWS
const Application::Platform kTargetWinRT = Application::Platform::OS_WINRT
const Application::Platform kTargetWP8 = Application::Platform::OS_WP8