Axmol Engine 2.4.0-258ceca
Loading...
Searching...
No Matches
MeshVertexData Class Reference

the MeshVertexData class. More...

#include <MeshVertexIndexData.h>

Inherits Object.

Public Member Functions

backend::BuffergetVertexBuffer () const
 get vertexbuffer
 
ssize_t getMeshVertexAttribCount () const
 get attributes count
 
const MeshVertexAttribgetMeshVertexAttrib (ssize_t index) const
 get attribute by index
 
ssize_t getMeshIndexDataCount () const
 get index data count
 
MeshIndexDatagetMeshIndexDataByIndex (int index) const
 get index data by index
 
MeshIndexDatagetMeshIndexDataById (std::string_view id) const
 get index data by id
 
bool hasVertexAttrib (shaderinfos::VertexKey attrib) const
 has vertex attribute?
 
- Public Member Functions inherited from Object
void retain ()
 Retains the ownership.
 
void release ()
 Releases the ownership immediately.
 
Objectautorelease ()
 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 MeshVertexDatacreate (const MeshData &meshdata, CustomCommand::IndexFormat format=CustomCommand::IndexFormat::U_SHORT)
 create
 

Additional Inherited Members

- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID
 
int _luaID
 Lua reference id.
 

Detailed Description

the MeshVertexData class.

the MeshVertexData contain all of the vertices data which mesh need.


The documentation for this class was generated from the following file: