Axmol 3.0.0-89d6d9a
Loading...
Searching...
No Matches
MeshIndexData Class Reference

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.
uint64_t getObjectID () const noexcept
 Returns the process-local diagnostic identifier assigned at construction.
virtual ~Object ()
 Destructor.

Static Public Member Functions

static MeshIndexData * create (std::string_view id, MeshVertexData *vertexData, rhi::Buffer *indexbuffer, const AABB &aabb)
 create

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