Effect Class. More...
#include <deEffect.h>
Public Member Functions | |
Constructors and Destructors | |
| deEffect (deEffectManager *manager) | |
| Creates a new world object with the given resource manager. | |
| virtual | ~deEffect () |
| Cleans up the world. | |
Management | |
| bool | GetEnabled () const |
| Determines if the effect is enabled. | |
| void | SetEnabled (bool enabled) |
| Sets if the effect is enabled. | |
System Peers | |
| deBaseGraphicEffect * | GetGraphicEffect () const |
| Retrieves the graphic system peer object. | |
| void | SetGraphicEffect (deBaseGraphicEffect *graEffect) |
| Sets the graphic system peer object. | |
Visiting | |
Retrieves the physics system peer object. Sets the physics system peer object. | |
| virtual void | Visit (deEffectVisitor *visitor) |
| Visits the effect. | |
Effect Class.
Effects describe alterations of a world before it is rendered. Such effects can alter the final image ( called post processing ) or alter the state of some objects. Various effects can be combined to achieve all sorts of complex effects.
| deEffect::deEffect | ( | deEffectManager * | manager ) |
Creates a new world object with the given resource manager.
| virtual deEffect::~deEffect | ( | ) | [virtual] |
Cleans up the world.
| bool deEffect::GetEnabled | ( | ) | const [inline] |
Determines if the effect is enabled.
| deBaseGraphicEffect* deEffect::GetGraphicEffect | ( | ) | const [inline] |
Retrieves the graphic system peer object.
| void deEffect::SetEnabled | ( | bool | enabled ) |
Sets if the effect is enabled.
| void deEffect::SetGraphicEffect | ( | deBaseGraphicEffect * | graEffect ) |
Sets the graphic system peer object.
| virtual void deEffect::Visit | ( | deEffectVisitor * | visitor ) | [virtual] |
Visits the effect.
Reimplemented in deEffectColorMatrix, deEffectDistortImage, deEffectFilterKernel, and deEffectOverlayImage.
1.7.2