Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved. More...
Inherits CEGUI::AllocatedObject< RenderEffect >, and CEGUI::AllocatedObject< RenderEffect >.
Inherited by ElasticWindowEffect, OldWobblyWindowEffect, RenderEffect_wrapper, and WobblyWindowEffect.
Public Member Functions | |
virtual int | getPassCount () const =0 |
Return the number of passes required by this effect. More... | |
virtual void | performPreRenderFunctions (const int pass)=0 |
Function called prior to RenderingWindow::draw being called. This is intended to be used for any required setup / state initialisation and is called once for each pass in the effect. More... | |
virtual void | performPostRenderFunctions ()=0 |
Function called after RenderingWindow::draw is called. This is intended to be used for any required cleanup / state restoration. This function is called once only, unlike performPreRenderFunctions which may be called multiple times; once for each pass in the effect. More... | |
virtual bool | realiseGeometry (RenderingWindow &window, GeometryBuffer &geometry)=0 |
Function called to generate geometry for the RenderingWindow. More... | |
virtual bool | update (const float elapsed, RenderingWindow &window)=0 |
Function called to perform any time based updates on the RenderEffect state. More... | |
virtual int | getPassCount () const =0 |
Return the number of passes required by this effect. More... | |
virtual void | performPreRenderFunctions (const int pass)=0 |
Function called prior to RenderingWindow::draw being called. This is intended to be used for any required setup / state initialisation and is called once for each pass in the effect. More... | |
virtual void | performPostRenderFunctions ()=0 |
Function called after RenderingWindow::draw is called. This is intended to be used for any required cleanup / state restoration. This function is called once only, unlike performPreRenderFunctions which may be called multiple times; once for each pass in the effect. More... | |
virtual bool | realiseGeometry (RenderingWindow &window, GeometryBuffer &geometry)=0 |
Function called to generate geometry for the RenderingWindow. More... | |
virtual bool | update (const float elapsed, RenderingWindow &window)=0 |
Function called to perform any time based updates on the RenderEffect state. More... | |
Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.
|
pure virtual |
Return the number of passes required by this effect.
Implemented in ElasticWindowEffect, OldWobblyWindowEffect, WobblyWindowEffect, and RenderEffect_wrapper.
Referenced by CEGUI::OpenGL3GeometryBuffer::draw(), CEGUI::DirectFBGeometryBuffer::draw(), CEGUI::OpenGLGeometryBuffer::draw(), CEGUI::NullGeometryBuffer::draw(), CEGUI::OpenGLESGeometryBuffer::draw(), CEGUI::Direct3D11GeometryBuffer::draw(), CEGUI::Direct3D10GeometryBuffer::draw(), CEGUI::Direct3D9GeometryBuffer::draw(), CEGUI::IrrlichtGeometryBuffer::draw(), CEGUI::OgreGeometryBuffer::draw(), and RenderEffect_wrapper::performPreRenderFunctions().
|
pure virtual |
Return the number of passes required by this effect.
Implemented in ElasticWindowEffect, OldWobblyWindowEffect, WobblyWindowEffect, and RenderEffect_wrapper.
|
pure virtual |
Function called after RenderingWindow::draw is called. This is intended to be used for any required cleanup / state restoration. This function is called once only, unlike performPreRenderFunctions which may be called multiple times; once for each pass in the effect.
Implemented in ElasticWindowEffect, OldWobblyWindowEffect, WobblyWindowEffect, and RenderEffect_wrapper.
|
pure virtual |
Function called after RenderingWindow::draw is called. This is intended to be used for any required cleanup / state restoration. This function is called once only, unlike performPreRenderFunctions which may be called multiple times; once for each pass in the effect.
Implemented in ElasticWindowEffect, OldWobblyWindowEffect, WobblyWindowEffect, and RenderEffect_wrapper.
Referenced by CEGUI::OpenGL3GeometryBuffer::draw(), CEGUI::DirectFBGeometryBuffer::draw(), CEGUI::OpenGLGeometryBuffer::draw(), CEGUI::NullGeometryBuffer::draw(), CEGUI::OpenGLESGeometryBuffer::draw(), CEGUI::Direct3D11GeometryBuffer::draw(), CEGUI::Direct3D10GeometryBuffer::draw(), CEGUI::Direct3D9GeometryBuffer::draw(), CEGUI::IrrlichtGeometryBuffer::draw(), CEGUI::OgreGeometryBuffer::draw(), and RenderEffect_wrapper::performPreRenderFunctions().
|
pure virtual |
Function called prior to RenderingWindow::draw being called. This is intended to be used for any required setup / state initialisation and is called once for each pass in the effect.
pass | Indicates the pass number to be initialised (starting at pass 0). |
Implemented in ElasticWindowEffect, OldWobblyWindowEffect, WobblyWindowEffect, and RenderEffect_wrapper.
Referenced by CEGUI::OpenGL3GeometryBuffer::draw(), CEGUI::DirectFBGeometryBuffer::draw(), CEGUI::OpenGLGeometryBuffer::draw(), CEGUI::NullGeometryBuffer::draw(), CEGUI::OpenGLESGeometryBuffer::draw(), CEGUI::Direct3D11GeometryBuffer::draw(), CEGUI::Direct3D10GeometryBuffer::draw(), CEGUI::Direct3D9GeometryBuffer::draw(), CEGUI::IrrlichtGeometryBuffer::draw(), CEGUI::OgreGeometryBuffer::draw(), and RenderEffect_wrapper::performPreRenderFunctions().
|
pure virtual |
Function called prior to RenderingWindow::draw being called. This is intended to be used for any required setup / state initialisation and is called once for each pass in the effect.
pass | Indicates the pass number to be initialised (starting at pass 0). |
Implemented in ElasticWindowEffect, OldWobblyWindowEffect, WobblyWindowEffect, and RenderEffect_wrapper.
|
pure virtual |
Function called to generate geometry for the RenderingWindow.
The geometry generated should be fully unclipped and window local. The origin for the geometry is located at the top-left corner.
window | The RenderingWindow object that is being processed. |
geometry | GeometryBuffer object where the generated geometry should be added. This object will be cleared before this function is invoked. |
Implemented in ElasticWindowEffect, OldWobblyWindowEffect, and WobblyWindowEffect.
Referenced by RenderEffect_wrapper::performPreRenderFunctions(), and CEGUI::RenderingWindow::realiseGeometry().
|
pure virtual |
Function called to generate geometry for the RenderingWindow.
The geometry generated should be fully unclipped and window local. The origin for the geometry is located at the top-left corner.
window | The RenderingWindow object that is being processed. |
geometry | GeometryBuffer object where the generated geometry should be added. This object will be cleared before this function is invoked. |
Implemented in ElasticWindowEffect, OldWobblyWindowEffect, and WobblyWindowEffect.
|
pure virtual |
Function called to perform any time based updates on the RenderEffect state.
elapsed | The number of seconds that have elapsed since the last time this function was called. |
window | RenderingWindow object that the RenderEffect is being applied to. |
Implemented in ElasticWindowEffect, OldWobblyWindowEffect, and WobblyWindowEffect.
|
pure virtual |
Function called to perform any time based updates on the RenderEffect state.
elapsed | The number of seconds that have elapsed since the last time this function was called. |
window | RenderingWindow object that the RenderEffect is being applied to. |
Implemented in ElasticWindowEffect, OldWobblyWindowEffect, and WobblyWindowEffect.
Referenced by RenderEffect_wrapper::performPreRenderFunctions(), and CEGUI::RenderingWindow::update().