chrono::opengl::ChOpenGLStatsDefault Class Reference

Description

Class that renders the text and other UI elements.

#include <ChOpenGLStats.h>

Inheritance diagram for chrono::opengl::ChOpenGLStatsDefault:
Collaboration diagram for chrono::opengl::ChOpenGLStatsDefault:

Public Member Functions

virtual bool Initialize (ChOpenGLCamera *camera) override
 
virtual void GenerateStats (ChSystem &sys) override
 
virtual void GenerateHelp () override
 
- Public Member Functions inherited from chrono::opengl::ChOpenGLStats
virtual void Render ()
 
virtual void TakeDown () override
 
- Public Member Functions inherited from chrono::opengl::ChOpenGLBase
bool GLReturnedError (const char *s)
 

Additional Inherited Members

- Protected Member Functions inherited from chrono::opengl::ChOpenGLStats
- Protected Attributes inherited from chrono::opengl::ChOpenGLStats
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
 
ChOpenGLCamerarender_camera
 

Member Function Documentation

◆ GenerateHelp()

void chrono::opengl::ChOpenGLStatsDefault::GenerateHelp ( )
overridevirtual

Reimplemented from chrono::opengl::ChOpenGLStats.

◆ GenerateStats()

void chrono::opengl::ChOpenGLStatsDefault::GenerateStats ( ChSystem & sys)
overridevirtual

◆ Initialize()

bool chrono::opengl::ChOpenGLStatsDefault::Initialize ( ChOpenGLCamera * camera)
overridevirtual

Reimplemented from chrono::opengl::ChOpenGLStats.


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