GLStats  0.3.3
GLStats::Renderer Class Referenceabstract

The default renderer. More...

#include <renderer.h>

+ Collaboration diagram for GLStats::Renderer:

Public Member Functions

 Renderer ()
 Construct a new renderer. More...
 Renderer (const Renderer &from)
 Copy-construct a new renderer. More...
virtual ~Renderer ()
 Destruct this renderer. More...
Rendereroperator= (const Renderer &from)
 Assign the settings from another renderer. More...
void setViewport (const uint32_t width, const uint32_t height)
 Set the size of the rendering area in pixels. More...
void draw (const Data &data)
 Render the data set. More...

Protected Member Functions

virtual void drawText (const std::string &text)=0


class detail::Renderer

Detailed Description

The default renderer.

Definition at line 32 of file renderer.h.

Constructor & Destructor Documentation

GLStats::Renderer::Renderer ( )

Construct a new renderer.

GLStats::Renderer::Renderer ( const Renderer from)

Copy-construct a new renderer.

virtual GLStats::Renderer::~Renderer ( )

Destruct this renderer.

Member Function Documentation

void GLStats::Renderer::draw ( const Data data)

Render the data set.

The OpenGL state has to be set up to ...

datathe statistics data
Renderer& GLStats::Renderer::operator= ( const Renderer from)

Assign the settings from another renderer.

void GLStats::Renderer::setViewport ( const uint32_t  width,
const uint32_t  height 

Set the size of the rendering area in pixels.

The documentation for this class was generated from the following file: