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


Specialisation of \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}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_g_l_s_l_separable_program_af96c467b24d3a2829de94a3ffe348e92}{G\+L\+S\+L\+Separable\+Program} (\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$vertex\+Shader, \hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$hull\+Shader, \hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$domain\+Shader, \hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$geometry\+Shader, \hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$fragment\+Shader, \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 
\hyperlink{class_ogre_1_1_g_l_s_l_separable_program_a7f55f50be04589e00d7c3470a41629e5}{$\sim$\+G\+L\+S\+L\+Separable\+Program} ()
\item 
void \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 \hyperlink{class_ogre_1_1_g_l_s_l_program_aef27bfccac5136348f064260a6e08d4b}{bind\+Fixed\+Attributes} (G\+Luint program)
\item 
void \hyperlink{class_ogre_1_1_g_l_s_l_program_common_a297cb6dcdee44b084dc5b819c5e9a9e1}{extract\+Layout\+Qualifiers} (void)
\item 
\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$ \hyperlink{class_ogre_1_1_g_l_s_l_program_a159d811cfc03c8d4269ad2514dee4de3}{get\+Compute\+Shader} () const
\item 
\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$ \hyperlink{class_ogre_1_1_g_l_s_l_program_aaf49980090489c20df08c8385afb55b8}{get\+Domain\+Shader} () const
\item 
\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$ \hyperlink{class_ogre_1_1_g_l_s_l_program_a174a1e6a94ebd03158c7464b0d671494}{get\+Fragment\+Shader} () const
\item 
\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$ \hyperlink{class_ogre_1_1_g_l_s_l_program_a83d38a44208b9e3b5524c34df2a03f68}{get\+Geometry\+Shader} () const
\item 
\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint} \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 \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 
\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$ \hyperlink{class_ogre_1_1_g_l_s_l_program_aeeaa3644f49aea7ebfe2d47b398b7e3f}{get\+Hull\+Shader} () const
\item 
\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$ \hyperlink{class_ogre_1_1_g_l_s_l_program_ab21d7e7ba647070e74be760dcb36eeb0}{get\+Vertex\+Shader} () const
\item 
bool \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 \hyperlink{class_ogre_1_1_g_l_s_l_program_a132336afb919cbbb799976116a4086bb}{is\+Using\+Shader} (\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 \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 \hyperlink{class_ogre_1_1_g_l_s_l_program_a6a93e8963d06a643959a693e6cc69349}{set\+Transform\+Feedback\+Varyings} (const std\+::vector$<$ \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} $>$ \&name\+Strings)
\item 
void \hyperlink{class_ogre_1_1_g_l_s_l_separable_program_a8974a5deff259a2c02c5b2c3565e2f49}{update\+Atomic\+Counters} (\hyperlink{namespace_ogre_aebab7cecf3f3ae81a1fbfa08ab36f2b5}{Gpu\+Program\+Parameters\+Shared\+Ptr} params, \hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} mask, \hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type} from\+Prog\+Type)
\begin{DoxyCompactList}\small\item\em Updates program object atomic counter buffers using data from \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_g_l_s_l_separable_program_a8150de952976e9b36793e2e99f0f5b64}{update\+Pass\+Iteration\+Uniforms} (\hyperlink{namespace_ogre_aebab7cecf3f3ae81a1fbfa08ab36f2b5}{Gpu\+Program\+Parameters\+Shared\+Ptr} params)
\begin{DoxyCompactList}\small\item\em Updates program pipeline object uniforms using data from pass iteration \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_g_l_s_l_separable_program_ae7f066c71830c983bccc32c5fde34517}{update\+Uniform\+Blocks} (\hyperlink{namespace_ogre_aebab7cecf3f3ae81a1fbfa08ab36f2b5}{Gpu\+Program\+Parameters\+Shared\+Ptr} params, \hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} mask, \hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type} from\+Prog\+Type)
\begin{DoxyCompactList}\small\item\em Updates program object uniform blocks using shared parameter data from \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_g_l_s_l_separable_program_ae91bba55a10cf25319116f906ca09382}{update\+Uniforms} (\hyperlink{namespace_ogre_aebab7cecf3f3ae81a1fbfa08ab36f2b5}{Gpu\+Program\+Parameters\+Shared\+Ptr} params, \hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} mask, \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 \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} \hyperlink{class_ogre_1_1_g_l_s_l_program_common_a6c288d18dad4c01e7a60e3ab5fca3ad2}{get\+Fixed\+Attribute\+Index} (\hyperlink{group___render_system_ga0a62b3f2ede8992ff365bb013a8bc00d}{Vertex\+Element\+Semantic} semantic, \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 \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}


\subsection{Detailed Description}
Specialisation of \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}
\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}
\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 \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 \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}
\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}


\subsection{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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!G\+L\+S\+L\+Separable\+Program@{G\+L\+S\+L\+Separable\+Program}}
\index{G\+L\+S\+L\+Separable\+Program@{G\+L\+S\+L\+Separable\+Program}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{G\+L\+S\+L\+Separable\+Program()}{GLSLSeparableProgram()}}
{\footnotesize\ttfamily Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::\+G\+L\+S\+L\+Separable\+Program (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$}]{vertex\+Shader,  }\item[{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$}]{hull\+Shader,  }\item[{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$}]{domain\+Shader,  }\item[{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$}]{geometry\+Shader,  }\item[{\hyperlink{class_ogre_1_1_g_l_s_l_shader}{G\+L\+S\+L\+Shader} $\ast$}]{fragment\+Shader,  }\item[{\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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!````~G\+L\+S\+L\+Separable\+Program@{$\sim$\+G\+L\+S\+L\+Separable\+Program}}
\index{````~G\+L\+S\+L\+Separable\+Program@{$\sim$\+G\+L\+S\+L\+Separable\+Program}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{$\sim$\+G\+L\+S\+L\+Separable\+Program()}{~GLSLSeparableProgram()}}
{\footnotesize\ttfamily Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::$\sim$\+G\+L\+S\+L\+Separable\+Program (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!get\+G\+L\+Program\+Pipeline\+Handle@{get\+G\+L\+Program\+Pipeline\+Handle}}
\index{get\+G\+L\+Program\+Pipeline\+Handle@{get\+G\+L\+Program\+Pipeline\+Handle}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{get\+G\+L\+Program\+Pipeline\+Handle()}{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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!update\+Uniforms@{update\+Uniforms}}
\index{update\+Uniforms@{update\+Uniforms}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{update\+Uniforms()}{updateUniforms()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::update\+Uniforms (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aebab7cecf3f3ae81a1fbfa08ab36f2b5}{Gpu\+Program\+Parameters\+Shared\+Ptr}}]{params,  }\item[{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}]{mask,  }\item[{\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 \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 \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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!update\+Atomic\+Counters@{update\+Atomic\+Counters}}
\index{update\+Atomic\+Counters@{update\+Atomic\+Counters}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{update\+Atomic\+Counters()}{updateAtomicCounters()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::update\+Atomic\+Counters (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aebab7cecf3f3ae81a1fbfa08ab36f2b5}{Gpu\+Program\+Parameters\+Shared\+Ptr}}]{params,  }\item[{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}]{mask,  }\item[{\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 \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 \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_ae7f066c71830c983bccc32c5fde34517}\label{class_ogre_1_1_g_l_s_l_separable_program_ae7f066c71830c983bccc32c5fde34517}} 
\index{Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!update\+Uniform\+Blocks@{update\+Uniform\+Blocks}}
\index{update\+Uniform\+Blocks@{update\+Uniform\+Blocks}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{update\+Uniform\+Blocks()}{updateUniformBlocks()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::update\+Uniform\+Blocks (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aebab7cecf3f3ae81a1fbfa08ab36f2b5}{Gpu\+Program\+Parameters\+Shared\+Ptr}}]{params,  }\item[{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}]{mask,  }\item[{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}]{from\+Prog\+Type }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



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

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

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

\mbox{\Hypertarget{class_ogre_1_1_g_l_s_l_separable_program_a8150de952976e9b36793e2e99f0f5b64}\label{class_ogre_1_1_g_l_s_l_separable_program_a8150de952976e9b36793e2e99f0f5b64}} 
\index{Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!update\+Pass\+Iteration\+Uniforms@{update\+Pass\+Iteration\+Uniforms}}
\index{update\+Pass\+Iteration\+Uniforms@{update\+Pass\+Iteration\+Uniforms}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{update\+Pass\+Iteration\+Uniforms()}{updatePassIterationUniforms()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Separable\+Program\+::update\+Pass\+Iteration\+Uniforms (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aebab7cecf3f3ae81a1fbfa08ab36f2b5}{Gpu\+Program\+Parameters\+Shared\+Ptr}}]{params }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Updates program pipeline object uniforms using data from pass iteration \hyperlink{class_ogre_1_1_gpu_program_parameters}{Gpu\+Program\+Parameters}. 

Normally called by G\+L\+S\+L\+Shader\+::bind\+Program\+Pass\+Iteration\+Parameters() just before multi pass rendering occurs. 

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

\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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!activate@{activate}}
\index{activate@{activate}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\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 \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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!bind\+Fixed\+Attributes@{bind\+Fixed\+Attributes}}
\index{bind\+Fixed\+Attributes@{bind\+Fixed\+Attributes}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{bind\+Fixed\+Attributes()}{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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!get\+Vertex\+Shader@{get\+Vertex\+Shader}}
\index{get\+Vertex\+Shader@{get\+Vertex\+Shader}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{get\+Vertex\+Shader()}{getVertexShader()}}
{\footnotesize\ttfamily \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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!get\+Hull\+Shader@{get\+Hull\+Shader}}
\index{get\+Hull\+Shader@{get\+Hull\+Shader}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{get\+Hull\+Shader()}{getHullShader()}}
{\footnotesize\ttfamily \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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!get\+Domain\+Shader@{get\+Domain\+Shader}}
\index{get\+Domain\+Shader@{get\+Domain\+Shader}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{get\+Domain\+Shader()}{getDomainShader()}}
{\footnotesize\ttfamily \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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!get\+Geometry\+Shader@{get\+Geometry\+Shader}}
\index{get\+Geometry\+Shader@{get\+Geometry\+Shader}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{get\+Geometry\+Shader()}{getGeometryShader()}}
{\footnotesize\ttfamily \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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!get\+Fragment\+Shader@{get\+Fragment\+Shader}}
\index{get\+Fragment\+Shader@{get\+Fragment\+Shader}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{get\+Fragment\+Shader()}{getFragmentShader()}}
{\footnotesize\ttfamily \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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!get\+Compute\+Shader@{get\+Compute\+Shader}}
\index{get\+Compute\+Shader@{get\+Compute\+Shader}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{get\+Compute\+Shader()}{getComputeShader()}}
{\footnotesize\ttfamily \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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!is\+Using\+Shader@{is\+Using\+Shader}}
\index{is\+Using\+Shader@{is\+Using\+Shader}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{is\+Using\+Shader()}{isUsingShader()}}
{\footnotesize\ttfamily bool Ogre\+::\+G\+L\+S\+L\+Program\+::is\+Using\+Shader (\begin{DoxyParamCaption}\item[{\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 \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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!set\+Transform\+Feedback\+Varyings@{set\+Transform\+Feedback\+Varyings}}
\index{set\+Transform\+Feedback\+Varyings@{set\+Transform\+Feedback\+Varyings}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{set\+Transform\+Feedback\+Varyings()}{setTransformFeedbackVaryings()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+S\+L\+Program\+::set\+Transform\+Feedback\+Varyings (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ \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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!extract\+Layout\+Qualifiers@{extract\+Layout\+Qualifiers}}
\index{extract\+Layout\+Qualifiers@{extract\+Layout\+Qualifiers}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{extract\+Layout\+Qualifiers()}{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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!set\+Skeletal\+Animation\+Included@{set\+Skeletal\+Animation\+Included}}
\index{set\+Skeletal\+Animation\+Included@{set\+Skeletal\+Animation\+Included}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{set\+Skeletal\+Animation\+Included()}{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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!is\+Skeletal\+Animation\+Included@{is\+Skeletal\+Animation\+Included}}
\index{is\+Skeletal\+Animation\+Included@{is\+Skeletal\+Animation\+Included}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{is\+Skeletal\+Animation\+Included()}{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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!get\+G\+L\+Program\+Handle@{get\+G\+L\+Program\+Handle}}
\index{get\+G\+L\+Program\+Handle@{get\+G\+L\+Program\+Handle}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{get\+G\+L\+Program\+Handle()}{getGLProgramHandle()}}
{\footnotesize\ttfamily \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. 



References O\+G\+R\+E\+\_\+\+M\+A\+X\+\_\+\+T\+E\+X\+T\+U\+R\+E\+\_\+\+C\+O\+O\+R\+D\+\_\+\+S\+E\+TS, and Ogre\+::\+V\+E\+S\+\_\+\+C\+O\+U\+NT.

\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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!get\+Fixed\+Attribute\+Index@{get\+Fixed\+Attribute\+Index}}
\index{get\+Fixed\+Attribute\+Index@{get\+Fixed\+Attribute\+Index}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{get\+Fixed\+Attribute\+Index()}{getFixedAttributeIndex()}}
{\footnotesize\ttfamily static \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} Ogre\+::\+G\+L\+S\+L\+Program\+Common\+::get\+Fixed\+Attribute\+Index (\begin{DoxyParamCaption}\item[{\hyperlink{group___render_system_ga0a62b3f2ede8992ff365bb013a8bc00d}{Vertex\+Element\+Semantic}}]{semantic,  }\item[{\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\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}!use\+Tight\+Attribute\+Layout@{use\+Tight\+Attribute\+Layout}}
\index{use\+Tight\+Attribute\+Layout@{use\+Tight\+Attribute\+Layout}!Ogre\+::\+G\+L\+S\+L\+Separable\+Program@{Ogre\+::\+G\+L\+S\+L\+Separable\+Program}}
\subsubsection{\texorpdfstring{use\+Tight\+Attribute\+Layout()}{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 
\hyperlink{_ogre_g_l_s_l_separable_program_8h}{Ogre\+G\+L\+S\+L\+Separable\+Program.\+h}\end{DoxyCompactItemize}
