CrystalSpace

Public API Reference

CS::RenderManager::PostEffectLayersParser Class Reference

Helper class to parse post processing effect configurations. More...

#include <csplugincommon/rendermanager/posteffects.h>

Inheritance diagram for CS::RenderManager::PostEffectLayersParser:

List of all members.

Public Member Functions

bool AddLayersFromDocument (iDocumentNode *node, iPostEffect *effect) const
 Parse the post-effect layers from the given document node, and add them to the given post effect.
bool AddLayersFromFile (const char *filename, iPostEffect *effect) const
 Parse the post-effect layers from the given XML file, and add them to the given post effect.
 PostEffectLayersParser (iObjectRegistry *objReg)
 Constructor.

Detailed Description

Helper class to parse post processing effect configurations.

Definition at line 411 of file posteffects.h.


Constructor & Destructor Documentation

CS::RenderManager::PostEffectLayersParser::PostEffectLayersParser ( iObjectRegistry objReg  ) 

Constructor.


Member Function Documentation

bool CS::RenderManager::PostEffectLayersParser::AddLayersFromDocument ( iDocumentNode node,
iPostEffect effect 
) const

Parse the post-effect layers from the given document node, and add them to the given post effect.

Parameters:
node The document node to parse the layers from.
effect The post-effect where the layers will be added
bool CS::RenderManager::PostEffectLayersParser::AddLayersFromFile ( const char *  filename,
iPostEffect effect 
) const

Parse the post-effect layers from the given XML file, and add them to the given post effect.

Parameters:
filename A VFS path to the XML file containing the definition of the post effect layers. The XML root node of the file must be "posteffect".
effect The post-effect where the layers will be added

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

Generated for Crystal Space 2.1 by doxygen 1.6.1