GLStats
0.1.0
|
The default renderer. More...
#include <renderer.h>
Public Member Functions | |
Renderer () | |
Construct a new renderer. | |
virtual | ~Renderer () |
Destruct this renderer. | |
void | setViewport (const uint32_t width, const uint32_t height) |
Set the size of the rendering area in pixels. | |
void | draw (const Data &data) |
Render the data set. |
Protected Member Functions | |
virtual void | drawText (const std::string &text)=0 |
Friends | |
class | detail::Renderer |
The default renderer.
Definition at line 29 of file renderer.h.
GLStats::Renderer::Renderer | ( | ) |
Construct a new renderer.
|
virtual |
Destruct this renderer.
void GLStats::Renderer::draw | ( | const Data & | data | ) |
Render the data set.
The OpenGL state has to be set up to ...
data | the statistics data |
void GLStats::Renderer::setViewport | ( | const uint32_t | width, |
const uint32_t | height | ||
) |
Set the size of the rendering area in pixels.