\hypertarget{namespace_ogre_1_1_g_l_s_l}{}\doxysection{Ogre\+::G\+L\+SL Namespace Reference}
\label{namespace_ogre_1_1_g_l_s_l}\index{Ogre::GLSL@{Ogre::GLSL}}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_1_1_g_l_s_l_gpu_program}{G\+L\+S\+L\+Gpu\+Program}}
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l}{G\+L\+SL}} low level compiled shader object -\/ this class is used to get at the linked program object and provide an interface for \mbox{\hyperlink{class_ogre_1_1_g_l_render_system}{G\+L\+Render\+System}} calls. \end{DoxyCompactList}\item 
class \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_1_1_g_l_s_l_link_program}{G\+L\+S\+L\+Link\+Program}}
\begin{DoxyCompactList}\small\item\em C++ encapsulation of \mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l}{G\+L\+SL}} Program Object. \end{DoxyCompactList}\item 
class \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_1_1_g_l_s_l_link_program_manager}{G\+L\+S\+L\+Link\+Program\+Manager}}
\item 
class \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_1_1_g_l_s_l_program}{G\+L\+S\+L\+Program}}
\begin{DoxyCompactList}\small\item\em Specialisation of \mbox{\hyperlink{class_ogre_1_1_high_level_gpu_program}{High\+Level\+Gpu\+Program}} to provide support for Open\+GL Shader Language (\mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l}{G\+L\+SL}}). \end{DoxyCompactList}\item 
class \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_1_1_g_l_s_l_program_factory}{G\+L\+S\+L\+Program\+Factory}}
\begin{DoxyCompactList}\small\item\em Factory class for \mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l}{G\+L\+SL}} programs. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l_af7f7e123f60e128dcee954ef2ab64ed6}{get\+Object\+Info}} (G\+Luint obj)
\begin{DoxyCompactList}\small\item\em just return the info without logging it \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l_a288748bd2f8df037db03fa864e2ecaff}{log\+Object\+Info}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&msg, G\+Lhandle\+A\+RB obj)
\begin{DoxyCompactList}\small\item\em if there is a message in GL info log then post it in the \mbox{\hyperlink{namespace_ogre}{Ogre}} \mbox{\hyperlink{class_ogre_1_1_log}{Log}} \end{DoxyCompactList}\item 
void \mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l_a2d3acd2bf86281d58f43a006156a123c}{report\+G\+L\+S\+L\+Error}} (G\+Lenum gl\+Err, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&ogre\+Method, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&error\+Text\+Prefix, const G\+Lhandle\+A\+RB obj, const bool force\+Info\+Log=false, const bool force\+Exception=false)
\begin{DoxyCompactList}\small\item\em Check for GL errors and report them in the \mbox{\hyperlink{namespace_ogre}{Ogre}} \mbox{\hyperlink{class_ogre_1_1_log}{Log}}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{namespace_ogre_1_1_g_l_s_l_a2d3acd2bf86281d58f43a006156a123c}\label{namespace_ogre_1_1_g_l_s_l_a2d3acd2bf86281d58f43a006156a123c}} 
\index{Ogre::GLSL@{Ogre::GLSL}!reportGLSLError@{reportGLSLError}}
\index{reportGLSLError@{reportGLSLError}!Ogre::GLSL@{Ogre::GLSL}}
\doxysubsubsection{\texorpdfstring{reportGLSLError()}{reportGLSLError()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+::report\+G\+L\+S\+L\+Error (\begin{DoxyParamCaption}\item[{G\+Lenum}]{gl\+Err,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{ogre\+Method,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{error\+Text\+Prefix,  }\item[{const G\+Lhandle\+A\+RB}]{obj,  }\item[{const bool}]{force\+Info\+Log = {\ttfamily false},  }\item[{const bool}]{force\+Exception = {\ttfamily false} }\end{DoxyParamCaption})}



Check for GL errors and report them in the \mbox{\hyperlink{namespace_ogre}{Ogre}} \mbox{\hyperlink{class_ogre_1_1_log}{Log}}. 

\mbox{\Hypertarget{namespace_ogre_1_1_g_l_s_l_a288748bd2f8df037db03fa864e2ecaff}\label{namespace_ogre_1_1_g_l_s_l_a288748bd2f8df037db03fa864e2ecaff}} 
\index{Ogre::GLSL@{Ogre::GLSL}!logObjectInfo@{logObjectInfo}}
\index{logObjectInfo@{logObjectInfo}!Ogre::GLSL@{Ogre::GLSL}}
\doxysubsubsection{\texorpdfstring{logObjectInfo()}{logObjectInfo()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} Ogre\+::\+G\+L\+S\+L\+::log\+Object\+Info (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{msg,  }\item[{G\+Lhandle\+A\+RB}]{obj }\end{DoxyParamCaption})}



if there is a message in GL info log then post it in the \mbox{\hyperlink{namespace_ogre}{Ogre}} \mbox{\hyperlink{class_ogre_1_1_log}{Log}} 


\begin{DoxyParams}{Parameters}
{\em msg} & the info log message string is appended to this string \\
\hline
{\em obj} & the GL object that is used to retrieve the info log \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{namespace_ogre_1_1_g_l_s_l_af7f7e123f60e128dcee954ef2ab64ed6}\label{namespace_ogre_1_1_g_l_s_l_af7f7e123f60e128dcee954ef2ab64ed6}} 
\index{Ogre::GLSL@{Ogre::GLSL}!getObjectInfo@{getObjectInfo}}
\index{getObjectInfo@{getObjectInfo}!Ogre::GLSL@{Ogre::GLSL}}
\doxysubsubsection{\texorpdfstring{getObjectInfo()}{getObjectInfo()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} Ogre\+::\+G\+L\+S\+L\+::get\+Object\+Info (\begin{DoxyParamCaption}\item[{G\+Luint}]{obj }\end{DoxyParamCaption})}



just return the info without logging it 

