#include <CCMesh.h>
|
| RenderMeshData () |
| RenderMeshData () |
| RenderMeshData () |
bool | hasVertexAttrib (int attrib) |
local | hasVertexAttrib ( local attrib) |
bool | init (const std::vector< float > &positions, const std::vector< float > &normals, const std::vector< float > &texs, const std::vector< unsigned short > &indices) |
var | init ( var positions, var normals, var texs, var indices) |
local | init ( local positions, local normals, local texs, local indices) |
bool | init (const std::vector< float > &vertices, int vertexSizeInFloat, const std::vector< unsigned short > &indices, int numIndex, const std::vector< MeshVertexAttrib > &attribs, int attribCount) |
local | init ( local vertices, local vertexSizeInFloat, local indices, local numIndex, local attribs, local attribCount) |
int calVertexSizeBytes |
( |
| ) |
|
|
protected |
var calVertexSizeBytes |
( |
| ) |
|
|
protected |
local calVertexSizeBytes |
( |
| ) |
|
|
protected |
bool hasVertexAttrib |
( |
int |
attrib | ) |
|
var hasVertexAttrib |
( |
var |
attrib | ) |
|
local hasVertexAttrib |
( |
local |
attrib | ) |
|
bool init |
( |
const std::vector< float > & |
positions, |
|
|
const std::vector< float > & |
normals, |
|
|
const std::vector< float > & |
texs, |
|
|
const std::vector< unsigned short > & |
indices |
|
) |
| |
var init |
( |
var |
positions, |
|
|
var |
normals, |
|
|
var |
texs, |
|
|
var |
indices |
|
) |
| |
local init |
( |
local |
positions, |
|
|
local |
normals, |
|
|
local |
texs, |
|
|
local |
indices |
|
) |
| |
bool init |
( |
const std::vector< float > & |
vertices, |
|
|
int |
vertexSizeInFloat, |
|
|
const std::vector< unsigned short > & |
indices, |
|
|
int |
numIndex, |
|
|
const std::vector< MeshVertexAttrib > & |
attribs, |
|
|
int |
attribCount |
|
) |
| |
var init |
( |
var |
vertices, |
|
|
var |
vertexSizeInFloat, |
|
|
var |
indices, |
|
|
var |
numIndex, |
|
|
var |
attribs, |
|
|
var |
attribCount |
|
) |
| |
local init |
( |
local |
vertices, |
|
|
local |
vertexSizeInFloat, |
|
|
local |
indices, |
|
|
local |
numIndex, |
|
|
local |
attribs, |
|
|
local |
attribCount |
|
) |
| |
std::vector<unsigned short>
_indices |
|
protected |
std::vector<float> _vertexs |
|
protected |
The documentation for this class was generated from the following file:
- /Users/minggo/SourceCode/cocos2d-x/cocos/3d/CCMesh.h