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