GLStats  0.1.0
Public Member Functions | Protected Member Functions | Friends | List of all members
GLStats::Renderer Class Reference

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

Detailed Description

The default renderer.

Definition at line 29 of file renderer.h.

Constructor & Destructor Documentation

GLStats::Renderer::Renderer ( )

Construct a new renderer.

virtual GLStats::Renderer::~Renderer ( )
virtual

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 ...

Parameters
datathe statistics data
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: