Axmol Engine 2.4.0-258ceca
|
the MeshVertexData class. More...
#include <MeshVertexIndexData.h>
Inherits Object.
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 (std::string_view id) const |
get index data by id | |
bool | hasVertexAttrib (shaderinfos::VertexKey attrib) const |
has vertex attribute? | |
![]() | |
void | retain () |
Retains the ownership. | |
void | release () |
Releases the ownership immediately. | |
Object * | autorelease () |
Releases the ownership sometime soon automatically. | |
unsigned int | getReferenceCount () const |
Returns the Object's current reference count. | |
virtual | ~Object () |
Destructor. | |
Static Public Member Functions | |
static MeshVertexData * | create (const MeshData &meshdata, CustomCommand::IndexFormat format=CustomCommand::IndexFormat::U_SHORT) |
create | |
Additional Inherited Members | |
![]() | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
the MeshVertexData class.
the MeshVertexData contain all of the vertices data which mesh need.