\doxysection{Shaders.\+hpp}
\hypertarget{Shaders_8hpp_source}{}\label{Shaders_8hpp_source}\index{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/UI/Shaders.hpp@{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/UI/Shaders.hpp}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#ifndef\ GYM\_PCB\_UI\_SHADERS\_H}}
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#define\ GYM\_PCB\_UI\_SHADERS\_H}}
\DoxyCodeLine{00004\ }
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <QOpenGLFunctions\_4\_3\_Core>}}
\DoxyCodeLine{00006\ }
\DoxyCodeLine{00007\ \textcolor{keyword}{class\ }Shaders}
\DoxyCodeLine{00008\ \{}
\DoxyCodeLine{00009\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00010\ \ \ \ \ Shaders();}
\DoxyCodeLine{00011\ \ \ \ \ \string~Shaders();}
\DoxyCodeLine{00012\ \ \ \ \ \textcolor{keyword}{static}\ Shaders\ *getInstance()\ \{\ assert(sInstance);\ \textcolor{keywordflow}{return}\ sInstance;\ \}}
\DoxyCodeLine{00013\ \ \ \ \ GLuint\ load(GLenum\ type,\ \textcolor{keyword}{const}\ std::string\ \&name);}
\DoxyCodeLine{00014\ \ \ \ \ \textcolor{keywordtype}{bool}\ validate(GLuint)\ \textcolor{keyword}{const};}
\DoxyCodeLine{00015\ \ \ \ \ \textcolor{keywordtype}{void}\ forget(\textcolor{keyword}{const}\ std::string\ \&name);}
\DoxyCodeLine{00016\ }
\DoxyCodeLine{00017\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00018\ \ \ \ \ std::map<std::string,\ GLuint>\ mTrove;}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00020\ \ \ \ \ \textcolor{keyword}{static}\ Shaders\ *sInstance;}
\DoxyCodeLine{00021\ \};}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ GYM\_PCB\_UI\_SHADERS\_H}}

\end{DoxyCode}
