Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | List of all members
om::graphics::renderers::RayRenderer Class Reference

A class that uses ray/path tracing to render a scene with global illumination. More...

#include <omGraphicsRayRenderer.h>

Inheritance diagram for om::graphics::renderers::RayRenderer:
om::graphics::renderers::SceneRenderer om::graphics::renderers::Renderer

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
DelegategetDelegate ()
 Return an object that handles events for this context renderer. More...
 
const DelegategetDelegate () 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...
 
GraphicsContextgetContext () 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
GraphicsContextcontext
 A pointer to the graphics context this object is using. More...
 

Detailed Description

A class that uses ray/path tracing to render a scene with global illumination.

Member Function Documentation

virtual Bool om::graphics::renderers::RayRenderer::renderScene ( const SceneRenderRequest request)
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.


The documentation for this class was generated from the following file: