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


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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\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 \mbox{\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}


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

\doxysubsection{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::GLUniformCache@{Ogre::GLUniformCache}!clearCache@{clearCache}}
\index{clearCache@{clearCache}!Ogre::GLUniformCache@{Ogre::GLUniformCache}}
\doxysubsubsection{\texorpdfstring{clearCache()}{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::GLUniformCache@{Ogre::GLUniformCache}!updateUniform@{updateUniform}}
\index{updateUniform@{updateUniform}!Ogre::GLUniformCache@{Ogre::GLUniformCache}}
\doxysubsubsection{\texorpdfstring{updateUniform()}{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 
\mbox{\hyperlink{_ogre_g_l_uniform_cache_8h}{Ogre\+G\+L\+Uniform\+Cache.\+h}}\end{DoxyCompactItemize}
