the MeshVertexData class. More...
#include <CCMeshVertexIndexData.h>
Public Member Functions | |
const VertexBuffer * | getVertexBuffer () const |
get vertexbuffer More... | |
ssize_t | getMeshVertexAttribCount () const |
get attributes count More... | |
const MeshVertexAttrib & | getMeshVertexAttrib (ssize_t index) const |
get attribute by index More... | |
ssize_t | getMeshIndexDataCount () const |
get index data count More... | |
MeshIndexData * | getMeshIndexDataByIndex (int index) const |
get index data by index More... | |
var | getMeshIndexDataByIndex ( var index) |
get index data by index More... | |
local | getMeshIndexDataByIndex ( local index) |
get index data by index More... | |
MeshIndexData * | getMeshIndexDataById (const std::string &id) const |
get index data by id More... | |
local | getMeshIndexDataById ( local id) |
get index data by id More... | |
bool | hasVertexAttrib (int attrib) const |
has vertex attribute? More... | |
virtual | ~MeshVertexData () |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | 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... | |
virtual | ~Ref () |
Destructor. More... | |
Static Public Member Functions | |
static MeshVertexData * | create (const MeshData &meshdata) |
create More... | |
local | create ( local meshdata) |
create More... | |
Public Attributes | |
CC_CONSTRUCTOR_ACCESS | __pad0__: MeshVertexData() |
Protected Attributes | |
VertexData * | _vertexData |
VertexBuffer * | _vertexBuffer |
Vector< MeshIndexData * > | _indexs |
std::vector< MeshVertexAttrib > | _attribs |
var | _attribs |
local | _attribs |
int | _vertexCount |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
local | _referenceCount |
count of references More... | |
Friends | |
class | Sprite3D |
class | Mesh |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Ref () | |
Constructor. More... | |
the MeshVertexData class.
the MeshIndexData contain all of the vertices data which mesh need.
|
virtual |
|
virtual |
|
virtual |
|
static |
create
|
static |
create
|
static |
create
MeshIndexData* getMeshIndexDataById | ( | const std::string & | id | ) | const |
get index data by id
var getMeshIndexDataById | ( | var | id | ) |
get index data by id
local getMeshIndexDataById | ( | local | id | ) |
get index data by id
|
inline |
get index data by index
|
inline |
get index data by index
|
inline |
get index data by index
|
inline |
get index data count
|
inline |
get index data count
|
inline |
get index data count
|
inline |
get attribute by index
|
inline |
get attribute by index
|
inline |
get attribute by index
|
inline |
get attributes count
|
inline |
get attributes count
|
inline |
get attributes count
|
inline |
get vertexbuffer
|
inline |
get vertexbuffer
|
inline |
get vertexbuffer
bool hasVertexAttrib | ( | int | attrib | ) | const |
has vertex attribute?
var hasVertexAttrib | ( | var | attrib | ) |
has vertex attribute?
local hasVertexAttrib | ( | local | attrib | ) |
has vertex attribute?
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
CC_CONSTRUCTOR_ACCESS __pad0__ |
var __pad0__ |
local __pad0__ |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |