CrystalSpace

Public API Reference

CS::RenderManager::PostEffectsSupport Class Reference

Add post effects support to a render manager. More...

#include <csplugincommon/rendermanager/posteffectssupport.h>

Inheritance diagram for CS::RenderManager::PostEffectsSupport:

List of all members.

Public Member Functions

void Initialize (iObjectRegistry *objectReg, const char *configKey)
 Initialize post processing effects support.
iRenderManagerPostEffects implementation



bool AddLayersFromDocument (iDocumentNode *node)
 Add the post effect layers defined in the given document node to the list of active layers.
bool AddLayersFromFile (const char *filename)
 Add the post effect layers defined in the given file to the list of active layers.
void ClearLayers ()
 Clear all active post effect layers.

Detailed Description

Add post effects support to a render manager.

Usage:

Definition at line 44 of file posteffectssupport.h.


Member Function Documentation

bool CS::RenderManager::PostEffectsSupport::AddLayersFromDocument ( iDocumentNode node  )  [virtual]

Add the post effect layers defined in the given document node to the list of active layers.

Implements iRenderManagerPostEffects.

bool CS::RenderManager::PostEffectsSupport::AddLayersFromFile ( const char *  filename  )  [virtual]

Add the post effect layers defined in the given file to the list of active layers.

Implements iRenderManagerPostEffects.

void CS::RenderManager::PostEffectsSupport::ClearLayers (  )  [inline, virtual]

Clear all active post effect layers.

Implements iRenderManagerPostEffects.

Definition at line 64 of file posteffectssupport.h.

void CS::RenderManager::PostEffectsSupport::Initialize ( iObjectRegistry objectReg,
const char *  configKey 
)

Initialize post processing effects support.

Parameters:
objectReg Object registry.
configKey Configuration key for initial effects to load. Will read a file name for a post effects layers file from the config key <configKey>.Effects.

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

Generated for Crystal Space 2.0 by doxygen 1.6.1