⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.
|
Axmol Engine 3.0.0-ff0e11a
|
the MeshIndexData class. More...
#include <MeshVertexIndexData.h>
Inherits Object.
Public Member Functions | |
| rhi::Buffer * | getIndexBuffer () const |
| get index buffer | |
| rhi::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 | |
| Public Member Functions inherited from Object | |
| 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, rhi::Buffer *indexbuffer, const AABB &aabb) |
| create | |
Additional Inherited Members | |
| Public Attributes inherited from Object | |
| 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. @lua NA