Base class for OGLplus example offscreen rendering threads. More...
#include </home/chochlik/devel/oglplus/example/oglplus/example.hpp>
Inherited by oglplus::FBTexThread, oglplus::FBTexThread, oglplus::SurfaceColorMapRenderer, oglplus::SurfaceDepthMapRenderer, oglplus::SurfaceLightMapRenderer, and oglplus::SurfacePolygonizer.
Public Member Functions | |
| virtual void | Cancel (void) |
| Notifies the thread that the example is closing. More... | |
| virtual void | Render (double) |
| Rendering procedure with simple timing. | |
| virtual void | Render (const ExampleClock &clock) |
| Rendering procedure with advanced timing. | |
| virtual double | RenderPart (unsigned, const ExampleClock &clock) |
| Rendering procedure split into several parts. | |
Base class for OGLplus example offscreen rendering threads.
|
virtual |
Notifies the thread that the example is closing.
Implementations of ExampleThread should cancel all rendering operations and quit the Render function ASAP.