A viewer may provides its own ValuePool. More...
#include <ocean/GLvish/Viewer.hpp>
A viewer may provides its own ValuePool.
The ValuePool may also be shared with some external ValuePool.
virtual bool Wizt::Viewer::initializeContext | ( | VRenderContext & | VRC | ) | [pure virtual] |
Make all render objects visible in this viewer.
Initialize a VRenderContext with viewer-specific settings; this function is also supposed to make an OpenGL context current within some window manager environment (X11 or Windows call).
bool Wizt::Viewer::render | ( | VRenderContext & | Context, | |
int | MinLevel = RENDER_FIRST , |
|||
int | MaxLevel = RENDER_LAST | |||
) | const |
Render the entire scene.
Context | The render context | |
MinLevel | The start layer of object categories to be rendered | |
MaxLevel | The end layer of object categories to be rendered |
RefPtr<GLCache> Wizt::Viewer::RenderCache |
The associated OpenGL Render Cache.
To be initialized in a subclass.