![]() |
OGRE 1.11.6
Object-Oriented Graphics Rendering Engine
|
Provides an interface to "listen in" to to render system operations executed by this CompositorInstance. More...
#include <OgreCompositorInstance.h>
Public Member Functions | |
| virtual | ~Listener () |
| virtual void | notifyMaterialRender (uint32 pass_id, MaterialPtr &mat) |
| Notification before a render target operation involving a material (like rendering a quad), so that material parameters can be varied. | |
| virtual void | notifyMaterialSetup (uint32 pass_id, MaterialPtr &mat) |
| Notification of when a render target operation involving a material (like rendering a quad) is compiled, so that miscellaneous parameters that are different per Compositor instance can be set up. | |
| virtual void | notifyResourcesCreated (bool forResizeOnly) |
| Notification after resources have been created (or recreated). | |
| virtual void | notifyResourcesReleased (bool forResizeOnly) |
| Notification before resources have been destructed. | |
Provides an interface to "listen in" to to render system operations executed by this CompositorInstance.
|
virtual |
|
virtual |
Notification of when a render target operation involving a material (like rendering a quad) is compiled, so that miscellaneous parameters that are different per Compositor instance can be set up.
| pass_id | Pass identifier within Compositor instance, this is specified by the user by CompositionPass::setIdentifier(). |
| mat | Material, this may be changed at will and will only affect the current instance of the Compositor, not the global material it was cloned from. |
|
virtual |
Notification before a render target operation involving a material (like rendering a quad), so that material parameters can be varied.
| pass_id | Pass identifier within Compositor instance, this is specified by the user by CompositionPass::setIdentifier(). |
| mat | Material, this may be changed at will and will only affect the current instance of the Compositor, not the global material it was cloned from. |
|
virtual |
Notification after resources have been created (or recreated).
| forResizeOnly | Was the creation because the viewport was resized? |
|
virtual |
Notification before resources have been destructed.
| forResizeOnly | Was the creation because the viewport was resized? |