cocos2d-x  3.1rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RenderMeshData Class Reference

#include <CCMesh.h>

Public Member Functions

 RenderMeshData ()
bool hasVertexAttrib (int attrib)
local hasVertexAttrib ( local attrib)
bool initFrom (const std::vector< float > &positions, const std::vector< float > &normals, const std::vector< float > &texs, const std::vector< unsigned short > &indices)
var initFrom ( var positions, var normals, var texs, var indices)
local initFrom ( local positions, local normals, local texs, local indices)

Protected Attributes

int _vertexsizeBytes
var _vertexsizeBytes
local _vertexsizeBytes
ssize_t _vertexNum
var _vertexNum
local _vertexNum
std::vector< float > _vertexs
var _vertexs
local _vertexs
std::vector< unsigned short > _indices
var _indices
local _indices
std::vector< MeshVertexAttrib_vertexAttribs
var _vertexAttribs
local _vertexAttribs

Friends

class Mesh

Constructor & Destructor Documentation

RenderMeshData ( )
inline
var RenderMeshData ( )
inline
local RenderMeshData ( )
inline

Member Function Documentation

bool hasVertexAttrib ( int  attrib)
var hasVertexAttrib ( var  attrib)
local hasVertexAttrib ( local  attrib)
bool initFrom ( const std::vector< float > &  positions,
const std::vector< float > &  normals,
const std::vector< float > &  texs,
const std::vector< unsigned short > &  indices 
)
var initFrom ( var  positions,
var  normals,
var  texs,
var  indices 
)
local initFrom ( local  positions,
local  normals,
local  texs,
local  indices 
)

Friends And Related Function Documentation

friend class Mesh
friend
var Mesh
friend
local Mesh
friend

Member Data Documentation

std::vector<unsigned short>
_indices
protected
var _indices
protected
local _indices
protected
std::vector<MeshVertexAttrib>
_vertexAttribs
protected
var _vertexAttribs
protected
local _vertexAttribs
protected
ssize_t _vertexNum
protected
var _vertexNum
protected
local _vertexNum
protected
std::vector<float> _vertexs
protected
var _vertexs
protected
local _vertexs
protected
int _vertexsizeBytes
protected
var _vertexsizeBytes
protected
local _vertexsizeBytes
protected

The documentation for this class was generated from the following file: