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


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




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

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


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

\begin{DoxyRemark}{Remarks}
Use \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}


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



\subsection{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\+::\+Render\+Queue\+::\+Renderable\+Listener@{Ogre\+::\+Render\+Queue\+::\+Renderable\+Listener}!renderable\+Queued@{renderable\+Queued}}
\index{renderable\+Queued@{renderable\+Queued}!Ogre\+::\+Render\+Queue\+::\+Renderable\+Listener@{Ogre\+::\+Render\+Queue\+::\+Renderable\+Listener}}
\subsubsection{\texorpdfstring{renderable\+Queued()}{renderableQueued()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Render\+Queue\+::\+Renderable\+Listener\+::renderable\+Queued (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_renderable}{Renderable} $\ast$}]{rend,  }\item[{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}}]{group\+ID,  }\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{priority,  }\item[{\hyperlink{class_ogre_1_1_technique}{Technique} $\ast$$\ast$}]{pp\+Tech,  }\item[{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue} $\ast$}]{p\+Queue }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



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

\begin{DoxyRemark}{Remarks}
You can use this event hook to alter the \hyperlink{class_ogre_1_1_technique}{Technique} used to render a \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 \hyperlink{class_ogre_1_1_renderable}{Renderable} on the fly. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em rend} & The \hyperlink{class_ogre_1_1_renderable}{Renderable} being added to the queue \\
\hline
{\em group\+ID} & The render queue group this \hyperlink{class_ogre_1_1_renderable}{Renderable} is being added to \\
\hline
{\em priority} & The priority the \hyperlink{class_ogre_1_1_renderable}{Renderable} has been given \\
\hline
{\em pp\+Tech} & A pointer to the pointer to the \hyperlink{class_ogre_1_1_technique}{Technique} that is intended to be used; you can alter this to an alternate \hyperlink{class_ogre_1_1_technique}{Technique} if you so wish (the \hyperlink{class_ogre_1_1_technique}{Technique} doesn\textquotesingle{}t have to be from the same \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 \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 
\hyperlink{_ogre_render_queue_8h}{Ogre\+Render\+Queue.\+h}\end{DoxyCompactItemize}
