the MeshIndexData class. More...
Inherits Ref.
Public Member Functions | |
const IndexBuffer * | getIndexBuffer () const |
get index buffer | |
const VertexBuffer * | getVertexBuffer () const |
get vertex buffer | |
const MeshVertexData * | getMeshVertexData () const |
get vertex data | |
void | setAABB (const AABB &aabb) |
aabb getter and setter | |
void | setId (const std::string &id) |
id setter and getter | |
GLenum | getPrimitiveType () const |
primitive type setter & getter | |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
local | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
local | getReferenceCount () |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Destructor. More... | |
Static Public Member Functions | |
static MeshIndexData * | create (const std::string &id, MeshVertexData *vertexData, IndexBuffer *indexbuffer, const AABB &aabb) |
create | |
Additional Inherited Members | |
Public Attributes inherited from Ref | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
local | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
local | _luaID |
Lua reference id. | |
void * | _scriptObject |
scriptObject, support for swift | |
local | _scriptObject |
scriptObject, support for swift | |
bool | _rooted |
When true, it means that the object was already rooted. | |
local | _rooted |
When true, it means that the object was already rooted. | |
the MeshIndexData class.
the MeshIndexData contain all of the indices data which mesh need.