Public Types | Public Member Functions

xl7::direct3d::rendering::Chain Class Reference

#include <Chain.h>

Inheritance diagram for xl7::direct3d::rendering::Chain:
xl7::direct3d::rendering::RenderTargetHost xl7::direct3d::rendering::IRenderable

List of all members.

Public Types

typedef std::vector< Effect * > Effects

Public Member Functions

 Chain (const cl7::string_type &name)
virtual ~Chain (void)
const cl7::string_typeGetName () const
const EffectsGetEffects () const
EffectsGetEffects ()
bool _Begin ()
bool _End ()
bool _RenderNextEffect (scene::SceneGraph *scene_graph)
bool Render (scene::SceneGraph *scene_graph)

Detailed Description

Represents the whole rendering process of the current scene. A chain may assemble several effects (consisting of several passes on their part) rendering the objects of the current scene step by step.


Member Typedef Documentation


Constructor & Destructor Documentation

xl7::direct3d::rendering::Chain::Chain ( const cl7::string_type name  ) 

Explicit constructor.

xl7::direct3d::rendering::Chain::~Chain ( void   )  [virtual]

Destructor.


Member Function Documentation

bool xl7::direct3d::rendering::Chain::_Begin (  ) 

Begins the chain.

bool xl7::direct3d::rendering::Chain::_End (  ) 

Ends the chain.

bool xl7::direct3d::rendering::Chain::_RenderNextEffect ( scene::SceneGraph scene_graph  ) 

Begins, runs, and ends the next effect. Returns true, if there are effects left to run, or false, if no more effects left.

const Effects* xl7::direct3d::rendering::Chain::GetEffects (  )  const [inline]

Returns the list of effects.

Effects* xl7::direct3d::rendering::Chain::GetEffects (  )  [inline]

Returns the list of effects.

const cl7::string_type& xl7::direct3d::rendering::Chain::GetName (  )  const [inline]

Returns the name of this chain.

bool xl7::direct3d::rendering::Chain::Render ( scene::SceneGraph scene_graph  )  [virtual]

Performs the complete rendering progress.

Implements xl7::direct3d::rendering::IRenderable.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines