OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::CompositorWorkspaceListener Class Reference

#include <OgreCompositorWorkspaceListener.h>

+ Inheritance diagram for Ogre::CompositorWorkspaceListener:

Public Member Functions

virtual void allWorkspacesBeforeBeginUpdate (void)
 Called from CompositorManager2 (not CompositorWorkspace) when we're about to begin updating all the workspaces.
 
virtual void allWorkspacesBeginUpdate (void)
 Called from CompositorManager2 (not CompositorWorkspace) when we're about to update all the workspaces (it's safe to update your own workspaces without calling _beginUpdate and _endUpdate) Warning: Don't add/remove listeners to CompositorManager2 inside this function.
 
virtual void passEarlyPreExecute (CompositorPass *pass)
 Called early on in pass' execution.
 
virtual void passPosExecute (CompositorPass *pass)
 Called after a pass has been executed.
 
virtual void passPreExecute (CompositorPass *pass)
 Called when each pass is about to be executed.
 
virtual void workspacePreUpdate (CompositorWorkspace *workspace)
 Called before all nodes are going to be updated.
 

Member Function Documentation

◆ allWorkspacesBeforeBeginUpdate()

virtual void Ogre::CompositorWorkspaceListener::allWorkspacesBeforeBeginUpdate ( void  )
inlinevirtual

Called from CompositorManager2 (not CompositorWorkspace) when we're about to begin updating all the workspaces.

You'll have to manage the RenderSystem and SceneManager to call the adequate begin/end calls Warning: Don't add/remove listeners to CompositorManager2 inside this function.

Reimplemented in Ogre::ParallaxCorrectedCubemap.

◆ allWorkspacesBeginUpdate()

virtual void Ogre::CompositorWorkspaceListener::allWorkspacesBeginUpdate ( void  )
inlinevirtual

Called from CompositorManager2 (not CompositorWorkspace) when we're about to update all the workspaces (it's safe to update your own workspaces without calling _beginUpdate and _endUpdate) Warning: Don't add/remove listeners to CompositorManager2 inside this function.

Reimplemented in Ogre::ParallaxCorrectedCubemap.

◆ passEarlyPreExecute()

virtual void Ogre::CompositorWorkspaceListener::passEarlyPreExecute ( CompositorPass pass)
inlinevirtual

Called early on in pass' execution.

Happens before passPreExecute, before the pass has set anything. Warning: calling pass->execute can result in recursive calls.

◆ passPosExecute()

virtual void Ogre::CompositorWorkspaceListener::passPosExecute ( CompositorPass pass)
inlinevirtual

Called after a pass has been executed.

Warning: calling pass->execute can result in recursive calls.

◆ passPreExecute()

virtual void Ogre::CompositorWorkspaceListener::passPreExecute ( CompositorPass pass)
inlinevirtual

Called when each pass is about to be executed.

Warning: calling pass->execute can result in recursive calls.

Reimplemented in Ogre::ParallaxCorrectedCubemap.

◆ workspacePreUpdate()

virtual void Ogre::CompositorWorkspaceListener::workspacePreUpdate ( CompositorWorkspace workspace)
inlinevirtual

Called before all nodes are going to be updated.

Use this place to update your own, manually updated Workspaces without having to call @CompositorWorkspace::_beginUpdate( forceBeginFrame=true )


The documentation for this class was generated from the following file: