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


Struct holding geometry optimised per \mbox{\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=246pt]{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_ad74c3d8bc57c3902ad3f1be62fc552fd}{Optimised\+Sub\+Mesh\+Geometry}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_a37aaec0b804ce2f86a6e3646524a517f}{$\sim$\+Optimised\+Sub\+Mesh\+Geometry}} ()
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_index_data}{Index\+Data}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_afee0d52be974cc287c49c1988ca570aa}{index\+Data}}
\item 
\mbox{\hyperlink{class_ogre_1_1_vertex_data}{Vertex\+Data}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_static_geometry_1_1_optimised_sub_mesh_geometry_a8c758564b40d121b4ec99c1e31dc04b3}{vertex\+Data}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Struct holding geometry optimised per \mbox{\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 \mbox{\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 \mbox{\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}


\doxysubsection{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::StaticGeometry::OptimisedSubMeshGeometry@{Ogre::StaticGeometry::OptimisedSubMeshGeometry}!OptimisedSubMeshGeometry@{OptimisedSubMeshGeometry}}
\index{OptimisedSubMeshGeometry@{OptimisedSubMeshGeometry}!Ogre::StaticGeometry::OptimisedSubMeshGeometry@{Ogre::StaticGeometry::OptimisedSubMeshGeometry}}
\doxysubsubsection{\texorpdfstring{OptimisedSubMeshGeometry()}{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::StaticGeometry::OptimisedSubMeshGeometry@{Ogre::StaticGeometry::OptimisedSubMeshGeometry}!````~OptimisedSubMeshGeometry@{$\sim$OptimisedSubMeshGeometry}}
\index{````~OptimisedSubMeshGeometry@{$\sim$OptimisedSubMeshGeometry}!Ogre::StaticGeometry::OptimisedSubMeshGeometry@{Ogre::StaticGeometry::OptimisedSubMeshGeometry}}
\doxysubsubsection{\texorpdfstring{$\sim$OptimisedSubMeshGeometry()}{~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.



\doxysubsection{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::StaticGeometry::OptimisedSubMeshGeometry@{Ogre::StaticGeometry::OptimisedSubMeshGeometry}!vertexData@{vertexData}}
\index{vertexData@{vertexData}!Ogre::StaticGeometry::OptimisedSubMeshGeometry@{Ogre::StaticGeometry::OptimisedSubMeshGeometry}}
\doxysubsubsection{\texorpdfstring{vertexData}{vertexData}}
{\footnotesize\ttfamily \mbox{\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::StaticGeometry::OptimisedSubMeshGeometry@{Ogre::StaticGeometry::OptimisedSubMeshGeometry}!indexData@{indexData}}
\index{indexData@{indexData}!Ogre::StaticGeometry::OptimisedSubMeshGeometry@{Ogre::StaticGeometry::OptimisedSubMeshGeometry}}
\doxysubsubsection{\texorpdfstring{indexData}{indexData}}
{\footnotesize\ttfamily \mbox{\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 
\mbox{\hyperlink{_ogre_static_geometry_8h}{Ogre\+Static\+Geometry.\+h}}\end{DoxyCompactItemize}
