#include <CCMeshVertexIndexData.h>
Public Member Functions | |
| const VertexBuffer * | getVertexBuffer () const |
| get vertexbuffer More... | |
| ssize_t | getMeshVertexAttribCount () const |
| get attributes count More... | |
| const MeshVertexAttrib & | getMeshVertexAttrib (ssize_t index) const |
| get attribute by index More... | |
| ssize_t | getMeshIndexDataCount () const |
| get index data count More... | |
| MeshIndexData * | getMeshIndexDataByIndex (int index) const |
| get index data by index More... | |
| MeshIndexData * | getMeshIndexDataById (const std::string &id) const |
| get index data by id More... | |
| bool | hasVertexAttrib (int attrib) const |
| has vertex attribute? More... | |
| virtual | ~MeshVertexData () |
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 MeshVertexData * | create (const MeshData &meshdata) |
| create More... | |
Public Attributes | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: MeshVertexData() |
Protected Attributes | |
| VertexData * | _vertexData |
| VertexBuffer * | _vertexBuffer |
| Vector< MeshIndexData * > | _indexs |
| std::vector< MeshVertexAttrib > | _attribs |
| int | _vertexCount |
Protected Attributes inherited from Ref | |
| unsigned int | _referenceCount |
| count of references More... | |
| var | _referenceCount |
| count of references More... | |
| local | _referenceCount |
| count of references More... | |
Friends | |
| class | Sprite3D |
| class | Mesh |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
| Ref () | |
| Constructor. More... | |
|
virtual |
|
static |
create
| MeshIndexData* getMeshIndexDataById | ( | const std::string & | id | ) | const |
get index data by id
|
inline |
get index data by index
|
inline |
get index data count
|
inline |
get attribute by index
|
inline |
get attributes count
|
inline |
get vertexbuffer
| bool hasVertexAttrib | ( | int | attrib | ) | const |
has vertex attribute?
|
friend |
|
friend |
| CC_CONSTRUCTOR_ACCESS __pad0__ |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |