#include <OgreCompositorChain.h>
Inheritance diagram for Ogre::CompositorChain:

Public Types | |
| typedef std::vector< CompositorInstance * > | Instances |
| Data types. | |
| typedef VectorIterator< Instances > | InstanceIterator |
Public Member Functions | |
| CompositorChain (Viewport *vp) | |
| virtual | ~CompositorChain () |
| Another gcc warning here, which is no problem because RenderTargetListener is never used to delete an object. | |
| CompositorInstance * | addCompositor (CompositorPtr filter, size_t addPosition=LAST, size_t technique=BEST) |
| Apply a compositor. | |
| void | removeCompositor (size_t position=LAST) |
| Remove a compositor. | |
| size_t | getNumCompositors () |
| Get the number of compositors. | |
| void | removeAllCompositors () |
| Remove all compositors. | |
| CompositorInstance * | getCompositor (size_t index) |
| Get compositor instance by position. | |
| CompositorInstance * | _getOriginalSceneCompositor (void) |
| Get the original scene compositor instance for this chain (internal use). | |
| InstanceIterator | getCompositors () |
| Get an iterator over the compositor instances. | |
| void | setCompositorEnabled (size_t position, bool state) |
| Enable or disable a compositor, by position. | |
| virtual void | preRenderTargetUpdate (const RenderTargetEvent &evt) |
| virtual void | preViewportUpdate (const RenderTargetViewportEvent &evt) |
| virtual void | postViewportUpdate (const RenderTargetViewportEvent &evt) |
| virtual void | viewportRemoved (const RenderTargetViewportEvent &evt) |
| void | _markDirty () |
| Mark state as dirty, and to be recompiled next frame. | |
| Viewport * | getViewport () |
| Get viewport that is the target of this chain. | |
| void | _removeInstance (CompositorInstance *i) |
| Remove a compositor by pointer. | |
| virtual void | postRenderTargetUpdate (const RenderTargetEvent &evt) |
| Called just after a RenderTarget has been rendered to. | |
| virtual void | viewportAdded (const RenderTargetViewportEvent &evt) |
| Called to notify listener that a Viewport has been added to the target in question. | |
Static Public Attributes | |
| static const size_t | LAST = (size_t)-1 |
| Identifier for "last" compositor in chain. | |
| static const size_t | BEST = 0 |
| Identifier for best technique. | |
Protected Member Functions | |
| void | _compile () |
| Compile this Composition chain into a series of RenderTarget operations. | |
| void | preTargetOperation (CompositorInstance::TargetOperation &op, Viewport *vp, Camera *cam) |
| Prepare a viewport, the camera and the scene for a rendering operation. | |
| void | postTargetOperation (CompositorInstance::TargetOperation &op, Viewport *vp, Camera *cam) |
| Restore a viewport, the camera and the scene after a rendering operation. | |
| void | destroyResources (void) |
| destroy internal resources | |
Protected Attributes | |
| Viewport * | mViewport |
| Viewport affected by this CompositorChain. | |
| CompositorInstance * | mOriginalScene |
| Plainly renders the scene; implicit first compositor in the chain. | |
| Instances | mInstances |
| Postfilter instances in this chain. | |
| bool | mDirty |
| State needs recompile. | |
| bool | mAnyCompositorsEnabled |
| Any compositors enabled? | |
| CompositorInstance::CompiledState | mCompiledState |
| Compiled state (updated with _compile). | |
| CompositorInstance::TargetOperation | mOutputOperation |
| RQListener | mOurListener |
| unsigned int | mOldClearEveryFrameBuffers |
| Old viewport settings. | |
| uint32 | mOldVisibilityMask |
| Store old scene visibility mask. | |
| bool | mOldFindVisibleObjects |
| Store old find visible objects. | |
| float | mOldLodBias |
| Store old camera LOD bias. | |
| String | mOldMaterialScheme |
| Store old viewport material scheme. | |
Classes | |
| class | RQListener |
| Render queue listener used to set up rendering events. More... | |
Definition at line 37 of file OgreCompositorChain.h.
|
|
Definition at line 49 of file OgreCompositorChain.h. |
|
|
Data types.
Definition at line 48 of file OgreCompositorChain.h. |
|
|
|
|
|
Another gcc warning here, which is no problem because RenderTargetListener is never used to delete an object. warning: `class Ogre::CompositorChain' has virtual functions but non-virtual destructor |
|
|
Compile this Composition chain into a series of RenderTarget operations.
|
|
|
Get the original scene compositor instance for this chain (internal use).
Definition at line 83 of file OgreCompositorChain.h. |
|
|
Mark state as dirty, and to be recompiled next frame.
|
|
|
Remove a compositor by pointer. This is internally used by CompositionTechnique to "weak" remove any instanced of a deleted technique. |
|
||||||||||||||||
|
Apply a compositor. Initially, the filter is enabled.
|
|
|
destroy internal resources
|
|
|
Get compositor instance by position.
|
|
|
Get an iterator over the compositor instances. The first compositor in this list is applied first, the last one is applied last. |
|
|
Get the number of compositors.
|
|
|
Get viewport that is the target of this chain.
|
|
|
Called just after a RenderTarget has been rendered to.
Definition at line 100 of file OgreRenderTargetListener.h. |
|
||||||||||||||||
|
Restore a viewport, the camera and the scene after a rendering operation.
|
|
|
Reimplemented from Ogre::RenderTargetListener. |
|
|
Reimplemented from Ogre::RenderTargetListener. |
|
||||||||||||||||
|
Prepare a viewport, the camera and the scene for a rendering operation.
|
|
|
Reimplemented from Ogre::RenderTargetListener. |
|
|
Remove all compositors.
|
|
|
Remove a compositor.
|
|
||||||||||||
|
Enable or disable a compositor, by position. Disabling a compositor stops it from rendering but does not free any resources. This can be more efficient than using removeCompositor and addCompositor in cases the filter is switched on and off a lot.
|
|
|
Called to notify listener that a Viewport has been added to the target in question.
Definition at line 120 of file OgreRenderTargetListener.h. |
|
|
Reimplemented from Ogre::RenderTargetListener. |
|
|
Identifier for best technique.
Definition at line 54 of file OgreCompositorChain.h. |
|
|
Identifier for "last" compositor in chain.
Definition at line 52 of file OgreCompositorChain.h. |
|
|
Any compositors enabled?
Definition at line 131 of file OgreCompositorChain.h. |
|
|
Compiled state (updated with _compile).
Definition at line 134 of file OgreCompositorChain.h. |
|
|
State needs recompile.
Definition at line 129 of file OgreCompositorChain.h. |
|
|
Postfilter instances in this chain.
Definition at line 126 of file OgreCompositorChain.h. |
|
|
Old viewport settings.
Definition at line 180 of file OgreCompositorChain.h. |
|
|
Store old find visible objects.
Definition at line 184 of file OgreCompositorChain.h. |
|
|
Store old camera LOD bias.
Definition at line 186 of file OgreCompositorChain.h. |
|
|
Store old viewport material scheme.
Definition at line 188 of file OgreCompositorChain.h. |
|
|
Store old scene visibility mask.
Definition at line 182 of file OgreCompositorChain.h. |
|
|
Plainly renders the scene; implicit first compositor in the chain.
Definition at line 123 of file OgreCompositorChain.h. |
|
|
Definition at line 178 of file OgreCompositorChain.h. |
|
|
Definition at line 135 of file OgreCompositorChain.h. |
|
|
Viewport affected by this CompositorChain.
Definition at line 119 of file OgreCompositorChain.h. |
Copyright © 2000-2005 by The OGRE Team

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Jun 11 10:47:02 2006