|
Axmol 3.0.0-89d6d9a
|
the MeshVertexData class. More...
#include <MeshVertexIndexData.h>
Inherits Object.
Public Member Functions | |
| rhi::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 (MeshVertexAttribute attrib) const |
| has vertex attribute? | |
| 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. | |
| uint64_t | getObjectID () const noexcept |
| Returns the process-local diagnostic identifier assigned at construction. | |
| virtual | ~Object () |
| Destructor. | |
Static Public Member Functions | |
| static MeshVertexData * | create (const MeshData &meshdata, CustomCommand::IndexFormat format=CustomCommand::IndexFormat::U_SHORT) |
| create | |
the MeshVertexData class.
the MeshVertexData contain all of the vertices data which mesh need.