![]() |
Public API Reference |
![]() |
Add post effects support to a render manager. More...
#include <csplugincommon/rendermanager/posteffectssupport.h>
Public Member Functions | |
void | Initialize (iObjectRegistry *objectReg, const char *configKey) |
Initialize post processing effects support. | |
iRenderManagerPostEffects implementation | |
void | ClearLayers () |
Clear all active post effect layers. | |
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. |
Add post effects support to a render manager.
Usage:
iRenderManagerPostEffects<iDebugHelper>
to their SCF implementation base class.Definition at line 44 of file posteffectssupport.h.
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.
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 . |