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


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=191pt]{class_ogre_1_1_render_queue__inherit__graph}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \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}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\+::unique\+\_\+ptr$<$ \hyperlink{class_ogre_1_1_render_queue_group}{Render\+Queue\+Group} $>$ \hyperlink{class_ogre_1_1_render_queue_ab4539a82d72ab375cd141f5408aa3320}{Render\+Queue\+Group\+Map}\mbox{[}\hyperlink{group___render_system_ggad08013a341ff0ef07c39fa3502bf6c00a2d1e261d9e3298b1cb7272b392f550b1}{R\+E\+N\+D\+E\+R\+\_\+\+Q\+U\+E\+U\+E\+\_\+\+M\+AX}\mbox{]}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_render_queue_a5454a3907c8ce62ab9454b7e4e6ef818}{Render\+Queue} ()
\item 
virtual \hyperlink{class_ogre_1_1_render_queue_a15db5053b0d5bbd21cf9e797ea06f0d9}{$\sim$\+Render\+Queue} ()
\item 
const \hyperlink{class_ogre_1_1_render_queue_ab4539a82d72ab375cd141f5408aa3320}{Render\+Queue\+Group\+Map} \& \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 \hyperlink{class_ogre_1_1_render_queue_aedb30e0dd6cd6db7f74650d311a68013}{add\+Renderable} (\hyperlink{class_ogre_1_1_renderable}{Renderable} $\ast$p\+Rend, \hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8} group\+ID, \hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} priority)
\begin{DoxyCompactList}\small\item\em Add a renderable object to the queue. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_render_queue_a8b67aff41b50d24cef0420871ce6f3af}{add\+Renderable} (\hyperlink{class_ogre_1_1_renderable}{Renderable} $\ast$p\+Rend, \hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8} group\+Id)
\begin{DoxyCompactList}\small\item\em Add a renderable object to the queue. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_render_queue_acc8caa5feac9cee401f34f5aa1918d0d}{add\+Renderable} (\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 \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 
\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8} \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 
\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort} \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 
\hyperlink{class_ogre_1_1_render_queue_group}{Render\+Queue\+Group} $\ast$ \hyperlink{class_ogre_1_1_render_queue_a6d85342418d78d733f887530e73da1c0}{get\+Queue\+Group} (\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8} qid)
\begin{DoxyCompactList}\small\item\em Get a render queue group. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_render_queue_1_1_renderable_listener}{Renderable\+Listener} $\ast$ \hyperlink{class_ogre_1_1_render_queue_a8739474ebe8df212583287e8b012fa86}{get\+Renderable\+Listener} (void) const
\item 
bool \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 \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 \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 \hyperlink{class_ogre_1_1_render_queue_a55552364f1a8ecb2fb9a166ef92e070a}{merge} (const \hyperlink{class_ogre_1_1_render_queue}{Render\+Queue} $\ast$rhs)
\begin{DoxyCompactList}\small\item\em Merge render queue. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_render_queue_a5af90d52791616e975fc0da4dc1ec78e}{process\+Visible\+Object} (\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} $\ast$mo, \hyperlink{class_ogre_1_1_camera}{Camera} $\ast$cam, bool only\+Shadow\+Casters, \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 \hyperlink{class_ogre_1_1_render_queue_aee86531136c2069ab7ed03ec8802b624}{set\+Default\+Queue\+Group} (\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 \hyperlink{class_ogre_1_1_render_queue_aeb5d94b3d357524a08affce11c383374}{set\+Default\+Renderable\+Priority} (\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 \hyperlink{class_ogre_1_1_render_queue_a4830aa759ae0619a637dc979f8f0d581}{set\+Renderable\+Listener} (\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 \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 \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 \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}


\subsection{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}


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



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_a5454a3907c8ce62ab9454b7e4e6ef818}\label{class_ogre_1_1_render_queue_a5454a3907c8ce62ab9454b7e4e6ef818}} 
\index{Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!Render\+Queue@{Render\+Queue}}
\index{Render\+Queue@{Render\+Queue}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{Render\+Queue()}{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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!````~Render\+Queue@{$\sim$\+Render\+Queue}}
\index{````~Render\+Queue@{$\sim$\+Render\+Queue}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{$\sim$\+Render\+Queue()}{~RenderQueue()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Render\+Queue\+::$\sim$\+Render\+Queue (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_render_queue_a7351e9922649a71a54fb5b0ccfb525c4}\label{class_ogre_1_1_render_queue_a7351e9922649a71a54fb5b0ccfb525c4}} 
\index{Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!clear@{clear}}
\index{clear@{clear}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!get\+Queue\+Group@{get\+Queue\+Group}}
\index{get\+Queue\+Group@{get\+Queue\+Group}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{get\+Queue\+Group()}{getQueueGroup()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_render_queue_group}{Render\+Queue\+Group}$\ast$ Ogre\+::\+Render\+Queue\+::get\+Queue\+Group (\begin{DoxyParamCaption}\item[{\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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!add\+Renderable@{add\+Renderable}}
\index{add\+Renderable@{add\+Renderable}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{add\+Renderable()}{addRenderable()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::add\+Renderable (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_renderable}{Renderable} $\ast$}]{p\+Rend,  }\item[{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}}]{group\+ID,  }\item[{\hyperlink{namespace_ogre_af851e71354d841df7138f9877c6f5931}{ushort}}]{priority }\end{DoxyParamCaption})}



Add a renderable object to the queue. 

\begin{DoxyRemark}{Remarks}
This methods adds a \hyperlink{class_ogre_1_1_renderable}{Renderable} to the queue, which will be rendered later by the \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 \hyperlink{class_ogre_1_1_movable_object_ac77b03ec95bbe3de7d9b9d7993dc785e}{Movable\+Object\+::\+\_\+update\+Render\+Queue}. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em p\+Rend} & Pointer to the \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 \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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!add\+Renderable@{add\+Renderable}}
\index{add\+Renderable@{add\+Renderable}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{add\+Renderable()}{addRenderable()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::add\+Renderable (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_renderable}{Renderable} $\ast$}]{p\+Rend,  }\item[{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}}]{group\+Id }\end{DoxyParamCaption})}



Add a renderable object to the queue. 

\begin{DoxyRemark}{Remarks}
This methods adds a \hyperlink{class_ogre_1_1_renderable}{Renderable} to the queue, which will be rendered later by the \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 \hyperlink{class_ogre_1_1_movable_object_ac77b03ec95bbe3de7d9b9d7993dc785e}{Movable\+Object\+::\+\_\+update\+Render\+Queue}. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em p\+Rend} & Pointer to the \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 \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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!add\+Renderable@{add\+Renderable}}
\index{add\+Renderable@{add\+Renderable}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{add\+Renderable()}{addRenderable()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::add\+Renderable (\begin{DoxyParamCaption}\item[{\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 \hyperlink{class_ogre_1_1_renderable}{Renderable} to the queue, which will be rendered later by the \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 \hyperlink{class_ogre_1_1_movable_object_ac77b03ec95bbe3de7d9b9d7993dc785e}{Movable\+Object\+::\+\_\+update\+Render\+Queue}. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em p\+Rend} & Pointer to the \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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!get\+Default\+Queue\+Group@{get\+Default\+Queue\+Group}}
\index{get\+Default\+Queue\+Group@{get\+Default\+Queue\+Group}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{get\+Default\+Queue\+Group()}{getDefaultQueueGroup()}}
{\footnotesize\ttfamily \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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!set\+Default\+Renderable\+Priority@{set\+Default\+Renderable\+Priority}}
\index{set\+Default\+Renderable\+Priority@{set\+Default\+Renderable\+Priority}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{set\+Default\+Renderable\+Priority()}{setDefaultRenderablePriority()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::set\+Default\+Renderable\+Priority (\begin{DoxyParamCaption}\item[{\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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!get\+Default\+Renderable\+Priority@{get\+Default\+Renderable\+Priority}}
\index{get\+Default\+Renderable\+Priority@{get\+Default\+Renderable\+Priority}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{get\+Default\+Renderable\+Priority()}{getDefaultRenderablePriority()}}
{\footnotesize\ttfamily \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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!set\+Default\+Queue\+Group@{set\+Default\+Queue\+Group}}
\index{set\+Default\+Queue\+Group@{set\+Default\+Queue\+Group}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{set\+Default\+Queue\+Group()}{setDefaultQueueGroup()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::set\+Default\+Queue\+Group (\begin{DoxyParamCaption}\item[{\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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!\+\_\+get\+Queue\+Groups@{\+\_\+get\+Queue\+Groups}}
\index{\+\_\+get\+Queue\+Groups@{\+\_\+get\+Queue\+Groups}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{\+\_\+get\+Queue\+Groups()}{\_getQueueGroups()}}
{\footnotesize\ttfamily const \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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!set\+Split\+Passes\+By\+Lighting\+Type@{set\+Split\+Passes\+By\+Lighting\+Type}}
\index{set\+Split\+Passes\+By\+Lighting\+Type@{set\+Split\+Passes\+By\+Lighting\+Type}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{set\+Split\+Passes\+By\+Lighting\+Type()}{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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!get\+Split\+Passes\+By\+Lighting\+Type@{get\+Split\+Passes\+By\+Lighting\+Type}}
\index{get\+Split\+Passes\+By\+Lighting\+Type@{get\+Split\+Passes\+By\+Lighting\+Type}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{get\+Split\+Passes\+By\+Lighting\+Type()}{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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!set\+Split\+No\+Shadow\+Passes@{set\+Split\+No\+Shadow\+Passes}}
\index{set\+Split\+No\+Shadow\+Passes@{set\+Split\+No\+Shadow\+Passes}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{set\+Split\+No\+Shadow\+Passes()}{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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!get\+Split\+No\+Shadow\+Passes@{get\+Split\+No\+Shadow\+Passes}}
\index{get\+Split\+No\+Shadow\+Passes@{get\+Split\+No\+Shadow\+Passes}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{get\+Split\+No\+Shadow\+Passes()}{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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!set\+Shadow\+Casters\+Cannot\+Be\+Receivers@{set\+Shadow\+Casters\+Cannot\+Be\+Receivers}}
\index{set\+Shadow\+Casters\+Cannot\+Be\+Receivers@{set\+Shadow\+Casters\+Cannot\+Be\+Receivers}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{set\+Shadow\+Casters\+Cannot\+Be\+Receivers()}{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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!get\+Shadow\+Casters\+Cannot\+Be\+Receivers@{get\+Shadow\+Casters\+Cannot\+Be\+Receivers}}
\index{get\+Shadow\+Casters\+Cannot\+Be\+Receivers@{get\+Shadow\+Casters\+Cannot\+Be\+Receivers}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{get\+Shadow\+Casters\+Cannot\+Be\+Receivers()}{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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!set\+Renderable\+Listener@{set\+Renderable\+Listener}}
\index{set\+Renderable\+Listener@{set\+Renderable\+Listener}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{set\+Renderable\+Listener()}{setRenderableListener()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::set\+Renderable\+Listener (\begin{DoxyParamCaption}\item[{\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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!get\+Renderable\+Listener@{get\+Renderable\+Listener}}
\index{get\+Renderable\+Listener@{get\+Renderable\+Listener}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{get\+Renderable\+Listener()}{getRenderableListener()}}
{\footnotesize\ttfamily \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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!merge@{merge}}
\index{merge@{merge}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{merge()}{merge()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::merge (\begin{DoxyParamCaption}\item[{const \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\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}!process\+Visible\+Object@{process\+Visible\+Object}}
\index{process\+Visible\+Object@{process\+Visible\+Object}!Ogre\+::\+Render\+Queue@{Ogre\+::\+Render\+Queue}}
\subsubsection{\texorpdfstring{process\+Visible\+Object()}{processVisibleObject()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Queue\+::process\+Visible\+Object (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} $\ast$}]{mo,  }\item[{\hyperlink{class_ogre_1_1_camera}{Camera} $\ast$}]{cam,  }\item[{bool}]{only\+Shadow\+Casters,  }\item[{\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 \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} implementations of the associated tasks related to calling \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 
\hyperlink{_ogre_render_queue_8h}{Ogre\+Render\+Queue.\+h}\end{DoxyCompactItemize}
