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

the MeshIndexData class. More...

#include <MeshVertexIndexData.h>

Inherits Object.

Public Member Functions

backend::BuffergetIndexBuffer () const
 get index buffer
 
backend::BuffergetVertexBuffer () const
 get vertex buffer
 
const MeshVertexDatagetMeshVertexData () 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.
 
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 MeshIndexDatacreate (std::string_view id, MeshVertexData *vertexData, backend::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.
 

Detailed Description

the MeshIndexData class.

the MeshIndexData contain all of the indices data which mesh need. @js NA @lua NA


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