#include <CCMesh.h>
|
| | RenderMeshData () |
| bool | hasVertexAttrib (int 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, const std::vector< MeshVertexAttrib > &attribs) |
| 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, |
|
|
const std::vector< MeshVertexAttrib > & |
attribs |
|
) |
| |
| var init |
( |
var |
vertices, |
|
|
var |
vertexSizeInFloat, |
|
|
var |
indices, |
|
|
var |
attribs |
|
) |
| |
| local init |
( |
local |
vertices, |
|
|
local |
vertexSizeInFloat, |
|
|
local |
indices, |
|
|
local |
attribs |
|
) |
| |
std::vector<unsigned short>
_indices |
|
protected |
| std::vector<float> _vertexs |
|
protected |
The documentation for this class was generated from the following file:
- /Users/guanghui/cocos2d-x-v3/cocos/3d/CCMesh.h