CrystalSpace

Public API Reference

CS::RenderManager::SimpleTreeRenderer< RenderTree > Class Template Reference

Renderer for multiple contexts, grouping them by render target and rendering all layers of each context to same target. More...

#include <csplugincommon/rendermanager/render.h>

List of all members.


Detailed Description

template<typename RenderTree>
class CS::RenderManager::SimpleTreeRenderer< RenderTree >

Renderer for multiple contexts, grouping them by render target and rendering all layers of each context to same target.

Usage: with reverse iteration over all contexts. Usually used in the final step before post processing effects are applied.

Example:

 // ... contexts setup etc. ...

 {
   SimpleTreeRenderer<RenderTree> render (renderView->GetGraphics3D (),
     shaderManager);
   ForEachContextReverse (renderTree, render);
 }

 // ... apply post processing ...

Definition at line 368 of file render.h.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1