#include <Effect.h>
Public Types | |
| typedef std::vector< Pass * > | Passes |
Public Member Functions | |
| Effect (const cl7::string_type &name, Chain *chain) | |
| virtual | ~Effect (void) |
| const cl7::string_type & | GetName () const |
| const Chain * | GetChain () const |
| const Passes * | GetPasses () const |
| bool | IsEnabled () const |
| Chain * | GetChain () |
| Passes * | GetPasses () |
| void | Enable () |
| void | Disable () |
| bool | _Begin () |
| bool | _End () |
| bool | _RenderNextPass (scene::SceneGraph *scene_graph) |
| bool | Render (scene::SceneGraph *scene_graph) |
Represents a step within the effect chain covering the whole rendering process of the current scene. An effect may assemble several effect passes.
| typedef std::vector<Pass*> xl7::direct3d::rendering::Effect::Passes |
| xl7::direct3d::rendering::Effect::Effect | ( | const cl7::string_type & | name, | |
| Chain * | chain | |||
| ) |
Explicit constructor.
| xl7::direct3d::rendering::Effect::~Effect | ( | void | ) | [virtual] |
Destructor.
| bool xl7::direct3d::rendering::Effect::_Begin | ( | ) |
Begins the effect.
| bool xl7::direct3d::rendering::Effect::_End | ( | ) |
Ends the effect.
| bool xl7::direct3d::rendering::Effect::_RenderNextPass | ( | scene::SceneGraph * | scene_graph | ) |
Begins, runs, and ends the next pass. Returns true, if there are passes left to run, or false, if no more passes left.
| void xl7::direct3d::rendering::Effect::Disable | ( | ) | [inline] |
Disables this effect.
| void xl7::direct3d::rendering::Effect::Enable | ( | ) | [inline] |
Enables this effect.
| Chain* xl7::direct3d::rendering::Effect::GetChain | ( | ) | [inline] |
Returns the superior chain of this effect.
| const Chain* xl7::direct3d::rendering::Effect::GetChain | ( | ) | const [inline] |
Returns the superior chain of this effect.
| const cl7::string_type& xl7::direct3d::rendering::Effect::GetName | ( | ) | const [inline] |
Returns the name of this effect.
| Passes* xl7::direct3d::rendering::Effect::GetPasses | ( | ) | [inline] |
Returns the list of passes.
| const Passes* xl7::direct3d::rendering::Effect::GetPasses | ( | ) | const [inline] |
Returns the list of passes.
| bool xl7::direct3d::rendering::Effect::IsEnabled | ( | ) | const [inline] |
Returns the flag indicating whether this effect is enabled and thus will be executed within the effect chain (or not, if disabled).
| bool xl7::direct3d::rendering::Effect::Render | ( | scene::SceneGraph * | scene_graph | ) | [virtual] |
Performs the complete rendering progress.
Implements xl7::direct3d::rendering::IRenderable.
1.7.1