\hypertarget{a00657}{\section{A\+C\+G\+:\+:G\+P\+U\+Cache\+Optimizer\+Tipsify Class Reference}
\label{a00657}\index{A\+C\+G\+::\+G\+P\+U\+Cache\+Optimizer\+Tipsify@{A\+C\+G\+::\+G\+P\+U\+Cache\+Optimizer\+Tipsify}}
}


{\ttfamily \#include $<$G\+P\+U\+Cache\+Optimizer.\+hh$>$}

Inheritance diagram for A\+C\+G\+:\+:G\+P\+U\+Cache\+Optimizer\+Tipsify\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00657}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{a01118}{Ring\+Stack}
\begin{DoxyCompactList}\small\item\em Simple and fast fixed size stack used in tipsify implementation. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00657_ad04b360b07113104854f1275bbe13746}{G\+P\+U\+Cache\+Optimizer\+Tipsify} (unsigned int Cache\+Size, unsigned int Num\+Tris, unsigned int Num\+Verts, unsigned int Index\+Size, const void $\ast$p\+Indices)
\begin{DoxyCompactList}\small\item\em The actual computation happens here in this constructor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00657_a4099a044ad0a59ef2a1df46e104543d9}{void {\bfseries Make\+Abstract} ()}\label{a00657_a4099a044ad0a59ef2a1df46e104543d9}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Implementation of \char`\"{}\+Fast Triangle Reordering for Vertex Locality and Reduced Overdraw\char`\"{} by Sander et. al. \href{http://www.cs.princeton.edu/gfx/pubs/Sander_2007_%3ETR/index.php}{\tt http\+://www.\+cs.\+princeton.\+edu/gfx/pubs/\+Sander\+\_\+2007\+\_\+\%3\+E\+T\+R/index.\+php} 

Definition at line 262 of file G\+P\+U\+Cache\+Optimizer.\+hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00657_ad04b360b07113104854f1275bbe13746}{\index{A\+C\+G\+::\+G\+P\+U\+Cache\+Optimizer\+Tipsify@{A\+C\+G\+::\+G\+P\+U\+Cache\+Optimizer\+Tipsify}!G\+P\+U\+Cache\+Optimizer\+Tipsify@{G\+P\+U\+Cache\+Optimizer\+Tipsify}}
\index{G\+P\+U\+Cache\+Optimizer\+Tipsify@{G\+P\+U\+Cache\+Optimizer\+Tipsify}!A\+C\+G\+::\+G\+P\+U\+Cache\+Optimizer\+Tipsify@{A\+C\+G\+::\+G\+P\+U\+Cache\+Optimizer\+Tipsify}}
\subsubsection[{G\+P\+U\+Cache\+Optimizer\+Tipsify}]{\setlength{\rightskip}{0pt plus 5cm}A\+C\+G\+::\+G\+P\+U\+Cache\+Optimizer\+Tipsify\+::\+G\+P\+U\+Cache\+Optimizer\+Tipsify (
\begin{DoxyParamCaption}
\item[{unsigned int}]{Cache\+Size, }
\item[{unsigned int}]{Num\+Tris, }
\item[{unsigned int}]{Num\+Verts, }
\item[{unsigned int}]{Index\+Size, }
\item[{const void $\ast$}]{p\+Indices}
\end{DoxyParamCaption}
)}}\label{a00657_ad04b360b07113104854f1275bbe13746}


The actual computation happens here in this constructor. 


\begin{DoxyParams}{Parameters}
{\em Num\+Verts} & Number of vertices \\
\hline
{\em Index\+Size} & size in bytes of one index\+: 1, 2, 4 supported \\
\hline
{\em p\+Indices} & index buffer \\
\hline
{\em Cache\+Size} & number of entries in the vertex cache \\
\hline
{\em Num\+Tris} & Number of triangles \\
\hline
\end{DoxyParams}


Definition at line 341 of file G\+P\+U\+Cache\+Optimizer.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Geometry/G\+P\+U\+Cache\+Optimizer.\+hh\item 
A\+C\+G/\+Geometry/G\+P\+U\+Cache\+Optimizer.\+cc\end{DoxyCompactItemize}
