Developer Documentation
|
#include <OpenFlipper/libs_required/ACG/GL/DrawMesh.hh>
Public Member Functions | |
size_t | getNumTris () const |
size_t | getNumVerts () const |
MeshCompiler * | getMeshCompiler () |
get mesh compiler used to create the draw mesh | |
unsigned int | getNumSubsets () const |
GLenum | getIndexType () const |
get index type of index buffer | |
GLuint | pickVertexIBO_opt () |
get an index buffer mapping from openmesh vertices to drawmesh vbo vertices More... | |
Protected Attributes | |
GLuint | vbo_ |
GLuint | ibo_ |
size_t | numTris_ |
size_t | numVerts_ |
MeshCompiler * | meshComp_ |
GLuint | lineIBO_ |
index buffer used in Wireframe / Hiddenline mode | |
GLuint | heVBO_ |
vbo for halfedge rendering, as they are offset | |
GLint | prevVBO_ |
GLenum | indexType_ |
support for 2 and 4 byte unsigned integers | |
std::vector< char > | vertices_ |
VertexDeclaration * | vertexDecl_ |
vertex buffer layout declaration with per vertex colors | |
VertexDeclaration * | vertexDeclEdgeCol_ |
vertex buffer layout declaration with per edge colors, legacy path | |
VertexDeclaration | vertexDeclEdgeNew_ |
vertex buffer layout declaration with per edge colors | |
VertexDeclaration * | vertexDeclHalfedgeCol_ |
vertex buffer layout declaration with per halfedge colors | |
VertexDeclaration * | vertexDeclHalfedgePos_ |
vertex buffer layout declaration with halfedge positions only | |
GLuint | pickVertexIBO_ |
map from openmesh vertex to vbo vertex id | |
This class holds non-templated code and is intended to be inherited by the templated DrawMeshT class.
Definition at line 80 of file DrawMesh.hh.
|
inline |
get an index buffer mapping from openmesh vertices to drawmesh vbo vertices
Definition at line 116 of file DrawMesh.hh.
|
protected |
final vertex buffer used for rendering raw byte array, use write__() functions for access
Definition at line 138 of file DrawMesh.hh.