⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.

Axmol Engine 3.0.0-ff0e11a
Loading...
Searching...
No Matches
MeshIndexData Class Reference

the MeshIndexData class. More...

#include <MeshVertexIndexData.h>

Inherits Object.

Public Member Functions

rhi::BuffergetIndexBuffer () const
 get index buffer
rhi::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, 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.

Detailed Description

the MeshIndexData class.

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


The documentation for this class was generated from the following file:
  • MeshVertexIndexData.h