\hypertarget{class_ogre_1_1_render_queue_1_1_renderable_listener}{}\doxysection{Ogre\+::Render\+Queue\+::Renderable\+Listener Class Reference}
\label{class_ogre_1_1_render_queue_1_1_renderable_listener}\index{Ogre::RenderQueue::RenderableListener@{Ogre::RenderQueue::RenderableListener}}


Class to listen in on items being added to the render queue.  




{\ttfamily \#include $<$Ogre\+Render\+Queue.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_render_queue_1_1_renderable_listener_a0820da08b1cfaa649e9795e005161d98}{Renderable\+Listener}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_render_queue_1_1_renderable_listener_aa1cf2797eb257b192b5a7f4d7927bce6}{$\sim$\+Renderable\+Listener}} ()
\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_render_queue_1_1_renderable_listener_a3798c1ccf6bb418eaaa0ddb43e745199}{renderable\+Queued}} (\mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$rend, \mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} group\+ID, \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} priority, \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$$\ast$pp\+Tech, \mbox{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue}} $\ast$p\+Queue)=0
\begin{DoxyCompactList}\small\item\em Method called when a \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} is added to the queue. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Class to listen in on items being added to the render queue. 

\begin{DoxyRemark}{Remarks}
Use \mbox{\hyperlink{class_ogre_1_1_render_queue_a4830aa759ae0619a637dc979f8f0d581}{Render\+Queue\+::set\+Renderable\+Listener}} to get callbacks when an item is added to the render queue. 
\end{DoxyRemark}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_1_1_renderable_listener_a0820da08b1cfaa649e9795e005161d98}\label{class_ogre_1_1_render_queue_1_1_renderable_listener_a0820da08b1cfaa649e9795e005161d98}} 
\index{Ogre::RenderQueue::RenderableListener@{Ogre::RenderQueue::RenderableListener}!RenderableListener@{RenderableListener}}
\index{RenderableListener@{RenderableListener}!Ogre::RenderQueue::RenderableListener@{Ogre::RenderQueue::RenderableListener}}
\doxysubsubsection{\texorpdfstring{RenderableListener()}{RenderableListener()}}
{\footnotesize\ttfamily Ogre\+::\+Render\+Queue\+::\+Renderable\+Listener\+::\+Renderable\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_render_queue_1_1_renderable_listener_aa1cf2797eb257b192b5a7f4d7927bce6}\label{class_ogre_1_1_render_queue_1_1_renderable_listener_aa1cf2797eb257b192b5a7f4d7927bce6}} 
\index{Ogre::RenderQueue::RenderableListener@{Ogre::RenderQueue::RenderableListener}!````~RenderableListener@{$\sim$RenderableListener}}
\index{````~RenderableListener@{$\sim$RenderableListener}!Ogre::RenderQueue::RenderableListener@{Ogre::RenderQueue::RenderableListener}}
\doxysubsubsection{\texorpdfstring{$\sim$RenderableListener()}{~RenderableListener()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Render\+Queue\+::\+Renderable\+Listener\+::$\sim$\+Renderable\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_1_1_renderable_listener_a3798c1ccf6bb418eaaa0ddb43e745199}\label{class_ogre_1_1_render_queue_1_1_renderable_listener_a3798c1ccf6bb418eaaa0ddb43e745199}} 
\index{Ogre::RenderQueue::RenderableListener@{Ogre::RenderQueue::RenderableListener}!renderableQueued@{renderableQueued}}
\index{renderableQueued@{renderableQueued}!Ogre::RenderQueue::RenderableListener@{Ogre::RenderQueue::RenderableListener}}
\doxysubsubsection{\texorpdfstring{renderableQueued()}{renderableQueued()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Render\+Queue\+::\+Renderable\+Listener\+::renderable\+Queued (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$}]{rend,  }\item[{\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}}}]{group\+ID,  }\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{priority,  }\item[{\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$$\ast$}]{pp\+Tech,  }\item[{\mbox{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue}} $\ast$}]{p\+Queue }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Method called when a \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} is added to the queue. 

\begin{DoxyRemark}{Remarks}
You can use this event hook to alter the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} used to render a \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} as the item is added to the queue. This is a low-\/level way to override the material settings for a given \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} on the fly. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em rend} & The \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} being added to the queue \\
\hline
{\em group\+ID} & The render queue group this \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} is being added to \\
\hline
{\em priority} & The priority the \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} has been given \\
\hline
{\em pp\+Tech} & A pointer to the pointer to the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} that is intended to be used; you can alter this to an alternate \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} if you so wish (the \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} doesn\textquotesingle{}t have to be from the same \mbox{\hyperlink{class_ogre_1_1_material}{Material}} either). \\
\hline
{\em p\+Queue} & Pointer to the render queue that this object is being added to. You can for example call this back to duplicate the object with a different technique \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true to allow the \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} to be added to the queue, false if you want to prevent it being added 
\end{DoxyReturn}


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