\hypertarget{class_ogre_1_1_index_data}{}\doxysection{Ogre\+::Index\+Data Class Reference}
\label{class_ogre_1_1_index_data}\index{Ogre::IndexData@{Ogre::IndexData}}


Summary class collecting together index data source information.  




{\ttfamily \#include $<$Ogre\+Vertex\+Index\+Data.\+h$>$}



Inheritance diagram for Ogre\+::Index\+Data\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=176pt]{class_ogre_1_1_index_data__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_index_data_a79242aa4c8893016a56d2cc13a10f803}{Index\+Data}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_index_data_a952375c947bc66a7bc98fa1e20ac1e3d}{$\sim$\+Index\+Data}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_index_data}{Index\+Data}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_index_data_a89fc853dc5502fc9559de426654b7276}{clone}} (bool copy\+Data=true, \mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base}{Hardware\+Buffer\+Manager\+Base}} $\ast$mgr=0) const
\begin{DoxyCompactList}\small\item\em Clones this index data, potentially including replicating the index buffer. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_index_data_a0c19f7fc00c66266fd0d7fe671733112}{optimise\+Vertex\+Cache\+Tri\+List}} (void)
\begin{DoxyCompactList}\small\item\em Re-\/order the indexes in this index data structure to be more vertex cache friendly; that is to re-\/use the same vertices as close together as possible. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{namespace_ogre_ae906cf8e579ba8ade19879ec05b1a456}{Hardware\+Index\+Buffer\+Shared\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_index_data_a1a9f241fbc57ce4cce5615302da71b76}{index\+Buffer}}
\begin{DoxyCompactList}\small\item\em Pointer to the \mbox{\hyperlink{class_ogre_1_1_hardware_index_buffer}{Hardware\+Index\+Buffer}} to use, must be specified if use\+Indexes = true. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{class_ogre_1_1_index_data_afad8ae9cec6cab5c8c07ee5532dd89c5}{index\+Count}}
\begin{DoxyCompactList}\small\item\em The number of indexes to use from the buffer. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{class_ogre_1_1_index_data_a7cd3d6f7d4af3271bfae8ce49f46ff3a}{index\+Start}}
\begin{DoxyCompactList}\small\item\em Index in the buffer to start from for this operation. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Summary class collecting together index data source information. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_index_data_a79242aa4c8893016a56d2cc13a10f803}\label{class_ogre_1_1_index_data_a79242aa4c8893016a56d2cc13a10f803}} 
\index{Ogre::IndexData@{Ogre::IndexData}!IndexData@{IndexData}}
\index{IndexData@{IndexData}!Ogre::IndexData@{Ogre::IndexData}}
\doxysubsubsection{\texorpdfstring{IndexData()}{IndexData()}}
{\footnotesize\ttfamily Ogre\+::\+Index\+Data\+::\+Index\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_index_data_a952375c947bc66a7bc98fa1e20ac1e3d}\label{class_ogre_1_1_index_data_a952375c947bc66a7bc98fa1e20ac1e3d}} 
\index{Ogre::IndexData@{Ogre::IndexData}!````~IndexData@{$\sim$IndexData}}
\index{````~IndexData@{$\sim$IndexData}!Ogre::IndexData@{Ogre::IndexData}}
\doxysubsubsection{\texorpdfstring{$\sim$IndexData()}{~IndexData()}}
{\footnotesize\ttfamily Ogre\+::\+Index\+Data\+::$\sim$\+Index\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_index_data_a89fc853dc5502fc9559de426654b7276}\label{class_ogre_1_1_index_data_a89fc853dc5502fc9559de426654b7276}} 
\index{Ogre::IndexData@{Ogre::IndexData}!clone@{clone}}
\index{clone@{clone}!Ogre::IndexData@{Ogre::IndexData}}
\doxysubsubsection{\texorpdfstring{clone()}{clone()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_index_data}{Index\+Data}}$\ast$ Ogre\+::\+Index\+Data\+::clone (\begin{DoxyParamCaption}\item[{bool}]{copy\+Data = {\ttfamily true},  }\item[{\mbox{\hyperlink{class_ogre_1_1_hardware_buffer_manager_base}{Hardware\+Buffer\+Manager\+Base}} $\ast$}]{mgr = {\ttfamily 0} }\end{DoxyParamCaption}) const}



Clones this index data, potentially including replicating the index buffer. 


\begin{DoxyParams}{Parameters}
{\em copy\+Data} & Whether to create new buffers too or just reference the existing ones \\
\hline
{\em mgr} & If supplied, the buffer manager through which copies should be made \\
\hline
\end{DoxyParams}
\begin{DoxyRemark}{Remarks}
The caller is expected to delete the returned pointer when finished 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_index_data_a0c19f7fc00c66266fd0d7fe671733112}\label{class_ogre_1_1_index_data_a0c19f7fc00c66266fd0d7fe671733112}} 
\index{Ogre::IndexData@{Ogre::IndexData}!optimiseVertexCacheTriList@{optimiseVertexCacheTriList}}
\index{optimiseVertexCacheTriList@{optimiseVertexCacheTriList}!Ogre::IndexData@{Ogre::IndexData}}
\doxysubsubsection{\texorpdfstring{optimiseVertexCacheTriList()}{optimiseVertexCacheTriList()}}
{\footnotesize\ttfamily void Ogre\+::\+Index\+Data\+::optimise\+Vertex\+Cache\+Tri\+List (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Re-\/order the indexes in this index data structure to be more vertex cache friendly; that is to re-\/use the same vertices as close together as possible. 

\begin{DoxyRemark}{Remarks}
Can only be used for index data which consists of triangle lists. It would in fact be pointless to use it on triangle strips or fans in any case. 
\end{DoxyRemark}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_index_data_a1a9f241fbc57ce4cce5615302da71b76}\label{class_ogre_1_1_index_data_a1a9f241fbc57ce4cce5615302da71b76}} 
\index{Ogre::IndexData@{Ogre::IndexData}!indexBuffer@{indexBuffer}}
\index{indexBuffer@{indexBuffer}!Ogre::IndexData@{Ogre::IndexData}}
\doxysubsubsection{\texorpdfstring{indexBuffer}{indexBuffer}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_ae906cf8e579ba8ade19879ec05b1a456}{Hardware\+Index\+Buffer\+Shared\+Ptr}} Ogre\+::\+Index\+Data\+::index\+Buffer}



Pointer to the \mbox{\hyperlink{class_ogre_1_1_hardware_index_buffer}{Hardware\+Index\+Buffer}} to use, must be specified if use\+Indexes = true. 

\mbox{\Hypertarget{class_ogre_1_1_index_data_a7cd3d6f7d4af3271bfae8ce49f46ff3a}\label{class_ogre_1_1_index_data_a7cd3d6f7d4af3271bfae8ce49f46ff3a}} 
\index{Ogre::IndexData@{Ogre::IndexData}!indexStart@{indexStart}}
\index{indexStart@{indexStart}!Ogre::IndexData@{Ogre::IndexData}}
\doxysubsubsection{\texorpdfstring{indexStart}{indexStart}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Index\+Data\+::index\+Start}



Index in the buffer to start from for this operation. 

\mbox{\Hypertarget{class_ogre_1_1_index_data_afad8ae9cec6cab5c8c07ee5532dd89c5}\label{class_ogre_1_1_index_data_afad8ae9cec6cab5c8c07ee5532dd89c5}} 
\index{Ogre::IndexData@{Ogre::IndexData}!indexCount@{indexCount}}
\index{indexCount@{indexCount}!Ogre::IndexData@{Ogre::IndexData}}
\doxysubsubsection{\texorpdfstring{indexCount}{indexCount}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Index\+Data\+::index\+Count}



The number of indexes to use from the buffer. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_vertex_index_data_8h}{Ogre\+Vertex\+Index\+Data.\+h}}\end{DoxyCompactItemize}
