Castor3D
..
|
Post render effect base class. More...
Public Member Functions | |
C3D_API | PostEffect (RenderSystem *p_renderSystem, RenderTarget &p_renderTarget, Parameters const &p_params) |
Constructor. More... | |
virtual C3D_API | ~PostEffect () |
Destructor. More... | |
virtual C3D_API bool | Initialise ()=0 |
Initialisation function. More... | |
virtual C3D_API void | Cleanup ()=0 |
Cleanup function. More... | |
virtual C3D_API bool | Apply (FrameBuffer &p_framebuffer)=0 |
Render function, applies the effect to the given framebuffer. More... | |
Protected Attributes | |
RenderSystem * | m_renderSystem |
The render system. More... | |
RenderTarget & | m_renderTarget |
The render target to which this effect is attached. More... | |
Post render effect base class.
C3D_API Castor3D::PostEffect::PostEffect | ( | RenderSystem * | p_renderSystem, |
RenderTarget & | p_renderTarget, | ||
Parameters const & | p_params | ||
) |
Constructor.
[in] | p_renderSystem | The render system. |
[in] | p_renderTarget | The render target to which is attached this effect. |
[in] | p_params | The optional parameters. |
|
virtual |
Destructor.
|
pure virtual |
Render function, applies the effect to the given framebuffer.
[in,out] | p_framebuffer | The framebuffer. |
true
if ok.
|
pure virtual |
Cleanup function.
|
pure virtual |
Initialisation function.
true
if ok.
|
protected |
The render system.
|
protected |
The render target to which this effect is attached.