\hypertarget{classGLSL_1_1UniformPool}{}\section{G\+L\+SL\+:\+:Uniform\+Pool Class Reference}
\label{classGLSL_1_1UniformPool}\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}


\hyperlink{namespaceGLSL}{G\+L\+SL} uniform pool.  




{\ttfamily \#include $<$Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Shader\+Utils/\+Uniform\+Pool.\+hh$>$}

\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structGLSL_1_1UniformPool_1_1UniformBase}{Uniform\+Base}
\item 
struct \hyperlink{structGLSL_1_1UniformPool_1_1UniformBuf}{Uniform\+Buf}
\item 
struct \hyperlink{structGLSL_1_1UniformPool_1_1UniformMat}{Uniform\+Mat}
\item 
struct \hyperlink{structGLSL_1_1UniformPool_1_1UniformVecf}{Uniform\+Vecf}
\item 
struct \hyperlink{structGLSL_1_1UniformPool_1_1UniformVeci}{Uniform\+Veci}
\item 
struct \hyperlink{structGLSL_1_1UniformPool_1_1UniformVecui}{Uniform\+Vecui}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classGLSL_1_1UniformPool_a30d359f74ae8ef36130736f701d5c898}\label{classGLSL_1_1UniformPool_a30d359f74ae8ef36130736f701d5c898}} 
\hyperlink{classGLSL_1_1UniformPool_a30d359f74ae8ef36130736f701d5c898}{Uniform\+Pool} ()
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classGLSL_1_1UniformPool_a3886c1287f63f6619515c17eed134036}\label{classGLSL_1_1UniformPool_a3886c1287f63f6619515c17eed134036}} 
\hyperlink{classGLSL_1_1UniformPool_a3886c1287f63f6619515c17eed134036}{Uniform\+Pool} (const \hyperlink{classGLSL_1_1UniformPool}{Uniform\+Pool} \&\+\_\+pool)
\begin{DoxyCompactList}\small\item\em Copy Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classGLSL_1_1UniformPool_af9b943608070ffe39b0dae2693a600a3}\label{classGLSL_1_1UniformPool_af9b943608070ffe39b0dae2693a600a3}} 
virtual \hyperlink{classGLSL_1_1UniformPool_af9b943608070ffe39b0dae2693a600a3}{$\sim$\+Uniform\+Pool} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_ad6275515201c19c6edffa1ff3c167373}{bind} (\hyperlink{classGLSL_1_1Program}{Ptr\+Program} \+\_\+prog) const
\begin{DoxyCompactList}\small\item\em Send all stored uniforms to program. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a817d6b79f53a90385445b080b25a087f}{bind} (G\+Luint \+\_\+prog) const
\begin{DoxyCompactList}\small\item\em Send all stored uniforms to program. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_aa386178893dee4bbda20a78b92eec68f}{set\+Uniform} (const char $\ast$\+\_\+name, G\+Lint \+\_\+value)
\begin{DoxyCompactList}\small\item\em Set int uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a24fe7f82b446a2b9bfa70582146f860d}{set\+Uniform} (const char $\ast$\+\_\+name, const \hyperlink{namespaceACG_a72710dc6f55cd56f968f22bca0178e8c}{A\+C\+G\+::\+Vec2i} \&\+\_\+value)
\begin{DoxyCompactList}\small\item\em Set ivec2 uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a70ff789461a55a3f95f3bc263f502262}{set\+Uniform} (const char $\ast$\+\_\+name, const \hyperlink{namespaceACG_aa30a8644d70fd14b6430f3819953a431}{A\+C\+G\+::\+Vec3i} \&\+\_\+value)
\begin{DoxyCompactList}\small\item\em Set ivec3 uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_abea7c4b4e2b6d493bae703efac48148b}{set\+Uniform} (const char $\ast$\+\_\+name, const \hyperlink{namespaceACG_a8cc325594ae505979f752598d1d81c40}{A\+C\+G\+::\+Vec4i} \&\+\_\+value)
\begin{DoxyCompactList}\small\item\em Set ivec4 uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a6ba7db94f3fca89aefbd1135d691ac39}{set\+Uniform} (const char $\ast$\+\_\+name, G\+Luint \+\_\+value)
\begin{DoxyCompactList}\small\item\em Set uint uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a0b529b3e0f9368337c56c60c0b5e481e}{set\+Uniform} (const char $\ast$\+\_\+name, const \hyperlink{namespaceACG_ae4755d4e07cff81eb7a26cd0540ce314}{A\+C\+G\+::\+Vec2ui} \&\+\_\+value)
\begin{DoxyCompactList}\small\item\em Set uvec2 uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a6cabf0335aa99c6789f7814cee902537}{set\+Uniform} (const char $\ast$\+\_\+name, const \hyperlink{namespaceACG_a916145c1569f644e2559d780955f3050}{A\+C\+G\+::\+Vec3ui} \&\+\_\+value)
\begin{DoxyCompactList}\small\item\em Set uvec3 uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a94a1c175e335ad5d2eefe92cae88deae}{set\+Uniform} (const char $\ast$\+\_\+name, const \hyperlink{namespaceACG_af5c09af5e4de06e8474b9995b3d39d30}{A\+C\+G\+::\+Vec4ui} \&\+\_\+value)
\begin{DoxyCompactList}\small\item\em Set uvec4 uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_aa0a4d3050e9bf67fa63f0b3715ad5587}{set\+Uniform} (const char $\ast$\+\_\+name, G\+Lfloat \+\_\+value)
\begin{DoxyCompactList}\small\item\em Set float uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_af5e96fb538730d37b55daf743c19013d}{set\+Uniform} (const char $\ast$\+\_\+name, const \hyperlink{namespaceACG_a8b858737aebd55e312149cf208a0b3f3}{A\+C\+G\+::\+Vec2f} \&\+\_\+value)
\begin{DoxyCompactList}\small\item\em Set vec2 uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a2864c7b7db42dba995cb35ef94b19513}{set\+Uniform} (const char $\ast$\+\_\+name, const \hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} \&\+\_\+value)
\begin{DoxyCompactList}\small\item\em Set vec3 uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_ace420129d76fed52eb96d3a51fa097d6}{set\+Uniform} (const char $\ast$\+\_\+name, const \hyperlink{namespaceACG_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \&\+\_\+value)
\begin{DoxyCompactList}\small\item\em Set vec4 uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_abf42e2ee8a7de35c273724c845b62fa2}{set\+Uniform} (const char $\ast$\+\_\+name, const \hyperlink{namespaceACG_a1e5dae9881df8fa0d42b985a8e7fad28}{A\+C\+G\+::\+G\+L\+Matrixf} \&\+\_\+value, bool \+\_\+transposed=false)
\begin{DoxyCompactList}\small\item\em Set 4x4f\+Matrix uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_adb242acd714e5e542510b40d751c8181}{set\+Uniform\+Mat3} (const char $\ast$\+\_\+name, const \hyperlink{namespaceACG_a1e5dae9881df8fa0d42b985a8e7fad28}{A\+C\+G\+::\+G\+L\+Matrixf} \&\+\_\+value, bool \+\_\+transposed=false)
\begin{DoxyCompactList}\small\item\em Set 3x3f\+Matrix uniform to specified value. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a04295063fe4def928b2dd442ced4c76e}{set\+Uniform} (const char $\ast$\+\_\+name, G\+Lint $\ast$\+\_\+values, int \+\_\+count)
\begin{DoxyCompactList}\small\item\em Set int array uniform to specified values. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a23f6cc853e23cc3d52fbbd29607fe9d3}{set\+Uniform} (const char $\ast$\+\_\+name, G\+Lfloat $\ast$\+\_\+values, int \+\_\+count)
\begin{DoxyCompactList}\small\item\em Set float array uniform to specified values. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a42671e928506b1e053e056b55b72c2ca}{add\+Pool} (const \hyperlink{classGLSL_1_1UniformPool}{Uniform\+Pool} \&\+\_\+src)
\begin{DoxyCompactList}\small\item\em Add all uniforms of a pool to this pool. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a43a8da3ad1cd404c9be288c1fa783ba0}{clear} ()
\begin{DoxyCompactList}\small\item\em Clear the pool. \end{DoxyCompactList}\item 
bool \hyperlink{classGLSL_1_1UniformPool_a8eacc7eb624bab9f89a38c7ef422e193}{empty} () const
\begin{DoxyCompactList}\small\item\em returns if the pool is empty \end{DoxyCompactList}\item 
Q\+String \hyperlink{classGLSL_1_1UniformPool_ae0254263b3c145fa7b58af66f0b18909}{to\+String} () const
\begin{DoxyCompactList}\small\item\em print to string for debugging \end{DoxyCompactList}\item 
\hyperlink{classGLSL_1_1UniformPool}{Uniform\+Pool} \& \hyperlink{classGLSL_1_1UniformPool_aee6e9846e5e654c2e800f35323bd9ed4}{operator=} (const \hyperlink{classGLSL_1_1UniformPool}{Uniform\+Pool} \&\+\_\+other)
\begin{DoxyCompactList}\small\item\em copy \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classGLSL_1_1UniformPool_a1677e126574a8f436891250f066a67db}\label{classGLSL_1_1UniformPool_a1677e126574a8f436891250f066a67db}} 
typedef std\+::list$<$ \hyperlink{structGLSL_1_1UniformPool_1_1UniformBase}{Uniform\+Base} $\ast$ $>$ {\bfseries Uniform\+List}
\item 
\mbox{\Hypertarget{classGLSL_1_1UniformPool_abf3d2883622c4b09fc6a1884c01ffeb9}\label{classGLSL_1_1UniformPool_abf3d2883622c4b09fc6a1884c01ffeb9}} 
typedef Uniform\+List\+::iterator {\bfseries Uniform\+List\+It}
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
Uniform\+List\+It \hyperlink{classGLSL_1_1UniformPool_a06753d744c50319b83e0bd3d8b0a574a}{find\+Entry} (std\+::string \+\_\+name)
\begin{DoxyCompactList}\small\item\em Search the pool for an existing value for a uniform name. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a61454039db1323ce5033a296e7929272}{add\+Vecf} (const \hyperlink{structGLSL_1_1UniformPool_1_1UniformVecf}{Uniform\+Vecf} \&\+\_\+vec)
\begin{DoxyCompactList}\small\item\em Add or update a vector type uniform in pool. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_af5ecd5a7f570592992e678cc8fd6175f}{add\+Veci} (const \hyperlink{structGLSL_1_1UniformPool_1_1UniformVeci}{Uniform\+Veci} \&\+\_\+vec)
\begin{DoxyCompactList}\small\item\em Add or update a vector type uniform in pool. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a71cf18ce21b9d69903f34a6c629dd3fd}{add\+Vecui} (const \hyperlink{structGLSL_1_1UniformPool_1_1UniformVecui}{Uniform\+Vecui} \&\+\_\+vec)
\begin{DoxyCompactList}\small\item\em Add or update a vector type uniform in pool. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_addc80e315ad6924c40f0dda7fbf2a25f}{add\+Matrix} (const \hyperlink{structGLSL_1_1UniformPool_1_1UniformMat}{Uniform\+Mat} \&\+\_\+mat)
\begin{DoxyCompactList}\small\item\em Add or update a matrix type uniform in pool. \end{DoxyCompactList}\item 
void \hyperlink{classGLSL_1_1UniformPool_a1c901b7560d7477f25937cf39414b17d}{add\+Buf} (const char $\ast$\+\_\+name, void $\ast$\+\_\+values, int \+\_\+count, bool \+\_\+integer)
\begin{DoxyCompactList}\small\item\em Add or update an array type uniform in pool. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classGLSL_1_1UniformPool_ac5c7c8b17ca5ccf7c67c5e144b6e4c7c}\label{classGLSL_1_1UniformPool_ac5c7c8b17ca5ccf7c67c5e144b6e4c7c}} 
Uniform\+List \hyperlink{classGLSL_1_1UniformPool_ac5c7c8b17ca5ccf7c67c5e144b6e4c7c}{pool\+\_\+}
\begin{DoxyCompactList}\small\item\em list of uniform params \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{namespaceGLSL}{G\+L\+SL} uniform pool. 

A uniform pool collects values for shader uniforms 

Definition at line 64 of file Uniform\+Pool.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classGLSL_1_1UniformPool_a1c901b7560d7477f25937cf39414b17d}\label{classGLSL_1_1UniformPool_a1c901b7560d7477f25937cf39414b17d}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!add\+Buf@{add\+Buf}}
\index{add\+Buf@{add\+Buf}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{add\+Buf()}{addBuf()}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::add\+Buf (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{void $\ast$}]{\+\_\+values,  }\item[{int}]{\+\_\+count,  }\item[{bool}]{\+\_\+integer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Add or update an array type uniform in pool. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Uniform name \\
\hline
{\em \+\_\+values} & array data \\
\hline
{\em \+\_\+count} & array size (in dwords) \\
\hline
{\em \+\_\+integer} & integer/float array \\
\hline
\end{DoxyParams}


Definition at line 570 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_addc80e315ad6924c40f0dda7fbf2a25f}\label{classGLSL_1_1UniformPool_addc80e315ad6924c40f0dda7fbf2a25f}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!add\+Matrix@{add\+Matrix}}
\index{add\+Matrix@{add\+Matrix}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{add\+Matrix()}{addMatrix()}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::add\+Matrix (\begin{DoxyParamCaption}\item[{const \hyperlink{structGLSL_1_1UniformPool_1_1UniformMat}{Uniform\+Mat} \&}]{\+\_\+mat }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Add or update a matrix type uniform in pool. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+mat} & uniform specifier \\
\hline
\end{DoxyParams}


Definition at line 534 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a42671e928506b1e053e056b55b72c2ca}\label{classGLSL_1_1UniformPool_a42671e928506b1e053e056b55b72c2ca}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!add\+Pool@{add\+Pool}}
\index{add\+Pool@{add\+Pool}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{add\+Pool()}{addPool()}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::add\+Pool (\begin{DoxyParamCaption}\item[{const \hyperlink{classGLSL_1_1UniformPool}{Uniform\+Pool} \&}]{\+\_\+src }\end{DoxyParamCaption})}



Add all uniforms of a pool to this pool. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+src} & source uniform pool \\
\hline
\end{DoxyParams}


Definition at line 149 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a61454039db1323ce5033a296e7929272}\label{classGLSL_1_1UniformPool_a61454039db1323ce5033a296e7929272}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!add\+Vecf@{add\+Vecf}}
\index{add\+Vecf@{add\+Vecf}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{add\+Vecf()}{addVecf()}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::add\+Vecf (\begin{DoxyParamCaption}\item[{const \hyperlink{structGLSL_1_1UniformPool_1_1UniformVecf}{Uniform\+Vecf} \&}]{\+\_\+vec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Add or update a vector type uniform in pool. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+vec} & uniform specifier \\
\hline
\end{DoxyParams}


Definition at line 435 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_af5ecd5a7f570592992e678cc8fd6175f}\label{classGLSL_1_1UniformPool_af5ecd5a7f570592992e678cc8fd6175f}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!add\+Veci@{add\+Veci}}
\index{add\+Veci@{add\+Veci}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{add\+Veci()}{addVeci()}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::add\+Veci (\begin{DoxyParamCaption}\item[{const \hyperlink{structGLSL_1_1UniformPool_1_1UniformVeci}{Uniform\+Veci} \&}]{\+\_\+vec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Add or update a vector type uniform in pool. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+vec} & uniform specifier \\
\hline
\end{DoxyParams}


Definition at line 468 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a71cf18ce21b9d69903f34a6c629dd3fd}\label{classGLSL_1_1UniformPool_a71cf18ce21b9d69903f34a6c629dd3fd}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!add\+Vecui@{add\+Vecui}}
\index{add\+Vecui@{add\+Vecui}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{add\+Vecui()}{addVecui()}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::add\+Vecui (\begin{DoxyParamCaption}\item[{const \hyperlink{structGLSL_1_1UniformPool_1_1UniformVecui}{Uniform\+Vecui} \&}]{\+\_\+vec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Add or update a vector type uniform in pool. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+vec} & uniform specifier \\
\hline
\end{DoxyParams}


Definition at line 501 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_ad6275515201c19c6edffa1ff3c167373}\label{classGLSL_1_1UniformPool_ad6275515201c19c6edffa1ff3c167373}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!bind@{bind}}
\index{bind@{bind}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{bind()}{bind()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::bind (\begin{DoxyParamCaption}\item[{\hyperlink{classGLSL_1_1Program}{Ptr\+Program}}]{\+\_\+prog }\end{DoxyParamCaption}) const}



Send all stored uniforms to program. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+prog} & receiving \hyperlink{namespaceGLSL}{G\+L\+SL} program \\
\hline
\end{DoxyParams}


Definition at line 116 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a817d6b79f53a90385445b080b25a087f}\label{classGLSL_1_1UniformPool_a817d6b79f53a90385445b080b25a087f}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!bind@{bind}}
\index{bind@{bind}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{bind()}{bind()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::bind (\begin{DoxyParamCaption}\item[{G\+Luint}]{\+\_\+prog }\end{DoxyParamCaption}) const}



Send all stored uniforms to program. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+prog} & opengl program id \\
\hline
\end{DoxyParams}


Definition at line 124 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a43a8da3ad1cd404c9be288c1fa783ba0}\label{classGLSL_1_1UniformPool_a43a8da3ad1cd404c9be288c1fa783ba0}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!clear@{clear}}
\index{clear@{clear}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{clear()}{clear()}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::clear (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Clear the pool. 



Definition at line 86 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a8eacc7eb624bab9f89a38c7ef422e193}\label{classGLSL_1_1UniformPool_a8eacc7eb624bab9f89a38c7ef422e193}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!empty@{empty}}
\index{empty@{empty}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{empty()}{empty()}}
{\footnotesize\ttfamily bool G\+L\+S\+L\+::\+Uniform\+Pool\+::empty (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



returns if the pool is empty 

\begin{DoxyReturn}{Returns}
empty pool? 
\end{DoxyReturn}


Definition at line 95 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a06753d744c50319b83e0bd3d8b0a574a}\label{classGLSL_1_1UniformPool_a06753d744c50319b83e0bd3d8b0a574a}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!find\+Entry@{find\+Entry}}
\index{find\+Entry@{find\+Entry}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{find\+Entry()}{findEntry()}}
{\footnotesize\ttfamily Uniform\+Pool\+::\+Uniform\+List\+It G\+L\+S\+L\+::\+Uniform\+Pool\+::find\+Entry (\begin{DoxyParamCaption}\item[{std\+::string}]{\+\_\+name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Search the pool for an existing value for a uniform name. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
iterator of uniform entry 
\end{DoxyReturn}


Definition at line 135 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_aee6e9846e5e654c2e800f35323bd9ed4}\label{classGLSL_1_1UniformPool_aee6e9846e5e654c2e800f35323bd9ed4}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!operator=@{operator=}}
\index{operator=@{operator=}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \hyperlink{classGLSL_1_1UniformPool}{Uniform\+Pool} \& G\+L\+S\+L\+::\+Uniform\+Pool\+::operator= (\begin{DoxyParamCaption}\item[{const \hyperlink{classGLSL_1_1UniformPool}{Uniform\+Pool} \&}]{\+\_\+other }\end{DoxyParamCaption})}



copy 



Definition at line 81 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_aa386178893dee4bbda20a78b92eec68f}\label{classGLSL_1_1UniformPool_aa386178893dee4bbda20a78b92eec68f}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [1/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{G\+Lint}]{\+\_\+value }\end{DoxyParamCaption})}



Set int uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 614 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a24fe7f82b446a2b9bfa70582146f860d}\label{classGLSL_1_1UniformPool_a24fe7f82b446a2b9bfa70582146f860d}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [2/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{const \hyperlink{namespaceACG_a72710dc6f55cd56f968f22bca0178e8c}{A\+C\+G\+::\+Vec2i} \&}]{\+\_\+value }\end{DoxyParamCaption})}



Set ivec2 uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 630 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a70ff789461a55a3f95f3bc263f502262}\label{classGLSL_1_1UniformPool_a70ff789461a55a3f95f3bc263f502262}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [3/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{const \hyperlink{namespaceACG_aa30a8644d70fd14b6430f3819953a431}{A\+C\+G\+::\+Vec3i} \&}]{\+\_\+value }\end{DoxyParamCaption})}



Set ivec3 uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 647 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_abea7c4b4e2b6d493bae703efac48148b}\label{classGLSL_1_1UniformPool_abea7c4b4e2b6d493bae703efac48148b}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [4/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{const \hyperlink{namespaceACG_a8cc325594ae505979f752598d1d81c40}{A\+C\+G\+::\+Vec4i} \&}]{\+\_\+value }\end{DoxyParamCaption})}



Set ivec4 uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 665 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a6ba7db94f3fca89aefbd1135d691ac39}\label{classGLSL_1_1UniformPool_a6ba7db94f3fca89aefbd1135d691ac39}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [5/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{G\+Luint}]{\+\_\+value }\end{DoxyParamCaption})}



Set uint uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 681 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a0b529b3e0f9368337c56c60c0b5e481e}\label{classGLSL_1_1UniformPool_a0b529b3e0f9368337c56c60c0b5e481e}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [6/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{const \hyperlink{namespaceACG_ae4755d4e07cff81eb7a26cd0540ce314}{A\+C\+G\+::\+Vec2ui} \&}]{\+\_\+value }\end{DoxyParamCaption})}



Set uvec2 uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 697 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a6cabf0335aa99c6789f7814cee902537}\label{classGLSL_1_1UniformPool_a6cabf0335aa99c6789f7814cee902537}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [7/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{const \hyperlink{namespaceACG_a916145c1569f644e2559d780955f3050}{A\+C\+G\+::\+Vec3ui} \&}]{\+\_\+value }\end{DoxyParamCaption})}



Set uvec3 uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 714 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a94a1c175e335ad5d2eefe92cae88deae}\label{classGLSL_1_1UniformPool_a94a1c175e335ad5d2eefe92cae88deae}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [8/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{const \hyperlink{namespaceACG_af5c09af5e4de06e8474b9995b3d39d30}{A\+C\+G\+::\+Vec4ui} \&}]{\+\_\+value }\end{DoxyParamCaption})}



Set uvec4 uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 732 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_aa0a4d3050e9bf67fa63f0b3715ad5587}\label{classGLSL_1_1UniformPool_aa0a4d3050e9bf67fa63f0b3715ad5587}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [9/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{G\+Lfloat}]{\+\_\+value }\end{DoxyParamCaption})}



Set float uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 749 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_af5e96fb538730d37b55daf743c19013d}\label{classGLSL_1_1UniformPool_af5e96fb538730d37b55daf743c19013d}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [10/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{const \hyperlink{namespaceACG_a8b858737aebd55e312149cf208a0b3f3}{A\+C\+G\+::\+Vec2f} \&}]{\+\_\+value }\end{DoxyParamCaption})}



Set vec2 uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 765 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a2864c7b7db42dba995cb35ef94b19513}\label{classGLSL_1_1UniformPool_a2864c7b7db42dba995cb35ef94b19513}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [11/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{const \hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} \&}]{\+\_\+value }\end{DoxyParamCaption})}



Set vec3 uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 782 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_ace420129d76fed52eb96d3a51fa097d6}\label{classGLSL_1_1UniformPool_ace420129d76fed52eb96d3a51fa097d6}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [12/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{const \hyperlink{namespaceACG_a4850d8bd22bf3ccf7088b80adc17c989}{A\+C\+G\+::\+Vec4f} \&}]{\+\_\+value }\end{DoxyParamCaption})}



Set vec4 uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & New value of the uniform \\
\hline
\end{DoxyParams}


Definition at line 800 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_abf42e2ee8a7de35c273724c845b62fa2}\label{classGLSL_1_1UniformPool_abf42e2ee8a7de35c273724c845b62fa2}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [13/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{const \hyperlink{namespaceACG_a1e5dae9881df8fa0d42b985a8e7fad28}{A\+C\+G\+::\+G\+L\+Matrixf} \&}]{\+\_\+value,  }\item[{bool}]{\+\_\+transposed = {\ttfamily false} }\end{DoxyParamCaption})}



Set 4x4f\+Matrix uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & Matrix to be set \\
\hline
{\em \+\_\+transposed} & Is the matrix transposed? \\
\hline
\end{DoxyParams}


Definition at line 817 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a04295063fe4def928b2dd442ced4c76e}\label{classGLSL_1_1UniformPool_a04295063fe4def928b2dd442ced4c76e}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [14/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{G\+Lint $\ast$}]{\+\_\+values,  }\item[{int}]{\+\_\+count }\end{DoxyParamCaption})}



Set int array uniform to specified values. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform to be set \\
\hline
{\em \+\_\+values} & Pointer to an array with the new values \\
\hline
{\em \+\_\+count} & Number of values in the given array \\
\hline
\end{DoxyParams}


Definition at line 853 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_a23f6cc853e23cc3d52fbbd29607fe9d3}\label{classGLSL_1_1UniformPool_a23f6cc853e23cc3d52fbbd29607fe9d3}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform@{set\+Uniform}}
\index{set\+Uniform@{set\+Uniform}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform()}{setUniform()}\hspace{0.1cm}{\footnotesize\ttfamily [15/15]}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{G\+Lfloat $\ast$}]{\+\_\+values,  }\item[{int}]{\+\_\+count }\end{DoxyParamCaption})}



Set float array uniform to specified values. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform to be set \\
\hline
{\em \+\_\+values} & Pointer to an array with the new values \\
\hline
{\em \+\_\+count} & Number of values in the given array \\
\hline
\end{DoxyParams}


Definition at line 864 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_adb242acd714e5e542510b40d751c8181}\label{classGLSL_1_1UniformPool_adb242acd714e5e542510b40d751c8181}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!set\+Uniform\+Mat3@{set\+Uniform\+Mat3}}
\index{set\+Uniform\+Mat3@{set\+Uniform\+Mat3}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{set\+Uniform\+Mat3()}{setUniformMat3()}}
{\footnotesize\ttfamily void G\+L\+S\+L\+::\+Uniform\+Pool\+::set\+Uniform\+Mat3 (\begin{DoxyParamCaption}\item[{const char $\ast$}]{\+\_\+name,  }\item[{const \hyperlink{namespaceACG_a1e5dae9881df8fa0d42b985a8e7fad28}{A\+C\+G\+::\+G\+L\+Matrixf} \&}]{\+\_\+value,  }\item[{bool}]{\+\_\+transposed = {\ttfamily false} }\end{DoxyParamCaption})}



Set 3x3f\+Matrix uniform to specified value. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the uniform \\
\hline
{\em \+\_\+value} & Matrix to be set \\
\hline
{\em \+\_\+transposed} & Is the matrix transposed? \\
\hline
\end{DoxyParams}


Definition at line 835 of file Uniform\+Pool.\+cc.

\mbox{\Hypertarget{classGLSL_1_1UniformPool_ae0254263b3c145fa7b58af66f0b18909}\label{classGLSL_1_1UniformPool_ae0254263b3c145fa7b58af66f0b18909}} 
\index{G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}!to\+String@{to\+String}}
\index{to\+String@{to\+String}!G\+L\+S\+L\+::\+Uniform\+Pool@{G\+L\+S\+L\+::\+Uniform\+Pool}}
\subsubsection{\texorpdfstring{to\+String()}{toString()}}
{\footnotesize\ttfamily Q\+String G\+L\+S\+L\+::\+Uniform\+Pool\+::to\+String (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



print to string for debugging 



Definition at line 100 of file Uniform\+Pool.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Shader\+Utils/Uniform\+Pool.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Shader\+Utils/Uniform\+Pool.\+cc\end{DoxyCompactItemize}
