Om  1.0.0
A universal framework for multimedia simulation
Public Attributes | List of all members
om::graphics::renderers::SceneRenderer::Delegate Class Reference

A class that contains function objects that respond to scene renderer events. More...

#include <omGraphicsSceneRenderer.h>

Public Attributes

Function< void(GraphicsContext &)> startDrawing
 A function object that is called whenever an attached context renderer is starting to be drawn. More...
 
Function< void(GraphicsContext &)> stopDrawing
 A function object that is called whenever an attached context renderer should stop drawing. More...
 
Function< void(const SceneRenderRequest &sceneRenderRequest, const RenderRequest &renderRequest, RenderQueue &outputQueue)> getRenderables
 A function object that allows the delegate to provide extra rendering data to the scene renderer. More...
 

Detailed Description

A class that contains function objects that respond to scene renderer events.

Member Data Documentation

Function<void ( GraphicsContext& )> om::graphics::renderers::SceneRenderer::Delegate::startDrawing

A function object that is called whenever an attached context renderer is starting to be drawn.

The delegate should do initialization of graphics data in this function.

Function<void ( GraphicsContext& )> om::graphics::renderers::SceneRenderer::Delegate::stopDrawing

A function object that is called whenever an attached context renderer should stop drawing.

The delegate should do cleanup of graphics data in this function.

Function<void ( const SceneRenderRequest& sceneRenderRequest, const RenderRequest& renderRequest, RenderQueue& outputQueue )> om::graphics::renderers::SceneRenderer::Delegate::getRenderables

A function object that allows the delegate to provide extra rendering data to the scene renderer.


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