|
| | MeshBase (void) |
| |
| | MeshBase (const MeshBase &other) |
| |
| | ~MeshBase (void) |
| |
| int | addAttrib (AttribType type, AttribFormat format, int length) |
| |
| void | addAttribs (const MeshBase &other) |
| |
| int | numAttribs (void) const |
| |
| const AttribSpec & | attribSpec (int attrib) const |
| |
| int | findAttrib (AttribType type) const |
| |
| int | findNextAttrib (AttribType type, int prevAttrib) const |
| |
| bool | isCompatible (const MeshBase &other) const |
| |
| void | clear (void) |
| |
| void | set (const MeshBase &other) |
| |
| void | append (const MeshBase &other) |
| |
| void | compact (void) |
| |
| int | numVertices (void) const |
| |
| int | vertexStride (void) const |
| |
| void | resetVertices (int num) |
| |
| void | clearVertices (void) |
| |
| void | resizeVertices (int num) |
| |
| const U8 * | getVertexPtr (int idx=0) const |
| |
| U8 * | getMutableVertexPtr (int idx=0) |
| |
| const U8 * | vertex (int idx) const |
| |
| U8 * | mutableVertex (int idx) |
| |
| void | setVertex (int idx, const void *ptr) |
| |
| void | setVertices (int idx, const void *ptr, int num) |
| |
| U8 * | addVertex (const void *ptr=NULL) |
| |
| U8 * | addVertices (const void *ptr, int num) |
| |
| Vec4f | getVertexAttrib (int idx, int attrib) const |
| |
| void | setVertexAttrib (int idx, int attrib, const Vec4f &v) |
| |
| int | numSubmeshes (void) const |
| |
| int | numTriangles (void) const |
| |
| void | resizeSubmeshes (int num) |
| |
| void | clearSubmeshes (void) |
| |
| const Array< Vec3i > & | indices (int submesh) const |
| |
| Array< Vec3i > & | mutableIndices (int submesh) |
| |
| void | setIndices (int submesh, const Vec3i *ptr, int size) |
| |
| void | setIndices (int submesh, const S32 *ptr, int size) |
| |
| void | setIndices (int submesh, const Array< Vec3i > &v) |
| |
| const Material & | material (int submesh) const |
| |
| Material & | material (int submesh) |
| |
| int | addSubmesh (void) |
| |
| Buffer & | getVBO (void) |
| |
| int | vboAttribOffset (int attrib) |
| |
| int | vboAttribStride (int attrib) |
| |
| int | vboIndexOffset (int submesh) |
| |
| int | vboIndexSize (int submesh) |
| |
| void | setGLAttrib (GLContext *gl, int attrib, int loc) |
| |
| void | draw (GLContext *gl, const Mat4f &posToCamera, const Mat4f &projection, GLContext::Program *prog=NULL, bool gouraud=false) |
| |
| bool | isInMemory (void) const |
| |
| void | freeMemory (void) |
| |
| bool | isInVBO (void) const |
| |
| void | freeVBO (void) |
| |
| void | xformPositions (const Mat4f &mat) |
| |
| void | xformNormals (const Mat3f &mat, bool normalize=true) |
| |
| void | xform (const Mat4f &mat) |
| |
| void | getBBox (Vec3f &lo, Vec3f &hi) const |
| |
| void | recomputeNormals (void) |
| |
| void | flipTriangles (void) |
| |
| void | clean (void) |
| |
| void | collapseVertices (void) |
| |
| void | dupVertsPerSubmesh (void) |
| |
| void | fixMaterialColors (void) |
| |
| void | simplify (F32 maxError) |
| |
| const U8 * | operator[] (int vidx) const |
| |
| U8 * | operator[] (int vidx) |
| |
| MeshBase & | operator= (const MeshBase &other) |
| |
| MeshBase & | operator+= (const MeshBase &other) |
| |
Definition at line 36 of file Mesh.hpp.