Om
1.0.0
A universal framework for multimedia simulation
|
A class that uses ray/path tracing to render a scene with global illumination. More...
#include <omGraphicsRayRenderer.h>
Public Member Functions | |
virtual Bool | renderScene (const SceneRenderRequest &request) |
Render a scene to the current framebuffer using the parameters of the specified request. More... | |
Public Member Functions inherited from om::graphics::renderers::SceneRenderer | |
Delegate & | getDelegate () |
Return an object that handles events for this context renderer. More... | |
const Delegate & | getDelegate () const |
Return an object that handles events for this context renderer. More... | |
void | setDelegate (const Delegate &newDelegate) |
Set an object that handles events for this context renderer. More... | |
Public Member Functions inherited from om::graphics::renderers::Renderer | |
virtual | ~Renderer () |
Destroy a renderer object. More... | |
virtual void | render () |
Do the main rendering for this renderer. More... | |
GraphicsContext * | getContext () const |
Return a pointer to the graphics context that the renderer is using. More... | |
virtual void | setContext (GraphicsContext *newContext) |
Set a pointer to the graphics context that this renderer should use. More... | |
void | clearContext () |
Clear the previous context from this object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from om::graphics::renderers::Renderer | |
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... | |
Protected Attributes inherited from om::graphics::renderers::SceneRenderer | |
Delegate | delegate |
An object that responds to events for this scene renderer. More... | |
Protected Attributes inherited from om::graphics::renderers::Renderer | |
GraphicsContext * | context |
A pointer to the graphics context this object is using. More... | |
A class that uses ray/path tracing to render a scene with global illumination.
|
virtual |
Render a scene to the current framebuffer using the parameters of the specified request.
The method returns whether or not the rendering was successful.
Implements om::graphics::renderers::SceneRenderer.