Axmol Engine 2.4.0-258ceca
|
the MeshIndexData class. More...
#include <MeshVertexIndexData.h>
Inherits Object.
Public Member Functions | |
backend::Buffer * | getIndexBuffer () const |
get index buffer | |
backend::Buffer * | getVertexBuffer () const |
get vertex buffer | |
const MeshVertexData * | getMeshVertexData () const |
get vertex data | |
void | setAABB (const AABB &aabb) |
aabb getter and setter | |
void | setId (std::string_view id) |
id setter and getter | |
MeshCommand::PrimitiveType | getPrimitiveType () const |
primitive type setter & getter | |
![]() | |
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 MeshIndexData * | create (std::string_view id, MeshVertexData *vertexData, backend::Buffer *indexbuffer, const AABB &aabb) |
create | |
Additional Inherited Members | |
![]() | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
the MeshIndexData class.
the MeshIndexData contain all of the indices data which mesh need. @js NA @lua NA