#include <IRunner.h>
Public Member Functions | |
virtual void | InitializeOpengl (int width, int height)=0 |
It is called after opengl context is created. It can be used to setup opengl states. | |
virtual void | Run (void)=0 |
Runs a step of the test. Its called once every iteration of the main loop. | |
virtual void | Reshape (int width, int height)=0 |
It is called when the window has been reshaped. | |
Protected Member Functions | |
IRunner (void) | |
Contructor hidden from user. | |
virtual | ~IRunner (void)=0 |
Destructor hidden from user. |
virtual void GlutWrapper::IRunner::InitializeOpengl | ( | int | width, | |
int | height | |||
) | [pure virtual] |
It is called after opengl context is created. It can be used to setup opengl states.
width | render window width | |
height | render window height |
Implemented in GpuQuadraticCurveRender::Runner.
virtual void GlutWrapper::IRunner::Reshape | ( | int | width, | |
int | height | |||
) | [pure virtual] |
It is called when the window has been reshaped.
width | render window width | |
height | render window height |
Implemented in GpuQuadraticCurveRender::Runner.