|
Public Types |
typedef std::pair< unsigned
int, unsigned int > | PrimitivePair |
typedef std::map< GLenum,
PrimitivePair > | PrimtiveValueMap |
typedef std::map< GLenum,
unsigned int > | PrimtiveCountMap |
| enum | statsType {
STAT_NONE,
STAT_FRAMERATE,
STAT_GRAPHS,
STAT_PRIMS,
STAT_PRIMSPERVIEW,
STAT_PRIMSPERBIN,
STAT_DC,
STAT_RESTART
} |
Public Member Functions |
| | Statistics () |
| void | reset () |
| void | setType (statsType t) |
| virtual void | setVertexArray (unsigned int count, const osg::Vec3 *) |
| virtual void | setVertexArray (unsigned int count, const osg::Vec2 *) |
| virtual void | setVertexArray (unsigned int count, const osg::Vec4 *) |
| virtual void | drawArrays (GLenum mode, GLint, GLsizei count) |
| virtual void | drawElements (GLenum mode, GLsizei count, const GLubyte *) |
| virtual void | drawElements (GLenum mode, GLsizei count, const GLushort *) |
| virtual void | drawElements (GLenum mode, GLsizei count, const GLuint *) |
| virtual void | begin (GLenum mode) |
| void | vertex () |
| virtual void | vertex (float, float, float) |
| virtual void | vertex (const osg::Vec3 &) |
| virtual void | vertex (const osg::Vec2 &) |
| virtual void | vertex (const osg::Vec4 &) |
| virtual void | vertex (float, float) |
| virtual void | vertex (float, float, float, float) |
| virtual void | end () |
| void | addDrawable () |
| void | addMatrix () |
| void | addLight (int np) |
| void | addImpostor (int np) |
| int | getBins () |
| void | setDepth (int d) |
| void | addBins (int np) |
| void | setBinNo (int n) |
| PrimtiveCountMap::iterator | GetPrimitivesBegin () |
| PrimtiveCountMap::iterator | GetPrimitivesEnd () |
Public Attributes |
| int | numDrawables |
| int | nummat |
| int | nbins |
| int | nlights |
| int | depth |
| int | _binNo |
| statsType | stattype |
| int | nimpostor |
| unsigned int | _vertexCount |
| PrimtiveValueMap | _primitiveCount |
| GLenum | _currentPrimtiveFunctorMode |