|
Crazy Eddie's GUI System
0.8.4
|
Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved. More...
Inheritance diagram for CEGUI::RenderEffect:
Collaboration diagram for CEGUI::RenderEffect:Public Member Functions | |
| virtual int | getPassCount () const =0 |
| Return the number of passes required by this effect. | |
| 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. | |
| 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. | |
| virtual bool | realiseGeometry (RenderingWindow &window, GeometryBuffer &geometry)=0 |
| Function called to generate geometry for the RenderingWindow. | |
| virtual bool | update (const float elapsed, RenderingWindow &window)=0 |
| Function called to perform any time based updates on the RenderEffect state. | |
Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.
| virtual int CEGUI::RenderEffect::getPassCount | ( | ) | const [pure virtual] |
Return the number of passes required by this effect.
| virtual void CEGUI::RenderEffect::performPostRenderFunctions | ( | ) | [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.
| virtual void CEGUI::RenderEffect::performPreRenderFunctions | ( | const int | pass | ) | [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). |
| virtual bool CEGUI::RenderEffect::realiseGeometry | ( | RenderingWindow & | window, |
| GeometryBuffer & | geometry | ||
| ) | [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. |
| virtual bool CEGUI::RenderEffect::update | ( | const float | elapsed, |
| RenderingWindow & | window | ||
| ) | [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. |