\hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket}{}\section{Ogre\+:\+:Static\+Geometry\+:\+:Material\+Bucket Class Reference}
\label{class_ogre_1_1_static_geometry_1_1_material_bucket}\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}


A \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket}{Material\+Bucket} is a collection of smaller buckets with the same \hyperlink{class_ogre_1_1_material}{Material} (and implicitly the same L\+OD).  




{\ttfamily \#include $<$Ogre\+Static\+Geometry.\+h$>$}



Inheritance diagram for Ogre\+:\+:Static\+Geometry\+:\+:Material\+Bucket\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=209pt]{class_ogre_1_1_static_geometry_1_1_material_bucket__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\+::vector$<$ \hyperlink{class_ogre_1_1_static_geometry_1_1_geometry_bucket}{Geometry\+Bucket} $\ast$ $>$ \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_a59961706795c7ad082210c65748d0c83}{Geometry\+Bucket\+List}
\begin{DoxyCompactList}\small\item\em list of Geometry Buckets in this region \end{DoxyCompactList}\item 
typedef \hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}$<$ \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_a59961706795c7ad082210c65748d0c83}{Geometry\+Bucket\+List} $>$ \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ab2f7c7785a86b2bf05998b96b73c5952}{Geometry\+Iterator}
\begin{DoxyCompactList}\small\item\em Iterator over geometry. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ae4abb9d4a5a88ff4cb1fb0f4b1fcac88}{Material\+Bucket} (\hyperlink{class_ogre_1_1_static_geometry_1_1_l_o_d_bucket}{L\+O\+D\+Bucket} $\ast$parent, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&material\+Name)
\item 
virtual \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ad0fed93d61daf061b73952e81d1143ff}{$\sim$\+Material\+Bucket} ()
\item 
void \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ad013710ae1cc19fe26a30c23cfd0eb37}{add\+Renderables} (\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue} $\ast$queue, \hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8} group, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} lod\+Value)
\begin{DoxyCompactList}\small\item\em Add children to the render queue. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_a73c3eb66a47f97224dcbeb48dc9bb6c5}{assign} (\hyperlink{struct_ogre_1_1_static_geometry_1_1_queued_geometry}{Queued\+Geometry} $\ast$qsm)
\begin{DoxyCompactList}\small\item\em Assign geometry to this bucket. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_aa3a817dab145e00ab3c07f1f62556f33}{build} (bool stencil\+Shadows)
\begin{DoxyCompactList}\small\item\em Build. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_a012f7cbdc282969e7792146e785dce6a}{dump} (std\+::ofstream \&of) const
\begin{DoxyCompactList}\small\item\em Dump contents for diagnostics. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_technique}{Technique} $\ast$ \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_a04b5bde1293b9ca7e1bc5fcd68dcd6b9}{get\+Current\+Technique} (void) const
\begin{DoxyCompactList}\small\item\em Get the current \hyperlink{class_ogre_1_1_technique}{Technique}. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ab2f7c7785a86b2bf05998b96b73c5952}{Geometry\+Iterator} \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_afbacbd597b172a0a3fbb59223cebc134}{get\+Geometry\+Iterator} (void)
\begin{DoxyCompactList}\small\item\em Get an iterator over the contained geometry. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr} \& \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ab1c5436edd9dace64d40e15ae509fe0f}{get\+Material} (void) const
\begin{DoxyCompactList}\small\item\em Get the material for this bucket. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_aafab6f5d302302e82f7252b723e3282c}{get\+Material\+Name} (void) const
\begin{DoxyCompactList}\small\item\em Get the material name. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_static_geometry_1_1_l_o_d_bucket}{L\+O\+D\+Bucket} $\ast$ \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ab454a749c2ba7bae4002c70ed5afa626}{get\+Parent} (void)
\item 
void \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_abc4a538317300484ec970d2ff6482a7a}{visit\+Renderables} (\hyperlink{class_ogre_1_1_renderable_1_1_visitor}{Renderable\+::\+Visitor} $\ast$visitor, bool debug\+Renderables)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket}{Material\+Bucket} is a collection of smaller buckets with the same \hyperlink{class_ogre_1_1_material}{Material} (and implicitly the same L\+OD). 



\subsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_a59961706795c7ad082210c65748d0c83}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_a59961706795c7ad082210c65748d0c83}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!Geometry\+Bucket\+List@{Geometry\+Bucket\+List}}
\index{Geometry\+Bucket\+List@{Geometry\+Bucket\+List}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{Geometry\+Bucket\+List}{GeometryBucketList}}
{\footnotesize\ttfamily typedef std\+::vector$<$\hyperlink{class_ogre_1_1_static_geometry_1_1_geometry_bucket}{Geometry\+Bucket}$\ast$$>$ \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_a59961706795c7ad082210c65748d0c83}{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::\+Geometry\+Bucket\+List}}



list of Geometry Buckets in this region 

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_ab2f7c7785a86b2bf05998b96b73c5952}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_ab2f7c7785a86b2bf05998b96b73c5952}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!Geometry\+Iterator@{Geometry\+Iterator}}
\index{Geometry\+Iterator@{Geometry\+Iterator}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{Geometry\+Iterator}{GeometryIterator}}
{\footnotesize\ttfamily typedef \hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}$<$\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_a59961706795c7ad082210c65748d0c83}{Geometry\+Bucket\+List}$>$ \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ab2f7c7785a86b2bf05998b96b73c5952}{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::\+Geometry\+Iterator}}



Iterator over geometry. 



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_ae4abb9d4a5a88ff4cb1fb0f4b1fcac88}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_ae4abb9d4a5a88ff4cb1fb0f4b1fcac88}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!Material\+Bucket@{Material\+Bucket}}
\index{Material\+Bucket@{Material\+Bucket}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{Material\+Bucket()}{MaterialBucket()}}
{\footnotesize\ttfamily Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::\+Material\+Bucket (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_static_geometry_1_1_l_o_d_bucket}{L\+O\+D\+Bucket} $\ast$}]{parent,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{material\+Name }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_ad0fed93d61daf061b73952e81d1143ff}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_ad0fed93d61daf061b73952e81d1143ff}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!````~Material\+Bucket@{$\sim$\+Material\+Bucket}}
\index{````~Material\+Bucket@{$\sim$\+Material\+Bucket}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{$\sim$\+Material\+Bucket()}{~MaterialBucket()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::$\sim$\+Material\+Bucket (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_ab454a749c2ba7bae4002c70ed5afa626}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_ab454a749c2ba7bae4002c70ed5afa626}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!get\+Parent@{get\+Parent}}
\index{get\+Parent@{get\+Parent}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{get\+Parent()}{getParent()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_static_geometry_1_1_l_o_d_bucket}{L\+O\+D\+Bucket}$\ast$ Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::get\+Parent (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_aafab6f5d302302e82f7252b723e3282c}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_aafab6f5d302302e82f7252b723e3282c}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!get\+Material\+Name@{get\+Material\+Name}}
\index{get\+Material\+Name@{get\+Material\+Name}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{get\+Material\+Name()}{getMaterialName()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::get\+Material\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the material name. 

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_a73c3eb66a47f97224dcbeb48dc9bb6c5}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_a73c3eb66a47f97224dcbeb48dc9bb6c5}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!assign@{assign}}
\index{assign@{assign}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{assign()}{assign()}}
{\footnotesize\ttfamily void Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::assign (\begin{DoxyParamCaption}\item[{\hyperlink{struct_ogre_1_1_static_geometry_1_1_queued_geometry}{Queued\+Geometry} $\ast$}]{qsm }\end{DoxyParamCaption})}



Assign geometry to this bucket. 

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_aa3a817dab145e00ab3c07f1f62556f33}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_aa3a817dab145e00ab3c07f1f62556f33}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!build@{build}}
\index{build@{build}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{build()}{build()}}
{\footnotesize\ttfamily void Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::build (\begin{DoxyParamCaption}\item[{bool}]{stencil\+Shadows }\end{DoxyParamCaption})}



Build. 

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_ad013710ae1cc19fe26a30c23cfd0eb37}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_ad013710ae1cc19fe26a30c23cfd0eb37}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!add\+Renderables@{add\+Renderables}}
\index{add\+Renderables@{add\+Renderables}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{add\+Renderables()}{addRenderables()}}
{\footnotesize\ttfamily void Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::add\+Renderables (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue} $\ast$}]{queue,  }\item[{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}}]{group,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{lod\+Value }\end{DoxyParamCaption})}



Add children to the render queue. 

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_ab1c5436edd9dace64d40e15ae509fe0f}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_ab1c5436edd9dace64d40e15ae509fe0f}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!get\+Material@{get\+Material}}
\index{get\+Material@{get\+Material}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{get\+Material()}{getMaterial()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}\& Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::get\+Material (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the material for this bucket. 

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_afbacbd597b172a0a3fbb59223cebc134}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_afbacbd597b172a0a3fbb59223cebc134}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!get\+Geometry\+Iterator@{get\+Geometry\+Iterator}}
\index{get\+Geometry\+Iterator@{get\+Geometry\+Iterator}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{get\+Geometry\+Iterator()}{getGeometryIterator()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ab2f7c7785a86b2bf05998b96b73c5952}{Geometry\+Iterator} Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::get\+Geometry\+Iterator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get an iterator over the contained geometry. 

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_a04b5bde1293b9ca7e1bc5fcd68dcd6b9}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_a04b5bde1293b9ca7e1bc5fcd68dcd6b9}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!get\+Current\+Technique@{get\+Current\+Technique}}
\index{get\+Current\+Technique@{get\+Current\+Technique}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{get\+Current\+Technique()}{getCurrentTechnique()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_technique}{Technique}$\ast$ Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::get\+Current\+Technique (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the current \hyperlink{class_ogre_1_1_technique}{Technique}. 

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_a012f7cbdc282969e7792146e785dce6a}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_a012f7cbdc282969e7792146e785dce6a}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!dump@{dump}}
\index{dump@{dump}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{dump()}{dump()}}
{\footnotesize\ttfamily void Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::dump (\begin{DoxyParamCaption}\item[{std\+::ofstream \&}]{of }\end{DoxyParamCaption}) const}



Dump contents for diagnostics. 

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_material_bucket_abc4a538317300484ec970d2ff6482a7a}\label{class_ogre_1_1_static_geometry_1_1_material_bucket_abc4a538317300484ec970d2ff6482a7a}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}!visit\+Renderables@{visit\+Renderables}}
\index{visit\+Renderables@{visit\+Renderables}!Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket@{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket}}
\subsubsection{\texorpdfstring{visit\+Renderables()}{visitRenderables()}}
{\footnotesize\ttfamily void Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::visit\+Renderables (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_renderable_1_1_visitor}{Renderable\+::\+Visitor} $\ast$}]{visitor,  }\item[{bool}]{debug\+Renderables }\end{DoxyParamCaption})}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_static_geometry_8h}{Ogre\+Static\+Geometry.\+h}\end{DoxyCompactItemize}
