cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MeshData Struct Reference

mesh data More...

#include <CCBundle3DData.h>

Public Types

typedef std::vector< unsigned
short > 
IndexArray

Public Member Functions

int getPerVertexSize () const
local getPerVertexSize ()
void resetData ()
local resetData ()
 MeshData ()
 MeshData ()
 MeshData ()
 ~MeshData ()
 ~MeshData ()
 ~MeshData ()

Public Attributes

std::vector< float > vertex
var vertex
local vertex
int vertexSizeInFloat
var vertexSizeInFloat
local vertexSizeInFloat
std::vector< IndexArraysubMeshIndices
var subMeshIndices
local subMeshIndices
std::vector< std::string > subMeshIds
var subMeshIds
local subMeshIds
int numIndex
var numIndex
local numIndex
std::vector< MeshVertexAttribattribs
var attribs
local attribs
int attribCount
var attribCount
local attribCount

Detailed Description

mesh data

Member Typedef Documentation

typedef std::vector<unsigned
short> IndexArray
local IndexArray

Constructor & Destructor Documentation

MeshData ( )
inline
var MeshData ( )
inline
local MeshData ( )
inline
~MeshData ( )
inline
var ~MeshData ( )
inline
local ~MeshData ( )
inline

Member Function Documentation

int getPerVertexSize ( ) const
inline
var getPerVertexSize ( )
inline
local getPerVertexSize ( )
inline
void resetData ( )
inline
var resetData ( )
inline
local resetData ( )
inline

Member Data Documentation

int attribCount
var attribCount
local attribCount
std::vector<MeshVertexAttrib>
attribs
var attribs
local attribs
int numIndex
var numIndex
local numIndex
std::vector<std::string> subMeshIds
var subMeshIds
local subMeshIds
std::vector<IndexArray>
subMeshIndices
var subMeshIndices
local subMeshIndices
std::vector<float> vertex
var vertex
local vertex
int vertexSizeInFloat
var vertexSizeInFloat
local vertexSizeInFloat

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