\hypertarget{class_ogre_1_1_g_l_uniform_cache}{}\section{Ogre\+:\+:G\+L\+Uniform\+Cache Class Reference}
\label{class_ogre_1_1_g_l_uniform_cache}\index{Ogre\+::\+G\+L\+Uniform\+Cache@{Ogre\+::\+G\+L\+Uniform\+Cache}}


An in memory cache of the Open\+GL uniforms.  




{\ttfamily \#include $<$Ogre\+G\+L\+Uniform\+Cache.\+h$>$}



Inheritance diagram for Ogre\+:\+:G\+L\+Uniform\+Cache\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=208pt]{class_ogre_1_1_g_l_uniform_cache__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_ogre_1_1_g_l_uniform_cache_a1b84fcf748f94aab5130af711bcee397}{clear\+Cache} ()
\begin{DoxyCompactList}\small\item\em Clears all cached values. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_g_l_uniform_cache_a05a5bf509a45bfec8bd8ee024e022809}{update\+Uniform} (int location, const void $\ast$value, int length)
\begin{DoxyCompactList}\small\item\em Update a uniform. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
An in memory cache of the Open\+GL uniforms. 



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_g_l_uniform_cache_a1b84fcf748f94aab5130af711bcee397}\label{class_ogre_1_1_g_l_uniform_cache_a1b84fcf748f94aab5130af711bcee397}} 
\index{Ogre\+::\+G\+L\+Uniform\+Cache@{Ogre\+::\+G\+L\+Uniform\+Cache}!clear\+Cache@{clear\+Cache}}
\index{clear\+Cache@{clear\+Cache}!Ogre\+::\+G\+L\+Uniform\+Cache@{Ogre\+::\+G\+L\+Uniform\+Cache}}
\subsubsection{\texorpdfstring{clear\+Cache()}{clearCache()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+Uniform\+Cache\+::clear\+Cache (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Clears all cached values. 

\mbox{\Hypertarget{class_ogre_1_1_g_l_uniform_cache_a05a5bf509a45bfec8bd8ee024e022809}\label{class_ogre_1_1_g_l_uniform_cache_a05a5bf509a45bfec8bd8ee024e022809}} 
\index{Ogre\+::\+G\+L\+Uniform\+Cache@{Ogre\+::\+G\+L\+Uniform\+Cache}!update\+Uniform@{update\+Uniform}}
\index{update\+Uniform@{update\+Uniform}!Ogre\+::\+G\+L\+Uniform\+Cache@{Ogre\+::\+G\+L\+Uniform\+Cache}}
\subsubsection{\texorpdfstring{update\+Uniform()}{updateUniform()}}
{\footnotesize\ttfamily bool Ogre\+::\+G\+L\+Uniform\+Cache\+::update\+Uniform (\begin{DoxyParamCaption}\item[{int}]{location,  }\item[{const void $\ast$}]{value,  }\item[{int}]{length }\end{DoxyParamCaption})}



Update a uniform. 

\begin{DoxyReturn}{Returns}
A boolean value indicating whether this uniform needs to be updated in the GL. 
\end{DoxyReturn}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_g_l_uniform_cache_8h}{Ogre\+G\+L\+Uniform\+Cache.\+h}\end{DoxyCompactItemize}
