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


A \mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket}{Material\+Bucket}} is a collection of smaller buckets with the same \mbox{\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}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\+::vector$<$ \mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_geometry_bucket}{Geometry\+Bucket}} $\ast$ $>$ \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}}$<$ \mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_a59961706795c7ad082210c65748d0c83}{Geometry\+Bucket\+List}} $>$ \mbox{\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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ae4abb9d4a5a88ff4cb1fb0f4b1fcac88}{Material\+Bucket}} (\mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_l_o_d_bucket}{L\+O\+D\+Bucket}} $\ast$parent, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&material\+Name)
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ad0fed93d61daf061b73952e81d1143ff}{$\sim$\+Material\+Bucket}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ad013710ae1cc19fe26a30c23cfd0eb37}{add\+Renderables}} (\mbox{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue}} $\ast$queue, \mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} group, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} lod\+Value)
\begin{DoxyCompactList}\small\item\em Add children to the render queue. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_a73c3eb66a47f97224dcbeb48dc9bb6c5}{assign}} (\mbox{\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 \mbox{\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 \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_technique}{Technique}} $\ast$ \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_technique}{Technique}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ab2f7c7785a86b2bf05998b96b73c5952}{Geometry\+Iterator}} \mbox{\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 \mbox{\hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr}} \& \mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_l_o_d_bucket}{L\+O\+D\+Bucket}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ab454a749c2ba7bae4002c70ed5afa626}{get\+Parent}} (void)
\item 
void \mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_abc4a538317300484ec970d2ff6482a7a}{visit\+Renderables}} (\mbox{\hyperlink{class_ogre_1_1_renderable_1_1_visitor}{Renderable\+::\+Visitor}} $\ast$visitor, bool debug\+Renderables)
\end{DoxyCompactItemize}


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

\doxysubsection{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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!GeometryBucketList@{GeometryBucketList}}
\index{GeometryBucketList@{GeometryBucketList}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{GeometryBucketList}{GeometryBucketList}}
{\footnotesize\ttfamily typedef std\+::vector$<$\mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_geometry_bucket}{Geometry\+Bucket}}$\ast$$>$ \mbox{\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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!GeometryIterator@{GeometryIterator}}
\index{GeometryIterator@{GeometryIterator}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{GeometryIterator}{GeometryIterator}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}}$<$\mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_a59961706795c7ad082210c65748d0c83}{Geometry\+Bucket\+List}}$>$ \mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_material_bucket_ab2f7c7785a86b2bf05998b96b73c5952}{Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::\+Geometry\+Iterator}}}



Iterator over geometry. 



\doxysubsection{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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!MaterialBucket@{MaterialBucket}}
\index{MaterialBucket@{MaterialBucket}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{MaterialBucket()}{MaterialBucket()}}
{\footnotesize\ttfamily Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::\+Material\+Bucket (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_l_o_d_bucket}{L\+O\+D\+Bucket}} $\ast$}]{parent,  }\item[{const \mbox{\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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!````~MaterialBucket@{$\sim$MaterialBucket}}
\index{````~MaterialBucket@{$\sim$MaterialBucket}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{$\sim$MaterialBucket()}{~MaterialBucket()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::$\sim$\+Material\+Bucket (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\doxysubsection{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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!getParent@{getParent}}
\index{getParent@{getParent}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{getParent()}{getParent()}}
{\footnotesize\ttfamily \mbox{\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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!getMaterialName@{getMaterialName}}
\index{getMaterialName@{getMaterialName}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{getMaterialName()}{getMaterialName()}}
{\footnotesize\ttfamily const \mbox{\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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!assign@{assign}}
\index{assign@{assign}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{assign()}{assign()}}
{\footnotesize\ttfamily void Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::assign (\begin{DoxyParamCaption}\item[{\mbox{\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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!build@{build}}
\index{build@{build}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!addRenderables@{addRenderables}}
\index{addRenderables@{addRenderables}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{addRenderables()}{addRenderables()}}
{\footnotesize\ttfamily void Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::add\+Renderables (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue}} $\ast$}]{queue,  }\item[{\mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}}}]{group,  }\item[{\mbox{\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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!getMaterial@{getMaterial}}
\index{getMaterial@{getMaterial}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{getMaterial()}{getMaterial()}}
{\footnotesize\ttfamily const \mbox{\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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!getGeometryIterator@{getGeometryIterator}}
\index{getGeometryIterator@{getGeometryIterator}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{getGeometryIterator()}{getGeometryIterator()}}
{\footnotesize\ttfamily \mbox{\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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!getCurrentTechnique@{getCurrentTechnique}}
\index{getCurrentTechnique@{getCurrentTechnique}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{getCurrentTechnique()}{getCurrentTechnique()}}
{\footnotesize\ttfamily \mbox{\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 \mbox{\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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!dump@{dump}}
\index{dump@{dump}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\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::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}!visitRenderables@{visitRenderables}}
\index{visitRenderables@{visitRenderables}!Ogre::StaticGeometry::MaterialBucket@{Ogre::StaticGeometry::MaterialBucket}}
\doxysubsubsection{\texorpdfstring{visitRenderables()}{visitRenderables()}}
{\footnotesize\ttfamily void Ogre\+::\+Static\+Geometry\+::\+Material\+Bucket\+::visit\+Renderables (\begin{DoxyParamCaption}\item[{\mbox{\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 
\mbox{\hyperlink{_ogre_static_geometry_8h}{Ogre\+Static\+Geometry.\+h}}\end{DoxyCompactItemize}
