|
cocos2d-x
3.3
|
#include <CCPrimitive.h>
Public Member Functions | |
| const VertexData * | getVertexData () const |
| const IndexBuffer * | getIndexData () const |
| int | getType () const |
| void | draw () |
| int | getStart () const |
| int | getCount () const |
| void | setStart (int start) |
| void | setCount (int count) |
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 () |
| NA NA More... | |
Static Public Member Functions | |
| static Primitive * | create (VertexData *verts, IndexBuffer *indices, int type) |
Protected Member Functions | |
| Primitive () | |
| virtual | ~Primitive () |
| bool | init (VertexData *verts, IndexBuffer *indices, int type) |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
Protected Attributes | |
| VertexData * | _verts |
| IndexBuffer * | _indices |
| int | _start |
| int | _count |
| int | _type |
Protected Attributes inherited from Ref | |
| unsigned int | _referenceCount |
| count of references More... | |
|
protected |
|
protectedvirtual |
|
static |
| void draw | ( | ) |
|
inline |
| const IndexBuffer* getIndexData | ( | ) | const |
|
inline |
|
inline |
| const VertexData* getVertexData | ( | ) | const |
|
protected |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |