#include <PolygonBatch.h>
Public Member Functions | |
| void | add (const cocos2d::Texture2D *texture, const float *vertices, const float *uvs, int verticesCount, const int *triangles, int trianglesCount, cocos2d::Color4B *color) |
| void | flush () |
Public Member Functions inherited from Ref | |
| void | retain () |
| Retains the ownership. More... | |
| void | release () |
| Releases the ownership immediately. More... | |
| Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More... | |
| unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More... | |
| virtual | ~Ref () |
Static Public Member Functions | |
| static PolygonBatch * | createWithCapacity (ssize_t capacity) |
Protected Member Functions | |
| PolygonBatch () | |
| virtual | ~PolygonBatch () |
| local | ~PolygonBatch () |
| bool | initWithCapacity (ssize_t capacity) |
| var | initWithCapacity ( var capacity) |
| local | initWithCapacity ( local capacity) |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
| Ref () | |
| Constructor. More... | |
Protected Attributes | |
| ssize_t | _capacity |
| cocos2d::V2F_C4B_T2F * | _vertices |
| int | _verticesCount |
| GLushort * | _triangles |
| int | _trianglesCount |
| const cocos2d::Texture2D * | _texture |
Protected Attributes inherited from Ref | |
| unsigned int | _referenceCount |
| count of references More... | |
| var | _referenceCount |
| count of references More... | |
| local | _referenceCount |
| count of references More... | |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
| void add | ( | const cocos2d::Texture2D * | texture, |
| const float * | vertices, | ||
| const float * | uvs, | ||
| int | verticesCount, | ||
| const int * | triangles, | ||
| int | trianglesCount, | ||
| cocos2d::Color4B * | color | ||
| ) |
| var add | ( | var | texture, |
| var | vertices, | ||
| var | uvs, | ||
| var | verticesCount, | ||
| var | triangles, | ||
| var | trianglesCount, | ||
| var | color | ||
| ) |
| local add | ( | local | texture, |
| local | vertices, | ||
| local | uvs, | ||
| local | verticesCount, | ||
| local | triangles, | ||
| local | trianglesCount, | ||
| local | color | ||
| ) |
|
static |
|
static |
|
static |
| void flush | ( | ) |
| var flush | ( | ) |
| local flush | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |