A class that serves as a basic interface for a high-level graphcs renderer.
More...
#include <omGraphicsRenderer.h>
|
| Renderer () |
| Create a new graphics renderer that doesn't have an associated graphics context. More...
|
|
| Renderer (GraphicsContext *newContext) |
| Create a new graphics renderer that uses the specified context for rendering. More...
|
|
A class that serves as a basic interface for a high-level graphcs renderer.
virtual om::graphics::renderers::Renderer::~Renderer |
( |
| ) |
|
|
virtual |
Destroy a renderer object.
om::graphics::renderers::Renderer::Renderer |
( |
| ) |
|
|
inlineprotected |
Create a new graphics renderer that doesn't have an associated graphics context.
om::graphics::renderers::Renderer::Renderer |
( |
GraphicsContext * |
newContext | ) |
|
|
inlineprotected |
Create a new graphics renderer that uses the specified context for rendering.
virtual void om::graphics::renderers::Renderer::render |
( |
| ) |
|
|
virtual |
Do the main rendering for this renderer.
The default implementation has no effect. Subclasses can override this method to do their main rendering operations. The actual function of this method is defined by the subclass.
Reimplemented in om::graphics::renderers::ImmediateRenderer.
Return a pointer to the graphics context that the renderer is using.
virtual void om::graphics::renderers::Renderer::setContext |
( |
GraphicsContext * |
newContext | ) |
|
|
virtual |
void om::graphics::renderers::Renderer::clearContext |
( |
| ) |
|
|
inline |
Clear the previous context from this object.
A pointer to the graphics context this object is using.
The documentation for this class was generated from the following file: