chrono::opengl::ChOpenGLStats Class Referenceabstract
Description
Base class for an OpenGL stats overlay.
#include <ChOpenGLStats.h>
Inheritance diagram for chrono::opengl::ChOpenGLStats:

Collaboration diagram for chrono::opengl::ChOpenGLStats:

Classes | |
| struct | Screen |
| Screen coordinates for text placement. More... | |
Public Member Functions | |
| virtual bool | Initialize (ChOpenGLCamera *camera) |
| virtual void | GenerateStats (ChSystem &sys)=0 |
| virtual void | GenerateHelp () |
| virtual void | Render () |
| virtual void | TakeDown () override |
Public Member Functions inherited from chrono::opengl::ChOpenGLBase | |
| bool | GLReturnedError (const char *s) |
Protected Attributes | |
| struct chrono::opengl::ChOpenGLStats::Screen | screen |
| double | time_geometry |
| double | time_text |
| double | time_total |
| double | fps |
| ChOpenGLText | text |
| ChOpenGLBars | bars |
| ChOpenGLShader | font_shader |
| ChOpenGLShader | bar_shader |
| ChOpenGLCamera * | render_camera |
Friends | |
| class | ChOpenGLViewer |
Member Function Documentation
◆ TakeDown()
|
overridevirtual |
Implements chrono::opengl::ChOpenGLBase.
The documentation for this class was generated from the following files:
- C:/M/B/src/chrono-9.0.1/src/chrono_opengl/UI/ChOpenGLStats.h
- C:/M/B/src/chrono-9.0.1/src/chrono_opengl/UI/ChOpenGLStats.cpp
Public Member Functions inherited from