\hypertarget{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry}{}\section{Ogre\+:\+:Static\+Geometry\+:\+:Optimised\+Sub\+Mesh\+Geometry Class Reference}
\label{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry}\index{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry@{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry}}


Struct holding geometry optimised per \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} / L\+OD level, ready for copying to instances.  




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



Inheritance diagram for Ogre\+:\+:Static\+Geometry\+:\+:Optimised\+Sub\+Mesh\+Geometry\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=245pt]{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_ad74c3d8bc57c3902ad3f1be62fc552fd}{Optimised\+Sub\+Mesh\+Geometry} ()
\item 
\hyperlink{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_a37aaec0b804ce2f86a6e3646524a517f}{$\sim$\+Optimised\+Sub\+Mesh\+Geometry} ()
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_index_data}{Index\+Data} $\ast$ \hyperlink{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_afee0d52be974cc287c49c1988ca570aa}{index\+Data}
\item 
\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data} $\ast$ \hyperlink{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_a8c758564b40d121b4ec99c1e31dc04b3}{vertex\+Data}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Struct holding geometry optimised per \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} / L\+OD level, ready for copying to instances. 

\begin{DoxyRemark}{Remarks}
Since we\textquotesingle{}re going to be duplicating geometry lots of times, it\textquotesingle{}s far more important that we don\textquotesingle{}t have redundant vertex data. If a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} uses shared geometry, or we\textquotesingle{}re looking at a lower L\+OD, not all the vertices are being referenced by faces on that submesh. Therefore to duplicate them, potentially hundreds or even thousands of times, would be extremely wasteful. Therefore, if a \hyperlink{class_ogre_1_1_sub_mesh}{Sub\+Mesh} at a given L\+OD has wastage, we create an optimised version of it\textquotesingle{}s geometry which is ready for copying with no wastage. 
\end{DoxyRemark}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_ad74c3d8bc57c3902ad3f1be62fc552fd}\label{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_ad74c3d8bc57c3902ad3f1be62fc552fd}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry@{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry}!Optimised\+Sub\+Mesh\+Geometry@{Optimised\+Sub\+Mesh\+Geometry}}
\index{Optimised\+Sub\+Mesh\+Geometry@{Optimised\+Sub\+Mesh\+Geometry}!Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry@{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry}}
\subsubsection{\texorpdfstring{Optimised\+Sub\+Mesh\+Geometry()}{OptimisedSubMeshGeometry()}}
{\footnotesize\ttfamily Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_a37aaec0b804ce2f86a6e3646524a517f}\label{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_a37aaec0b804ce2f86a6e3646524a517f}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry@{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry}!````~Optimised\+Sub\+Mesh\+Geometry@{$\sim$\+Optimised\+Sub\+Mesh\+Geometry}}
\index{````~Optimised\+Sub\+Mesh\+Geometry@{$\sim$\+Optimised\+Sub\+Mesh\+Geometry}!Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry@{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry}}
\subsubsection{\texorpdfstring{$\sim$\+Optimised\+Sub\+Mesh\+Geometry()}{~OptimisedSubMeshGeometry()}}
{\footnotesize\ttfamily Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry\+::$\sim$\+Optimised\+Sub\+Mesh\+Geometry (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



References O\+G\+R\+E\+\_\+\+D\+E\+L\+E\+TE.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_a8c758564b40d121b4ec99c1e31dc04b3}\label{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_a8c758564b40d121b4ec99c1e31dc04b3}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry@{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry}!vertex\+Data@{vertex\+Data}}
\index{vertex\+Data@{vertex\+Data}!Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry@{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry}}
\subsubsection{\texorpdfstring{vertex\+Data}{vertexData}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}$\ast$ Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry\+::vertex\+Data}

\mbox{\Hypertarget{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_afee0d52be974cc287c49c1988ca570aa}\label{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_afee0d52be974cc287c49c1988ca570aa}} 
\index{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry@{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry}!index\+Data@{index\+Data}}
\index{index\+Data@{index\+Data}!Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry@{Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry}}
\subsubsection{\texorpdfstring{index\+Data}{indexData}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_index_data}{Index\+Data}$\ast$ Ogre\+::\+Static\+Geometry\+::\+Optimised\+Sub\+Mesh\+Geometry\+::index\+Data}



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}
