\hypertarget{class_ogre_1_1_compositor_instance_1_1_listener}{}\doxysection{Ogre\+::Compositor\+Instance\+::Listener Class Reference}
\label{class_ogre_1_1_compositor_instance_1_1_listener}\index{Ogre::CompositorInstance::Listener@{Ogre::CompositorInstance::Listener}}


Provides an interface to \char`\"{}listen in\char`\"{} to to render system operations executed by this \mbox{\hyperlink{class_ogre_1_1_compositor_instance}{Compositor\+Instance}}.  




{\ttfamily \#include $<$Ogre\+Compositor\+Instance.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_compositor_instance_1_1_listener_a82e8895563c0105986b247d973902e1d}{$\sim$\+Listener}} ()
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_compositor_instance_1_1_listener_a4234db3c8711ea3f253b98b13ece8f2e}{notify\+Material\+Render}} (\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} pass\+\_\+id, \mbox{\hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}} \&mat)
\begin{DoxyCompactList}\small\item\em Notification before a render target operation involving a material (like rendering a quad), so that material parameters can be varied. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_compositor_instance_1_1_listener_a487a34865d41776e7ff9f42b4bcf7422}{notify\+Material\+Setup}} (\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} pass\+\_\+id, \mbox{\hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}} \&mat)
\begin{DoxyCompactList}\small\item\em Notification of when a render target operation involving a material (like rendering a quad) is compiled, so that miscellaneous parameters that are different per \mbox{\hyperlink{class_ogre_1_1_compositor}{Compositor}} instance can be set up. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_compositor_instance_1_1_listener_a676b698ff66347981e632977b34de693}{notify\+Resources\+Created}} (bool for\+Resize\+Only)
\begin{DoxyCompactList}\small\item\em Notification after resources have been created (or recreated). \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_compositor_instance_1_1_listener_aeaa3d5a5b77a17f9701c91341ee50e1b}{notify\+Resources\+Released}} (bool for\+Resize\+Only)
\begin{DoxyCompactList}\small\item\em Notification before resources have been destructed. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Provides an interface to \char`\"{}listen in\char`\"{} to to render system operations executed by this \mbox{\hyperlink{class_ogre_1_1_compositor_instance}{Compositor\+Instance}}. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_compositor_instance_1_1_listener_a82e8895563c0105986b247d973902e1d}\label{class_ogre_1_1_compositor_instance_1_1_listener_a82e8895563c0105986b247d973902e1d}} 
\index{Ogre::CompositorInstance::Listener@{Ogre::CompositorInstance::Listener}!````~Listener@{$\sim$Listener}}
\index{````~Listener@{$\sim$Listener}!Ogre::CompositorInstance::Listener@{Ogre::CompositorInstance::Listener}}
\doxysubsubsection{\texorpdfstring{$\sim$Listener()}{~Listener()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Compositor\+Instance\+::\+Listener\+::$\sim$\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_compositor_instance_1_1_listener_a487a34865d41776e7ff9f42b4bcf7422}\label{class_ogre_1_1_compositor_instance_1_1_listener_a487a34865d41776e7ff9f42b4bcf7422}} 
\index{Ogre::CompositorInstance::Listener@{Ogre::CompositorInstance::Listener}!notifyMaterialSetup@{notifyMaterialSetup}}
\index{notifyMaterialSetup@{notifyMaterialSetup}!Ogre::CompositorInstance::Listener@{Ogre::CompositorInstance::Listener}}
\doxysubsubsection{\texorpdfstring{notifyMaterialSetup()}{notifyMaterialSetup()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Compositor\+Instance\+::\+Listener\+::notify\+Material\+Setup (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{pass\+\_\+id,  }\item[{\mbox{\hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}} \&}]{mat }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [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 \mbox{\hyperlink{class_ogre_1_1_compositor}{Compositor}} instance can be set up. 


\begin{DoxyParams}{Parameters}
{\em pass\+\_\+id} & \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} identifier within \mbox{\hyperlink{class_ogre_1_1_compositor}{Compositor}} instance, this is specified by the user by \mbox{\hyperlink{class_ogre_1_1_composition_pass_a56bb1d899a43195712944398e2d1bc65}{Composition\+Pass\+::set\+Identifier()}}. \\
\hline
{\em mat} & \mbox{\hyperlink{class_ogre_1_1_material}{Material}}, this may be changed at will and will only affect the current instance of the \mbox{\hyperlink{class_ogre_1_1_compositor}{Compositor}}, not the global material it was cloned from. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_compositor_instance_1_1_listener_a4234db3c8711ea3f253b98b13ece8f2e}\label{class_ogre_1_1_compositor_instance_1_1_listener_a4234db3c8711ea3f253b98b13ece8f2e}} 
\index{Ogre::CompositorInstance::Listener@{Ogre::CompositorInstance::Listener}!notifyMaterialRender@{notifyMaterialRender}}
\index{notifyMaterialRender@{notifyMaterialRender}!Ogre::CompositorInstance::Listener@{Ogre::CompositorInstance::Listener}}
\doxysubsubsection{\texorpdfstring{notifyMaterialRender()}{notifyMaterialRender()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Compositor\+Instance\+::\+Listener\+::notify\+Material\+Render (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{pass\+\_\+id,  }\item[{\mbox{\hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}} \&}]{mat }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Notification before a render target operation involving a material (like rendering a quad), so that material parameters can be varied. 


\begin{DoxyParams}{Parameters}
{\em pass\+\_\+id} & \mbox{\hyperlink{class_ogre_1_1_pass}{Pass}} identifier within \mbox{\hyperlink{class_ogre_1_1_compositor}{Compositor}} instance, this is specified by the user by \mbox{\hyperlink{class_ogre_1_1_composition_pass_a56bb1d899a43195712944398e2d1bc65}{Composition\+Pass\+::set\+Identifier()}}. \\
\hline
{\em mat} & \mbox{\hyperlink{class_ogre_1_1_material}{Material}}, this may be changed at will and will only affect the current instance of the \mbox{\hyperlink{class_ogre_1_1_compositor}{Compositor}}, not the global material it was cloned from. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_compositor_instance_1_1_listener_a676b698ff66347981e632977b34de693}\label{class_ogre_1_1_compositor_instance_1_1_listener_a676b698ff66347981e632977b34de693}} 
\index{Ogre::CompositorInstance::Listener@{Ogre::CompositorInstance::Listener}!notifyResourcesCreated@{notifyResourcesCreated}}
\index{notifyResourcesCreated@{notifyResourcesCreated}!Ogre::CompositorInstance::Listener@{Ogre::CompositorInstance::Listener}}
\doxysubsubsection{\texorpdfstring{notifyResourcesCreated()}{notifyResourcesCreated()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Compositor\+Instance\+::\+Listener\+::notify\+Resources\+Created (\begin{DoxyParamCaption}\item[{bool}]{for\+Resize\+Only }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Notification after resources have been created (or recreated). 


\begin{DoxyParams}{Parameters}
{\em for\+Resize\+Only} & Was the creation because the viewport was resized? \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_compositor_instance_1_1_listener_aeaa3d5a5b77a17f9701c91341ee50e1b}\label{class_ogre_1_1_compositor_instance_1_1_listener_aeaa3d5a5b77a17f9701c91341ee50e1b}} 
\index{Ogre::CompositorInstance::Listener@{Ogre::CompositorInstance::Listener}!notifyResourcesReleased@{notifyResourcesReleased}}
\index{notifyResourcesReleased@{notifyResourcesReleased}!Ogre::CompositorInstance::Listener@{Ogre::CompositorInstance::Listener}}
\doxysubsubsection{\texorpdfstring{notifyResourcesReleased()}{notifyResourcesReleased()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Compositor\+Instance\+::\+Listener\+::notify\+Resources\+Released (\begin{DoxyParamCaption}\item[{bool}]{for\+Resize\+Only }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Notification before resources have been destructed. 


\begin{DoxyParams}{Parameters}
{\em for\+Resize\+Only} & Was the creation because the viewport was resized? \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_compositor_instance_8h}{Ogre\+Compositor\+Instance.\+h}}\end{DoxyCompactItemize}
