the MeshVertexData class. More...
Inherits Ref.
Public Member Functions | |
const VertexBuffer * | getVertexBuffer () const |
get vertexbuffer | |
ssize_t | getMeshVertexAttribCount () const |
get attributes count | |
local | getMeshVertexAttribCount () |
get attributes count | |
const MeshVertexAttrib & | getMeshVertexAttrib (ssize_t index) const |
get attribute by index | |
var | getMeshVertexAttrib ( var index) |
get attribute by index | |
local | getMeshVertexAttrib ( local index) |
get attribute by index | |
ssize_t | getMeshIndexDataCount () const |
get index data count | |
local | getMeshIndexDataCount () |
get index data count | |
MeshIndexData * | getMeshIndexDataByIndex (int index) const |
get index data by index | |
local | getMeshIndexDataByIndex ( local index) |
get index data by index | |
MeshIndexData * | getMeshIndexDataById (const std::string &id) const |
get index data by id | |
bool | hasVertexAttrib (int attrib) const |
has vertex attribute? | |
var | hasVertexAttrib ( var attrib) |
has vertex attribute? | |
local | hasVertexAttrib ( local attrib) |
has vertex attribute? | |
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 MeshVertexData * | create (const MeshData &meshdata) |
create | |
var | create ( var meshdata) |
create | |
local | create ( local meshdata) |
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 MeshVertexData class.
the MeshIndexData contain all of the vertices data which mesh need.