Public Member Functions | Protected Member Functions | Protected Attributes

sp::video::PostProcessingEffect Class Reference

Virtual base class for post-processing effects (such as bloom-effect). More...

#include <spPostProcessingEffect.hpp>

Inheritance diagram for sp::video::PostProcessingEffect:
sp::video::BloomEffect

List of all members.

Public Member Functions

virtual ~PostProcessingEffect ()
virtual void drawEffect (Texture *RenderTarget=0)=0
bool valid () const
 Returns true if the effect has been created correctly and is valid to be used.

Protected Member Functions

 PostProcessingEffect ()

Protected Attributes

bool Valid_

Detailed Description

Virtual base class for post-processing effects (such as bloom-effect).


Constructor & Destructor Documentation

virtual sp::video::PostProcessingEffect::~PostProcessingEffect (  )  [inline, virtual]
sp::video::PostProcessingEffect::PostProcessingEffect (  )  [inline, protected]

Member Function Documentation

virtual void sp::video::PostProcessingEffect::drawEffect ( Texture RenderTarget = 0  )  [pure virtual]

Draws the post-processing effect onto the screen or into the render target.

Parameters:
[in] RenderTarget Pointer to a valid render target texture or null if the effect is to be renderd directly into the frame buffer (or rather onto the screen).

Implemented in sp::video::BloomEffect.

bool sp::video::PostProcessingEffect::valid (  )  const [inline]

Returns true if the effect has been created correctly and is valid to be used.


Member Data Documentation


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