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


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




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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{class_ogre_1_1_compositor_instance_1_1_listener_a82e8895563c0105986b247d973902e1d}{$\sim$\+Listener} ()
\item 
virtual void \hyperlink{class_ogre_1_1_compositor_instance_1_1_listener_a4234db3c8711ea3f253b98b13ece8f2e}{notify\+Material\+Render} (\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} pass\+\_\+id, \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 \hyperlink{class_ogre_1_1_compositor_instance_1_1_listener_a487a34865d41776e7ff9f42b4bcf7422}{notify\+Material\+Setup} (\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} pass\+\_\+id, \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 \hyperlink{class_ogre_1_1_compositor}{Compositor} instance can be set up. \end{DoxyCompactList}\item 
virtual void \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 \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}


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

\subsection{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\+::\+Compositor\+Instance\+::\+Listener@{Ogre\+::\+Compositor\+Instance\+::\+Listener}!````~Listener@{$\sim$\+Listener}}
\index{````~Listener@{$\sim$\+Listener}!Ogre\+::\+Compositor\+Instance\+::\+Listener@{Ogre\+::\+Compositor\+Instance\+::\+Listener}}
\subsubsection{\texorpdfstring{$\sim$\+Listener()}{~Listener()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Compositor\+Instance\+::\+Listener\+::$\sim$\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\subsection{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\+::\+Compositor\+Instance\+::\+Listener@{Ogre\+::\+Compositor\+Instance\+::\+Listener}!notify\+Material\+Setup@{notify\+Material\+Setup}}
\index{notify\+Material\+Setup@{notify\+Material\+Setup}!Ogre\+::\+Compositor\+Instance\+::\+Listener@{Ogre\+::\+Compositor\+Instance\+::\+Listener}}
\subsubsection{\texorpdfstring{notify\+Material\+Setup()}{notifyMaterialSetup()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Compositor\+Instance\+::\+Listener\+::notify\+Material\+Setup (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{pass\+\_\+id,  }\item[{\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 \hyperlink{class_ogre_1_1_compositor}{Compositor} instance can be set up. 


\begin{DoxyParams}{Parameters}
{\em pass\+\_\+id} & \hyperlink{class_ogre_1_1_pass}{Pass} identifier within \hyperlink{class_ogre_1_1_compositor}{Compositor} instance, this is specified by the user by \hyperlink{class_ogre_1_1_composition_pass_a56bb1d899a43195712944398e2d1bc65}{Composition\+Pass\+::set\+Identifier()}. \\
\hline
{\em mat} & \hyperlink{class_ogre_1_1_material}{Material}, this may be changed at will and will only affect the current instance of the \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\+::\+Compositor\+Instance\+::\+Listener@{Ogre\+::\+Compositor\+Instance\+::\+Listener}!notify\+Material\+Render@{notify\+Material\+Render}}
\index{notify\+Material\+Render@{notify\+Material\+Render}!Ogre\+::\+Compositor\+Instance\+::\+Listener@{Ogre\+::\+Compositor\+Instance\+::\+Listener}}
\subsubsection{\texorpdfstring{notify\+Material\+Render()}{notifyMaterialRender()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Compositor\+Instance\+::\+Listener\+::notify\+Material\+Render (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{pass\+\_\+id,  }\item[{\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} & \hyperlink{class_ogre_1_1_pass}{Pass} identifier within \hyperlink{class_ogre_1_1_compositor}{Compositor} instance, this is specified by the user by \hyperlink{class_ogre_1_1_composition_pass_a56bb1d899a43195712944398e2d1bc65}{Composition\+Pass\+::set\+Identifier()}. \\
\hline
{\em mat} & \hyperlink{class_ogre_1_1_material}{Material}, this may be changed at will and will only affect the current instance of the \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\+::\+Compositor\+Instance\+::\+Listener@{Ogre\+::\+Compositor\+Instance\+::\+Listener}!notify\+Resources\+Created@{notify\+Resources\+Created}}
\index{notify\+Resources\+Created@{notify\+Resources\+Created}!Ogre\+::\+Compositor\+Instance\+::\+Listener@{Ogre\+::\+Compositor\+Instance\+::\+Listener}}
\subsubsection{\texorpdfstring{notify\+Resources\+Created()}{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\+::\+Compositor\+Instance\+::\+Listener@{Ogre\+::\+Compositor\+Instance\+::\+Listener}!notify\+Resources\+Released@{notify\+Resources\+Released}}
\index{notify\+Resources\+Released@{notify\+Resources\+Released}!Ogre\+::\+Compositor\+Instance\+::\+Listener@{Ogre\+::\+Compositor\+Instance\+::\+Listener}}
\subsubsection{\texorpdfstring{notify\+Resources\+Released()}{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 
\hyperlink{_ogre_compositor_instance_8h}{Ogre\+Compositor\+Instance.\+h}\end{DoxyCompactItemize}
