\hypertarget{class_ogre_1_1_g_l_s_l_separable_program}{}\doxysection{Ogre\+::G\+L\+S\+L\+Separable\+Program Class Reference}
\label{class_ogre_1_1_g_l_s_l_separable_program}\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}


Specialisation of \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program}{G\+L\+S\+L\+Program}} to provide support for separable programs via the Open\+GL program pipeline.  




{\ttfamily \#include $<$Ogre\+G\+L\+S\+L\+Separable\+Program.\+h$>$}



Inheritance diagram for Ogre\+::G\+L\+S\+L\+Separable\+Program\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=240pt]{class_ogre_1_1_g_l_s_l_separable_program__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_separable_program_af96c467b24d3a2829de94a3ffe348e92}{G\+L\+S\+L\+Separable\+Program}} (\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$vertex\+Shader, \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$hull\+Shader, \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$domain\+Shader, \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$geometry\+Shader, \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$fragment\+Shader, \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$compute\+Shader)
\begin{DoxyCompactList}\small\item\em Constructor should only be used by G\+L\+S\+L\+Separable\+Program\+Manager. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_separable_program_a7f55f50be04589e00d7c3470a41629e5}{$\sim$\+G\+L\+S\+L\+Separable\+Program}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_separable_program_aedab89a93c49cc2d88c4f564fcc9aa2b}{activate}} (void)
\begin{DoxyCompactList}\small\item\em Makes a program pipeline object active by making sure it is linked and then putting it in use. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_aef27bfccac5136348f064260a6e08d4b}{bind\+Fixed\+Attributes}} (G\+Luint program)
\item 
void \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_common_a297cb6dcdee44b084dc5b819c5e9a9e1}{extract\+Layout\+Qualifiers}} (void)
\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_a159d811cfc03c8d4269ad2514dee4de3}{get\+Compute\+Shader}} () const
\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_aaf49980090489c20df08c8385afb55b8}{get\+Domain\+Shader}} () const
\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_a174a1e6a94ebd03158c7464b0d671494}{get\+Fragment\+Shader}} () const
\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_a83d38a44208b9e3b5524c34df2a03f68}{get\+Geometry\+Shader}} () const
\item 
\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_common_abc474b562f98c6bcee650d97a0fa2fa0}{get\+G\+L\+Program\+Handle}} (void) const
\begin{DoxyCompactList}\small\item\em Get the GL Handle for the program object. \end{DoxyCompactList}\item 
G\+Luint \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_separable_program_a64ca83ca990cdc1e7a12fc5e0c15f523}{get\+G\+L\+Program\+Pipeline\+Handle}} () const
\begin{DoxyCompactList}\small\item\em GL Program Pipeline Handle. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_aeeaa3644f49aea7ebfe2d47b398b7e3f}{get\+Hull\+Shader}} () const
\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_ab21d7e7ba647070e74be760dcb36eeb0}{get\+Vertex\+Shader}} () const
\item 
bool \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_common_a737c91384b4d03c6652e74695044666d}{is\+Skeletal\+Animation\+Included}} (void) const
\begin{DoxyCompactList}\small\item\em Returns whether the linked program includes the required instructions to perform skeletal animation. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_a132336afb919cbbb799976116a4086bb}{is\+Using\+Shader}} (\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader_common}{G\+L\+S\+L\+Shader\+Common}} $\ast$shader) const
\begin{DoxyCompactList}\small\item\em query if the program is using the given shader \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_common_a6ad50d45b574a406ed97e86ff4c1ea52}{set\+Skeletal\+Animation\+Included}} (bool included)
\begin{DoxyCompactList}\small\item\em Sets whether the linked program includes the required instructions to perform skeletal animation. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_a6a93e8963d06a643959a693e6cc69349}{set\+Transform\+Feedback\+Varyings}} (const std\+::vector$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} $>$ \&name\+Strings)
\item 
void \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_separable_program_a8974a5deff259a2c02c5b2c3565e2f49}{update\+Atomic\+Counters}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params, \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} mask, \mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}} from\+Prog\+Type)
\begin{DoxyCompactList}\small\item\em Updates program object atomic counter buffers using data from \mbox{\hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_common_ac66f9ef286cd589cfcef422988e51717}{update\+Uniform\+Blocks}} ()
\begin{DoxyCompactList}\small\item\em Updates program object uniform blocks using data from \mbox{\hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_separable_program_ae91bba55a10cf25319116f906ca09382}{update\+Uniforms}} (\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}} params, \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} mask, \mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}} from\+Prog\+Type)
\begin{DoxyCompactList}\small\item\em Updates program pipeline object uniforms using named and indexed parameter data from \mbox{\hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_common_a6c288d18dad4c01e7a60e3ab5fca3ad2}{get\+Fixed\+Attribute\+Index}} (\mbox{\hyperlink{group___render_system_ga0a62b3f2ede8992ff365bb013a8bc00d}{Vertex\+Element\+Semantic}} semantic, \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} index)
\begin{DoxyCompactList}\small\item\em Get the fixed attribute bindings normally used by GL for a semantic. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_common_acbbf4e225d7372d8980ef6b9e6cd0efa}{use\+Tight\+Attribute\+Layout}} ()
\begin{DoxyCompactList}\small\item\em use alternate vertex attribute layout using only 8 vertex attributes \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Specialisation of \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program}{G\+L\+S\+L\+Program}} to provide support for separable programs via the Open\+GL program pipeline. 

Separable programs consist of shader objects which have been individually linked. This allows for invidual shaders in a program pipeline to be swapped without recompiling the program object, as would be necessary with monolithic programs. This is especially useful in the common case of only entities which change only a few of the shaders in the pipeline while leaving the rest the same.

\begin{DoxyRemark}{Remarks}
\mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l}{G\+L\+SL}} has no target assembler or entry point specification like DirectX 9 H\+L\+SL. Vertex and Fragment shaders only have one entry point called \char`\"{}main\char`\"{}. When a shader is compiled, microcode is generated but can not be accessed by the application.
\end{DoxyRemark}
\mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l}{G\+L\+SL}} also does not provide assembler low level output after compiling. The GL Render system assumes that the Gpu program is a GL Gpu program so \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_separable_program}{G\+L\+S\+L\+Separable\+Program}} will create a G\+L3\+Plus\+Shader for the low level implementation. The G\+L\+Program class will create a shader and program object and compile the source but will not create a pipeline object. It\textquotesingle{}s up to \mbox{\hyperlink{class_ogre_1_1_g_l_gpu_program}{G\+L\+Gpu\+Program}} class to request a program pipeline object to link the program object to.

\begin{DoxyNote}{Note}
\mbox{\hyperlink{namespace_ogre_1_1_g_l_s_l}{G\+L\+SL}} supportsn multiple modular shader objects that can be attached to one program object to form a single shader. This is supported through the \char`\"{}attach\char`\"{} material script command. All the modules to be attached are listed on the same line as the attach command separated by white space. 
\end{DoxyNote}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_separable_program_af96c467b24d3a2829de94a3ffe348e92}\label{class_ogre_1_1_g_l_s_l_separable_program_af96c467b24d3a2829de94a3ffe348e92}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!GLSLSeparableProgram@{GLSLSeparableProgram}}
\index{GLSLSeparableProgram@{GLSLSeparableProgram}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{GLSLSeparableProgram()}{GLSLSeparableProgram()}}
{\footnotesize\ttfamily Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::\+G\+L\+S\+L\+Separable\+Program (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$}]{vertex\+Shader,  }\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$}]{hull\+Shader,  }\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$}]{domain\+Shader,  }\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$}]{geometry\+Shader,  }\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$}]{fragment\+Shader,  }\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}} $\ast$}]{compute\+Shader }\end{DoxyParamCaption})}



Constructor should only be used by G\+L\+S\+L\+Separable\+Program\+Manager. 

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_separable_program_a7f55f50be04589e00d7c3470a41629e5}\label{class_ogre_1_1_g_l_s_l_separable_program_a7f55f50be04589e00d7c3470a41629e5}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!````~GLSLSeparableProgram@{$\sim$GLSLSeparableProgram}}
\index{````~GLSLSeparableProgram@{$\sim$GLSLSeparableProgram}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{$\sim$GLSLSeparableProgram()}{~GLSLSeparableProgram()}}
{\footnotesize\ttfamily Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::$\sim$\+G\+L\+S\+L\+Separable\+Program (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_separable_program_a64ca83ca990cdc1e7a12fc5e0c15f523}\label{class_ogre_1_1_g_l_s_l_separable_program_a64ca83ca990cdc1e7a12fc5e0c15f523}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!getGLProgramPipelineHandle@{getGLProgramPipelineHandle}}
\index{getGLProgramPipelineHandle@{getGLProgramPipelineHandle}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{getGLProgramPipelineHandle()}{getGLProgramPipelineHandle()}}
{\footnotesize\ttfamily G\+Luint Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::get\+G\+L\+Program\+Pipeline\+Handle (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



GL Program Pipeline Handle. 

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_separable_program_ae91bba55a10cf25319116f906ca09382}\label{class_ogre_1_1_g_l_s_l_separable_program_ae91bba55a10cf25319116f906ca09382}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!updateUniforms@{updateUniforms}}
\index{updateUniforms@{updateUniforms}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{updateUniforms()}{updateUniforms()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::update\+Uniforms (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params,  }\item[{\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}}]{mask,  }\item[{\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}}]{from\+Prog\+Type }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Updates program pipeline object uniforms using named and indexed parameter data from \mbox{\hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}}. 

normally called by G\+L\+S\+L\+Shader\+::bind\+Program\+Parameters() just before rendering occurs. 

Implements \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_common_aa76113d78d9b1f2a879b4a1648e73fdd}{Ogre\+::\+G\+L\+S\+L\+Program\+Common}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_separable_program_a8974a5deff259a2c02c5b2c3565e2f49}\label{class_ogre_1_1_g_l_s_l_separable_program_a8974a5deff259a2c02c5b2c3565e2f49}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!updateAtomicCounters@{updateAtomicCounters}}
\index{updateAtomicCounters@{updateAtomicCounters}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{updateAtomicCounters()}{updateAtomicCounters()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::update\+Atomic\+Counters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aff0eec6634048fd4d65b785264243e6c}{Gpu\+Program\+Parameters\+Shared\+Ptr}}}]{params,  }\item[{\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}}]{mask,  }\item[{\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}}]{from\+Prog\+Type }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Updates program object atomic counter buffers using data from \mbox{\hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}}. 

Normally called by G\+L\+S\+L\+Shader\+::bind\+Program\+Atomic\+Counter\+Parameters() just before rendering occurs. 

Implements \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_a8ceed124532b9deb4499289496a0af75}{Ogre\+::\+G\+L\+S\+L\+Program}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_separable_program_aedab89a93c49cc2d88c4f564fcc9aa2b}\label{class_ogre_1_1_g_l_s_l_separable_program_aedab89a93c49cc2d88c4f564fcc9aa2b}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!activate@{activate}}
\index{activate@{activate}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{activate()}{activate()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::activate (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Makes a program pipeline object active by making sure it is linked and then putting it in use. 



Implements \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_common_a3ac7e0d04bf340ef7786be70caf9c342}{Ogre\+::\+G\+L\+S\+L\+Program\+Common}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_aef27bfccac5136348f064260a6e08d4b}\label{class_ogre_1_1_g_l_s_l_program_aef27bfccac5136348f064260a6e08d4b}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!bindFixedAttributes@{bindFixedAttributes}}
\index{bindFixedAttributes@{bindFixedAttributes}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{bindFixedAttributes()}{bindFixedAttributes()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Program\+::bind\+Fixed\+Attributes (\begin{DoxyParamCaption}\item[{G\+Luint}]{program }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_ab21d7e7ba647070e74be760dcb36eeb0}\label{class_ogre_1_1_g_l_s_l_program_ab21d7e7ba647070e74be760dcb36eeb0}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!getVertexShader@{getVertexShader}}
\index{getVertexShader@{getVertexShader}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{getVertexShader()}{getVertexShader()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}}$\ast$ Ogre\+::\+G\+L\+S\+L\+Program\+::get\+Vertex\+Shader (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_aeeaa3644f49aea7ebfe2d47b398b7e3f}\label{class_ogre_1_1_g_l_s_l_program_aeeaa3644f49aea7ebfe2d47b398b7e3f}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!getHullShader@{getHullShader}}
\index{getHullShader@{getHullShader}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{getHullShader()}{getHullShader()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}}$\ast$ Ogre\+::\+G\+L\+S\+L\+Program\+::get\+Hull\+Shader (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_aaf49980090489c20df08c8385afb55b8}\label{class_ogre_1_1_g_l_s_l_program_aaf49980090489c20df08c8385afb55b8}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!getDomainShader@{getDomainShader}}
\index{getDomainShader@{getDomainShader}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{getDomainShader()}{getDomainShader()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}}$\ast$ Ogre\+::\+G\+L\+S\+L\+Program\+::get\+Domain\+Shader (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_a83d38a44208b9e3b5524c34df2a03f68}\label{class_ogre_1_1_g_l_s_l_program_a83d38a44208b9e3b5524c34df2a03f68}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!getGeometryShader@{getGeometryShader}}
\index{getGeometryShader@{getGeometryShader}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{getGeometryShader()}{getGeometryShader()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}}$\ast$ Ogre\+::\+G\+L\+S\+L\+Program\+::get\+Geometry\+Shader (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_a174a1e6a94ebd03158c7464b0d671494}\label{class_ogre_1_1_g_l_s_l_program_a174a1e6a94ebd03158c7464b0d671494}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!getFragmentShader@{getFragmentShader}}
\index{getFragmentShader@{getFragmentShader}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{getFragmentShader()}{getFragmentShader()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}}$\ast$ Ogre\+::\+G\+L\+S\+L\+Program\+::get\+Fragment\+Shader (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_a159d811cfc03c8d4269ad2514dee4de3}\label{class_ogre_1_1_g_l_s_l_program_a159d811cfc03c8d4269ad2514dee4de3}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!getComputeShader@{getComputeShader}}
\index{getComputeShader@{getComputeShader}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{getComputeShader()}{getComputeShader()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader}}$\ast$ Ogre\+::\+G\+L\+S\+L\+Program\+::get\+Compute\+Shader (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_a132336afb919cbbb799976116a4086bb}\label{class_ogre_1_1_g_l_s_l_program_a132336afb919cbbb799976116a4086bb}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!isUsingShader@{isUsingShader}}
\index{isUsingShader@{isUsingShader}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{isUsingShader()}{isUsingShader()}}
{\footnotesize\ttfamily bool Ogre\+::\+G\+L\+S\+L\+Program\+::is\+Using\+Shader (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_s_l_shader_common}{G\+L\+S\+L\+Shader\+Common}} $\ast$}]{shader }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



query if the program is using the given shader 



Implements \mbox{\hyperlink{class_ogre_1_1_g_l_s_l_program_common_aae6e23936b090e8373dd8ba782ab6703}{Ogre\+::\+G\+L\+S\+L\+Program\+Common}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_a6a93e8963d06a643959a693e6cc69349}\label{class_ogre_1_1_g_l_s_l_program_a6a93e8963d06a643959a693e6cc69349}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!setTransformFeedbackVaryings@{setTransformFeedbackVaryings}}
\index{setTransformFeedbackVaryings@{setTransformFeedbackVaryings}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{setTransformFeedbackVaryings()}{setTransformFeedbackVaryings()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Program\+::set\+Transform\+Feedback\+Varyings (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} $>$ \&}]{name\+Strings }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_common_a297cb6dcdee44b084dc5b819c5e9a9e1}\label{class_ogre_1_1_g_l_s_l_program_common_a297cb6dcdee44b084dc5b819c5e9a9e1}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!extractLayoutQualifiers@{extractLayoutQualifiers}}
\index{extractLayoutQualifiers@{extractLayoutQualifiers}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{extractLayoutQualifiers()}{extractLayoutQualifiers()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Program\+Common\+::extract\+Layout\+Qualifiers (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_common_a6ad50d45b574a406ed97e86ff4c1ea52}\label{class_ogre_1_1_g_l_s_l_program_common_a6ad50d45b574a406ed97e86ff4c1ea52}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!setSkeletalAnimationIncluded@{setSkeletalAnimationIncluded}}
\index{setSkeletalAnimationIncluded@{setSkeletalAnimationIncluded}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{setSkeletalAnimationIncluded()}{setSkeletalAnimationIncluded()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Program\+Common\+::set\+Skeletal\+Animation\+Included (\begin{DoxyParamCaption}\item[{bool}]{included }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets whether the linked program includes the required instructions to perform skeletal animation. 

\begin{DoxyRemark}{Remarks}
If this is set to true, O\+G\+RE will not blend the geometry according to skeletal animation, it will expect the vertex program to do it. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_common_a737c91384b4d03c6652e74695044666d}\label{class_ogre_1_1_g_l_s_l_program_common_a737c91384b4d03c6652e74695044666d}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!isSkeletalAnimationIncluded@{isSkeletalAnimationIncluded}}
\index{isSkeletalAnimationIncluded@{isSkeletalAnimationIncluded}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{isSkeletalAnimationIncluded()}{isSkeletalAnimationIncluded()}}
{\footnotesize\ttfamily bool Ogre\+::\+G\+L\+S\+L\+Program\+Common\+::is\+Skeletal\+Animation\+Included (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns whether the linked program includes the required instructions to perform skeletal animation. 

\begin{DoxyRemark}{Remarks}
If this returns true, O\+G\+RE will not blend the geometry according to skeletal animation, it will expect the vertex program to do it. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_common_abc474b562f98c6bcee650d97a0fa2fa0}\label{class_ogre_1_1_g_l_s_l_program_common_abc474b562f98c6bcee650d97a0fa2fa0}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!getGLProgramHandle@{getGLProgramHandle}}
\index{getGLProgramHandle@{getGLProgramHandle}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{getGLProgramHandle()}{getGLProgramHandle()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} Ogre\+::\+G\+L\+S\+L\+Program\+Common\+::get\+G\+L\+Program\+Handle (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Get the GL Handle for the program object. 

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_common_ac66f9ef286cd589cfcef422988e51717}\label{class_ogre_1_1_g_l_s_l_program_common_ac66f9ef286cd589cfcef422988e51717}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!updateUniformBlocks@{updateUniformBlocks}}
\index{updateUniformBlocks@{updateUniformBlocks}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{updateUniformBlocks()}{updateUniformBlocks()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Program\+Common\+::update\+Uniform\+Blocks (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Updates program object uniform blocks using data from \mbox{\hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}}. 

Normally called by G\+L\+Render\+System\+::bind\+Parameters() just before rendering occurs. \mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_common_a6c288d18dad4c01e7a60e3ab5fca3ad2}\label{class_ogre_1_1_g_l_s_l_program_common_a6c288d18dad4c01e7a60e3ab5fca3ad2}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!getFixedAttributeIndex@{getFixedAttributeIndex}}
\index{getFixedAttributeIndex@{getFixedAttributeIndex}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{getFixedAttributeIndex()}{getFixedAttributeIndex()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} Ogre\+::\+G\+L\+S\+L\+Program\+Common\+::get\+Fixed\+Attribute\+Index (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___render_system_ga0a62b3f2ede8992ff365bb013a8bc00d}{Vertex\+Element\+Semantic}}}]{semantic,  }\item[{\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}}]{index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



Get the fixed attribute bindings normally used by GL for a semantic. 

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_program_common_acbbf4e225d7372d8980ef6b9e6cd0efa}\label{class_ogre_1_1_g_l_s_l_program_common_acbbf4e225d7372d8980ef6b9e6cd0efa}} 
\index{Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}!useTightAttributeLayout@{useTightAttributeLayout}}
\index{useTightAttributeLayout@{useTightAttributeLayout}!Ogre::GLSLSeparableProgram@{Ogre::GLSLSeparableProgram}}
\doxysubsubsection{\texorpdfstring{useTightAttributeLayout()}{useTightAttributeLayout()}}
{\footnotesize\ttfamily static void Ogre\+::\+G\+L\+S\+L\+Program\+Common\+::use\+Tight\+Attribute\+Layout (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



use alternate vertex attribute layout using only 8 vertex attributes 

For \char`\"{}\+Vivante G\+C1000\char`\"{} and \char`\"{}\+Video\+Core I\+V\char`\"{} (notably in Raspberry Pi) on G\+L\+E\+S2 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_g_l_s_l_separable_program_8h}{Ogre\+G\+L\+S\+L\+Separable\+Program.\+h}}\end{DoxyCompactItemize}
