the MeshVertexData class. More...
Inherits Ref.
Public Member Functions | |
backend::Buffer * | getVertexBuffer () const |
get vertexbuffer | |
ssize_t | getMeshVertexAttribCount () const |
get attributes count | |
const MeshVertexAttrib & | getMeshVertexAttrib (ssize_t index) const |
get attribute by index | |
ssize_t | getMeshIndexDataCount () const |
get index data count | |
MeshIndexData * | getMeshIndexDataByIndex (int index) const |
get index data by index | |
MeshIndexData * | getMeshIndexDataById (const std::string &id) const |
get index data by id | |
bool | hasVertexAttrib (shaderinfos::VertexKey attrib) const |
has vertex attribute? | |
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 () |
Destructor. More... | |
Static Public Member Functions | |
static MeshVertexData * | create (const MeshData &meshdata) |
create | |
Additional Inherited Members | |
Public Attributes inherited from Ref | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
void * | _scriptObject |
scriptObject, support for swift | |
bool | _rooted |
When true, it means that the object was already rooted. | |
the MeshVertexData class.
the MeshVertexData contain all of the vertices data which mesh need.