\hypertarget{class_ogre_1_1_render_queue}{}\doxysection{Ogre\+::Render\+Queue Class Reference}
\label{class_ogre_1_1_render_queue}\index{Ogre::RenderQueue@{Ogre::RenderQueue}}


Class to manage the scene object rendering queue.  




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



Inheritance diagram for Ogre\+::Render\+Queue\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=192pt]{class_ogre_1_1_render_queue__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{class_ogre_1_1_render_queue_1_1_renderable_listener}{Renderable\+Listener}}
\begin{DoxyCompactList}\small\item\em Class to listen in on items being added to the render queue. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\+::unique\+\_\+ptr$<$ \mbox{\hyperlink{class_ogre_1_1_render_queue_group}{Render\+Queue\+Group}} $>$ \mbox{\hyperlink{class_ogre_1_1_render_queue_ab4539a82d72ab375cd141f5408aa3320}{Render\+Queue\+Group\+Map}}\mbox{[}\mbox{\hyperlink{group___render_system_ggad08013a341ff0ef07c39fa3502bf6c00a2d1e261d9e3298b1cb7272b392f550b1}{R\+E\+N\+D\+E\+R\+\_\+\+Q\+U\+E\+U\+E\+\_\+\+M\+AX}}\mbox{]}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_render_queue_a5454a3907c8ce62ab9454b7e4e6ef818}{Render\+Queue}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_render_queue_a15db5053b0d5bbd21cf9e797ea06f0d9}{$\sim$\+Render\+Queue}} ()
\item 
const \mbox{\hyperlink{class_ogre_1_1_render_queue_ab4539a82d72ab375cd141f5408aa3320}{Render\+Queue\+Group\+Map}} \& \mbox{\hyperlink{class_ogre_1_1_render_queue_ab492da8b8a2ed95956a42207fdde8c47}{\+\_\+get\+Queue\+Groups}} () const
\begin{DoxyCompactList}\small\item\em Internal method, returns the queue groups. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_acc8caa5feac9cee401f34f5aa1918d0d}{add\+Renderable}} (\mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$p\+Rend)
\begin{DoxyCompactList}\small\item\em Add a renderable object to the queue. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_a8b67aff41b50d24cef0420871ce6f3af}{add\+Renderable}} (\mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$p\+Rend, \mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} group\+Id)
\begin{DoxyCompactList}\small\item\em Add a renderable object to the queue. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_aedb30e0dd6cd6db7f74650d311a68013}{add\+Renderable}} (\mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$p\+Rend, \mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} group\+ID, \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} priority)
\begin{DoxyCompactList}\small\item\em Add a renderable object to the queue. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_a7351e9922649a71a54fb5b0ccfb525c4}{clear}} (bool destroy\+Pass\+Maps=false)
\begin{DoxyCompactList}\small\item\em Empty the queue -\/ should only be called by Scene\+Managers. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} \mbox{\hyperlink{class_ogre_1_1_render_queue_aa5c1a5214c10422de1a473ac56edba37}{get\+Default\+Queue\+Group}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the current default queue group, which will be used for all renderable which do not specify which group they wish to be on. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} \mbox{\hyperlink{class_ogre_1_1_render_queue_aa34df6226f67084565eac7bb074ea744}{get\+Default\+Renderable\+Priority}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the current default renderable priority, which will be used for all renderables which do not specify which priority they wish to use. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_render_queue_group}{Render\+Queue\+Group}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_render_queue_a6d85342418d78d733f887530e73da1c0}{get\+Queue\+Group}} (\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} qid)
\begin{DoxyCompactList}\small\item\em Get a render queue group. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_render_queue_1_1_renderable_listener}{Renderable\+Listener}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_render_queue_a8739474ebe8df212583287e8b012fa86}{get\+Renderable\+Listener}} (void) const
\item 
bool \mbox{\hyperlink{class_ogre_1_1_render_queue_ad5abe9b1faef28536da92d2c836b4df8}{get\+Shadow\+Casters\+Cannot\+Be\+Receivers}} (void) const
\begin{DoxyCompactList}\small\item\em Gets whether or not objects which cast shadows should be treated as never receiving shadows. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_render_queue_a5898a67b700d740c9b7416a10007ac55}{get\+Split\+No\+Shadow\+Passes}} (void) const
\begin{DoxyCompactList}\small\item\em Gets whether or not the queue will split passes which have shadow receive turned off (in their parent material), which is needed when certain shadow techniques are used. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_render_queue_a508c8398715d145fb899e43e3d58ce00}{get\+Split\+Passes\+By\+Lighting\+Type}} (void) const
\begin{DoxyCompactList}\small\item\em Gets whether or not the queue will split passes by their lighting type, ie ambient, per-\/light and decal. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_a55552364f1a8ecb2fb9a166ef92e070a}{merge}} (const \mbox{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue}} $\ast$rhs)
\begin{DoxyCompactList}\small\item\em Merge render queue. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_a5af90d52791616e975fc0da4dc1ec78e}{process\+Visible\+Object}} (\mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}} $\ast$mo, \mbox{\hyperlink{class_ogre_1_1_camera}{Camera}} $\ast$cam, bool only\+Shadow\+Casters, \mbox{\hyperlink{struct_ogre_1_1_visible_objects_bounds_info}{Visible\+Objects\+Bounds\+Info}} $\ast$visible\+Bounds)
\begin{DoxyCompactList}\small\item\em Utility method to perform the standard actions associated with getting a visible object to add itself to the queue. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_aee86531136c2069ab7ed03ec8802b624}{set\+Default\+Queue\+Group}} (\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} grp)
\begin{DoxyCompactList}\small\item\em Sets the current default queue group, which will be used for all renderable which do not specify which group they wish to be on. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_aeb5d94b3d357524a08affce11c383374}{set\+Default\+Renderable\+Priority}} (\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} priority)
\begin{DoxyCompactList}\small\item\em Sets the current default renderable priority, which will be used for all renderables which do not specify which priority they wish to use. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_a4830aa759ae0619a637dc979f8f0d581}{set\+Renderable\+Listener}} (\mbox{\hyperlink{class_ogre_1_1_render_queue_1_1_renderable_listener}{Renderable\+Listener}} $\ast$listener)
\begin{DoxyCompactList}\small\item\em Set a renderable listener on the queue. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_aac9a571f752196f24799e5aebb6bd715}{set\+Shadow\+Casters\+Cannot\+Be\+Receivers}} (bool ind)
\begin{DoxyCompactList}\small\item\em Sets whether or not objects which cast shadows should be treated as never receiving shadows. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_a4edec1309abf170a0dd09612911fc4bc}{set\+Split\+No\+Shadow\+Passes}} (bool split)
\begin{DoxyCompactList}\small\item\em Sets whether or not the queue will split passes which have shadow receive turned off (in their parent material), which is needed when certain shadow techniques are used. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_queue_a12c00d063c95049da895c7bfc8923311}{set\+Split\+Passes\+By\+Lighting\+Type}} (bool split)
\begin{DoxyCompactList}\small\item\em Sets whether or not the queue will split passes by their lighting type, ie ambient, per-\/light and decal. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Class to manage the scene object rendering queue. 

\begin{DoxyRemark}{Remarks}
Objects are grouped by material to minimise rendering state changes. The map from material to renderable object is wrapped in a class for ease of use. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This class now includes the concept of \textquotesingle{}queue groups\textquotesingle{} which allows the application adding the renderable to specifically schedule it so that it is included in a discrete group. Good for separating renderables into the main scene, backgrounds and overlays, and also could be used in the future for more complex multipass routines like stenciling. 
\end{DoxyParagraph}


\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_ab4539a82d72ab375cd141f5408aa3320}\label{class_ogre_1_1_render_queue_ab4539a82d72ab375cd141f5408aa3320}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!RenderQueueGroupMap@{RenderQueueGroupMap}}
\index{RenderQueueGroupMap@{RenderQueueGroupMap}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{RenderQueueGroupMap}{RenderQueueGroupMap}}
{\footnotesize\ttfamily typedef std\+::unique\+\_\+ptr$<$\mbox{\hyperlink{class_ogre_1_1_render_queue_group}{Render\+Queue\+Group}}$>$ Ogre\+::\+Render\+Queue\+::\+Render\+Queue\+Group\+Map\mbox{[}\mbox{\hyperlink{group___render_system_ggad08013a341ff0ef07c39fa3502bf6c00a2d1e261d9e3298b1cb7272b392f550b1}{R\+E\+N\+D\+E\+R\+\_\+\+Q\+U\+E\+U\+E\+\_\+\+M\+AX}}\mbox{]}}



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_a5454a3907c8ce62ab9454b7e4e6ef818}\label{class_ogre_1_1_render_queue_a5454a3907c8ce62ab9454b7e4e6ef818}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!RenderQueue@{RenderQueue}}
\index{RenderQueue@{RenderQueue}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{RenderQueue()}{RenderQueue()}}
{\footnotesize\ttfamily Ogre\+::\+Render\+Queue\+::\+Render\+Queue (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

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



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_a7351e9922649a71a54fb5b0ccfb525c4}\label{class_ogre_1_1_render_queue_a7351e9922649a71a54fb5b0ccfb525c4}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!clear@{clear}}
\index{clear@{clear}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{clear()}{clear()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::clear (\begin{DoxyParamCaption}\item[{bool}]{destroy\+Pass\+Maps = {\ttfamily false} }\end{DoxyParamCaption})}



Empty the queue -\/ should only be called by Scene\+Managers. 


\begin{DoxyParams}{Parameters}
{\em destroy\+Pass\+Maps} & Set to true to destroy all pass maps so that the queue is completely clean (useful when switching scene managers) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_a6d85342418d78d733f887530e73da1c0}\label{class_ogre_1_1_render_queue_a6d85342418d78d733f887530e73da1c0}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!getQueueGroup@{getQueueGroup}}
\index{getQueueGroup@{getQueueGroup}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{getQueueGroup()}{getQueueGroup()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_render_queue_group}{Render\+Queue\+Group}}$\ast$ Ogre\+::\+Render\+Queue\+::get\+Queue\+Group (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}}}]{qid }\end{DoxyParamCaption})}



Get a render queue group. 

\begin{DoxyRemark}{Remarks}
O\+G\+RE registers new queue groups as they are requested, therefore this method will always return a valid group. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_aedb30e0dd6cd6db7f74650d311a68013}\label{class_ogre_1_1_render_queue_aedb30e0dd6cd6db7f74650d311a68013}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!addRenderable@{addRenderable}}
\index{addRenderable@{addRenderable}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{addRenderable()}{addRenderable()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::add\+Renderable (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$}]{p\+Rend,  }\item[{\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}}}]{group\+ID,  }\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{priority }\end{DoxyParamCaption})}



Add a renderable object to the queue. 

\begin{DoxyRemark}{Remarks}
This methods adds a \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} to the queue, which will be rendered later by the \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}}. This is the advanced version of the call which allows the renderable to be added to any queue. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
Called by implementation of \mbox{\hyperlink{class_ogre_1_1_movable_object_ac77b03ec95bbe3de7d9b9d7993dc785e}{Movable\+Object\+::\+\_\+update\+Render\+Queue}}. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em p\+Rend} & Pointer to the \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} to be added to the queue \\
\hline
{\em group\+ID} & The group the renderable is to be added to. This can be used to schedule renderable objects in separate groups such that the \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}} respects the divisions between the groupings and does not reorder them outside these boundaries. This can be handy for overlays where no matter what you want the overlay to be rendered last. \\
\hline
{\em priority} & Controls the priority of the renderable within the queue group. If this number is raised, the renderable will be rendered later in the group compared to it\textquotesingle{}s peers. Don\textquotesingle{}t use this unless you really need to, manually ordering renderables prevents O\+G\+RE from sorting them for best efficiency. However this could be useful for ordering 2D elements manually for example. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_a8b67aff41b50d24cef0420871ce6f3af}\label{class_ogre_1_1_render_queue_a8b67aff41b50d24cef0420871ce6f3af}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!addRenderable@{addRenderable}}
\index{addRenderable@{addRenderable}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{addRenderable()}{addRenderable()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::add\+Renderable (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$}]{p\+Rend,  }\item[{\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}}}]{group\+Id }\end{DoxyParamCaption})}



Add a renderable object to the queue. 

\begin{DoxyRemark}{Remarks}
This methods adds a \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} to the queue, which will be rendered later by the \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}}. This is the simplified version of the call which does not require a priority to be specified. The queue priority is take from the current default (see set\+Default\+Renderable\+Priority). 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
Called by implementation of \mbox{\hyperlink{class_ogre_1_1_movable_object_ac77b03ec95bbe3de7d9b9d7993dc785e}{Movable\+Object\+::\+\_\+update\+Render\+Queue}}. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em p\+Rend} & Pointer to the \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} to be added to the queue \\
\hline
{\em group\+Id} & The group the renderable is to be added to. This can be used to schedule renderable objects in separate groups such that the \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}} respects the divisions between the groupings and does not reorder them outside these boundaries. This can be handy for overlays where no matter what you want the overlay to be rendered last. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_acc8caa5feac9cee401f34f5aa1918d0d}\label{class_ogre_1_1_render_queue_acc8caa5feac9cee401f34f5aa1918d0d}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!addRenderable@{addRenderable}}
\index{addRenderable@{addRenderable}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{addRenderable()}{addRenderable()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::add\+Renderable (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} $\ast$}]{p\+Rend }\end{DoxyParamCaption})}



Add a renderable object to the queue. 

\begin{DoxyRemark}{Remarks}
This methods adds a \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} to the queue, which will be rendered later by the \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}}. This is the simplified version of the call which does not require a queue or priority to be specified. The queue group is taken from the current default (see set\+Default\+Queue\+Group). The queue priority is take from the current default (see set\+Default\+Renderable\+Priority). 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
Called by implementation of \mbox{\hyperlink{class_ogre_1_1_movable_object_ac77b03ec95bbe3de7d9b9d7993dc785e}{Movable\+Object\+::\+\_\+update\+Render\+Queue}}. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em p\+Rend} & Pointer to the \mbox{\hyperlink{class_ogre_1_1_renderable}{Renderable}} to be added to the queue \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_aa5c1a5214c10422de1a473ac56edba37}\label{class_ogre_1_1_render_queue_aa5c1a5214c10422de1a473ac56edba37}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!getDefaultQueueGroup@{getDefaultQueueGroup}}
\index{getDefaultQueueGroup@{getDefaultQueueGroup}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{getDefaultQueueGroup()}{getDefaultQueueGroup()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} Ogre\+::\+Render\+Queue\+::get\+Default\+Queue\+Group (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the current default queue group, which will be used for all renderable which do not specify which group they wish to be on. 

\mbox{\Hypertarget{class_ogre_1_1_render_queue_aeb5d94b3d357524a08affce11c383374}\label{class_ogre_1_1_render_queue_aeb5d94b3d357524a08affce11c383374}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!setDefaultRenderablePriority@{setDefaultRenderablePriority}}
\index{setDefaultRenderablePriority@{setDefaultRenderablePriority}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{setDefaultRenderablePriority()}{setDefaultRenderablePriority()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::set\+Default\+Renderable\+Priority (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}}]{priority }\end{DoxyParamCaption})}



Sets the current default renderable priority, which will be used for all renderables which do not specify which priority they wish to use. 

\mbox{\Hypertarget{class_ogre_1_1_render_queue_aa34df6226f67084565eac7bb074ea744}\label{class_ogre_1_1_render_queue_aa34df6226f67084565eac7bb074ea744}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!getDefaultRenderablePriority@{getDefaultRenderablePriority}}
\index{getDefaultRenderablePriority@{getDefaultRenderablePriority}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{getDefaultRenderablePriority()}{getDefaultRenderablePriority()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}} Ogre\+::\+Render\+Queue\+::get\+Default\+Renderable\+Priority (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the current default renderable priority, which will be used for all renderables which do not specify which priority they wish to use. 

\mbox{\Hypertarget{class_ogre_1_1_render_queue_aee86531136c2069ab7ed03ec8802b624}\label{class_ogre_1_1_render_queue_aee86531136c2069ab7ed03ec8802b624}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!setDefaultQueueGroup@{setDefaultQueueGroup}}
\index{setDefaultQueueGroup@{setDefaultQueueGroup}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{setDefaultQueueGroup()}{setDefaultQueueGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::set\+Default\+Queue\+Group (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}}}]{grp }\end{DoxyParamCaption})}



Sets the current default queue group, which will be used for all renderable which do not specify which group they wish to be on. 

See the enum Render\+Queue\+Group\+ID for what kind of values can be used here. \mbox{\Hypertarget{class_ogre_1_1_render_queue_ab492da8b8a2ed95956a42207fdde8c47}\label{class_ogre_1_1_render_queue_ab492da8b8a2ed95956a42207fdde8c47}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!\_getQueueGroups@{\_getQueueGroups}}
\index{\_getQueueGroups@{\_getQueueGroups}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{\_getQueueGroups()}{\_getQueueGroups()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{class_ogre_1_1_render_queue_ab4539a82d72ab375cd141f5408aa3320}{Render\+Queue\+Group\+Map}}\& Ogre\+::\+Render\+Queue\+::\+\_\+get\+Queue\+Groups (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Internal method, returns the queue groups. 

\mbox{\Hypertarget{class_ogre_1_1_render_queue_a12c00d063c95049da895c7bfc8923311}\label{class_ogre_1_1_render_queue_a12c00d063c95049da895c7bfc8923311}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!setSplitPassesByLightingType@{setSplitPassesByLightingType}}
\index{setSplitPassesByLightingType@{setSplitPassesByLightingType}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{setSplitPassesByLightingType()}{setSplitPassesByLightingType()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::set\+Split\+Passes\+By\+Lighting\+Type (\begin{DoxyParamCaption}\item[{bool}]{split }\end{DoxyParamCaption})}



Sets whether or not the queue will split passes by their lighting type, ie ambient, per-\/light and decal. 

\mbox{\Hypertarget{class_ogre_1_1_render_queue_a508c8398715d145fb899e43e3d58ce00}\label{class_ogre_1_1_render_queue_a508c8398715d145fb899e43e3d58ce00}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!getSplitPassesByLightingType@{getSplitPassesByLightingType}}
\index{getSplitPassesByLightingType@{getSplitPassesByLightingType}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{getSplitPassesByLightingType()}{getSplitPassesByLightingType()}}
{\footnotesize\ttfamily bool Ogre\+::\+Render\+Queue\+::get\+Split\+Passes\+By\+Lighting\+Type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets whether or not the queue will split passes by their lighting type, ie ambient, per-\/light and decal. 

\mbox{\Hypertarget{class_ogre_1_1_render_queue_a4edec1309abf170a0dd09612911fc4bc}\label{class_ogre_1_1_render_queue_a4edec1309abf170a0dd09612911fc4bc}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!setSplitNoShadowPasses@{setSplitNoShadowPasses}}
\index{setSplitNoShadowPasses@{setSplitNoShadowPasses}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{setSplitNoShadowPasses()}{setSplitNoShadowPasses()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::set\+Split\+No\+Shadow\+Passes (\begin{DoxyParamCaption}\item[{bool}]{split }\end{DoxyParamCaption})}



Sets whether or not the queue will split passes which have shadow receive turned off (in their parent material), which is needed when certain shadow techniques are used. 

\mbox{\Hypertarget{class_ogre_1_1_render_queue_a5898a67b700d740c9b7416a10007ac55}\label{class_ogre_1_1_render_queue_a5898a67b700d740c9b7416a10007ac55}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!getSplitNoShadowPasses@{getSplitNoShadowPasses}}
\index{getSplitNoShadowPasses@{getSplitNoShadowPasses}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{getSplitNoShadowPasses()}{getSplitNoShadowPasses()}}
{\footnotesize\ttfamily bool Ogre\+::\+Render\+Queue\+::get\+Split\+No\+Shadow\+Passes (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets whether or not the queue will split passes which have shadow receive turned off (in their parent material), which is needed when certain shadow techniques are used. 

\mbox{\Hypertarget{class_ogre_1_1_render_queue_aac9a571f752196f24799e5aebb6bd715}\label{class_ogre_1_1_render_queue_aac9a571f752196f24799e5aebb6bd715}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!setShadowCastersCannotBeReceivers@{setShadowCastersCannotBeReceivers}}
\index{setShadowCastersCannotBeReceivers@{setShadowCastersCannotBeReceivers}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{setShadowCastersCannotBeReceivers()}{setShadowCastersCannotBeReceivers()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::set\+Shadow\+Casters\+Cannot\+Be\+Receivers (\begin{DoxyParamCaption}\item[{bool}]{ind }\end{DoxyParamCaption})}



Sets whether or not objects which cast shadows should be treated as never receiving shadows. 

\mbox{\Hypertarget{class_ogre_1_1_render_queue_ad5abe9b1faef28536da92d2c836b4df8}\label{class_ogre_1_1_render_queue_ad5abe9b1faef28536da92d2c836b4df8}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!getShadowCastersCannotBeReceivers@{getShadowCastersCannotBeReceivers}}
\index{getShadowCastersCannotBeReceivers@{getShadowCastersCannotBeReceivers}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{getShadowCastersCannotBeReceivers()}{getShadowCastersCannotBeReceivers()}}
{\footnotesize\ttfamily bool Ogre\+::\+Render\+Queue\+::get\+Shadow\+Casters\+Cannot\+Be\+Receivers (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets whether or not objects which cast shadows should be treated as never receiving shadows. 

\mbox{\Hypertarget{class_ogre_1_1_render_queue_a4830aa759ae0619a637dc979f8f0d581}\label{class_ogre_1_1_render_queue_a4830aa759ae0619a637dc979f8f0d581}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!setRenderableListener@{setRenderableListener}}
\index{setRenderableListener@{setRenderableListener}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{setRenderableListener()}{setRenderableListener()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::set\+Renderable\+Listener (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_queue_1_1_renderable_listener}{Renderable\+Listener}} $\ast$}]{listener }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set a renderable listener on the queue. 

\begin{DoxyRemark}{Remarks}
There can only be a single renderable listener on the queue, since that listener has complete control over the techniques in use. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_a8739474ebe8df212583287e8b012fa86}\label{class_ogre_1_1_render_queue_a8739474ebe8df212583287e8b012fa86}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!getRenderableListener@{getRenderableListener}}
\index{getRenderableListener@{getRenderableListener}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{getRenderableListener()}{getRenderableListener()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_render_queue_1_1_renderable_listener}{Renderable\+Listener}}$\ast$ Ogre\+::\+Render\+Queue\+::get\+Renderable\+Listener (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_render_queue_a55552364f1a8ecb2fb9a166ef92e070a}\label{class_ogre_1_1_render_queue_a55552364f1a8ecb2fb9a166ef92e070a}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!merge@{merge}}
\index{merge@{merge}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{merge()}{merge()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::merge (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue}} $\ast$}]{rhs }\end{DoxyParamCaption})}



Merge render queue. 

\mbox{\Hypertarget{class_ogre_1_1_render_queue_a5af90d52791616e975fc0da4dc1ec78e}\label{class_ogre_1_1_render_queue_a5af90d52791616e975fc0da4dc1ec78e}} 
\index{Ogre::RenderQueue@{Ogre::RenderQueue}!processVisibleObject@{processVisibleObject}}
\index{processVisibleObject@{processVisibleObject}!Ogre::RenderQueue@{Ogre::RenderQueue}}
\doxysubsubsection{\texorpdfstring{processVisibleObject()}{processVisibleObject()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::process\+Visible\+Object (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}} $\ast$}]{mo,  }\item[{\mbox{\hyperlink{class_ogre_1_1_camera}{Camera}} $\ast$}]{cam,  }\item[{bool}]{only\+Shadow\+Casters,  }\item[{\mbox{\hyperlink{struct_ogre_1_1_visible_objects_bounds_info}{Visible\+Objects\+Bounds\+Info}} $\ast$}]{visible\+Bounds }\end{DoxyParamCaption})}



Utility method to perform the standard actions associated with getting a visible object to add itself to the queue. 

This is a replacement for \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}} implementations of the associated tasks related to calling \mbox{\hyperlink{class_ogre_1_1_movable_object_ac77b03ec95bbe3de7d9b9d7993dc785e}{Movable\+Object\+::\+\_\+update\+Render\+Queue}}. 

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}
