\hypertarget{class_ogre_1_1_shader_helper}{}\section{Ogre\+:\+:Shader\+Helper Class Reference}
\label{class_ogre_1_1_shader_helper}\index{Ogre\+::\+Shader\+Helper@{Ogre\+::\+Shader\+Helper}}


Interface definition for helper class to generate shaders.  




{\ttfamily \#include $<$Ogre\+Terrain\+Material\+Shader\+Helpers.\+h$>$}



Inheritance diagram for Ogre\+:\+:Shader\+Helper\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_shader_helper__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_shader_helper_a061b5e7a2dbcbccc2bf3ef6bd0083683}{Shader\+Helper} ()
\item 
virtual \hyperlink{class_ogre_1_1_shader_helper_ae4b8ef34dfa311c28e606ef02706c769}{$\sim$\+Shader\+Helper} ()
\item 
virtual \hyperlink{namespace_ogre_aa0dbc2fa75a10658398c55e1450309e6}{High\+Level\+Gpu\+Program\+Ptr} \hyperlink{class_ogre_1_1_shader_helper_ace4fceb783350b53587a999a506e23bb}{generate\+Fragment\+Program} (const \hyperlink{namespace_ogre_a09ac7d69c6fbb892b4445f53b67f747a}{S\+M2\+Profile} $\ast$prof, const \hyperlink{class_ogre_1_1_terrain}{Terrain} $\ast$terrain, \hyperlink{group___terrain_ga632903bb3f8ee3d838b17177bfb7cbcc}{Technique\+Type} tt)
\item 
virtual \hyperlink{namespace_ogre_aa0dbc2fa75a10658398c55e1450309e6}{High\+Level\+Gpu\+Program\+Ptr} \hyperlink{class_ogre_1_1_shader_helper_ae0260a80fc0eb977f5ba548f8637f623}{generate\+Vertex\+Program} (const \hyperlink{namespace_ogre_a09ac7d69c6fbb892b4445f53b67f747a}{S\+M2\+Profile} $\ast$prof, const \hyperlink{class_ogre_1_1_terrain}{Terrain} $\ast$terrain, \hyperlink{group___terrain_ga632903bb3f8ee3d838b17177bfb7cbcc}{Technique\+Type} tt)
\item 
virtual void \hyperlink{class_ogre_1_1_shader_helper_a69243683a76bcb33cfa5010199cd8fb5}{update\+Params} (const \hyperlink{namespace_ogre_a09ac7d69c6fbb892b4445f53b67f747a}{S\+M2\+Profile} $\ast$prof, const \hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr} \&mat, const \hyperlink{class_ogre_1_1_terrain}{Terrain} $\ast$terrain, bool composite\+Map)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Interface definition for helper class to generate shaders. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_shader_helper_a061b5e7a2dbcbccc2bf3ef6bd0083683}\label{class_ogre_1_1_shader_helper_a061b5e7a2dbcbccc2bf3ef6bd0083683}} 
\index{Ogre\+::\+Shader\+Helper@{Ogre\+::\+Shader\+Helper}!Shader\+Helper@{Shader\+Helper}}
\index{Shader\+Helper@{Shader\+Helper}!Ogre\+::\+Shader\+Helper@{Ogre\+::\+Shader\+Helper}}
\subsubsection{\texorpdfstring{Shader\+Helper()}{ShaderHelper()}}
{\footnotesize\ttfamily Ogre\+::\+Shader\+Helper\+::\+Shader\+Helper (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_shader_helper_ae4b8ef34dfa311c28e606ef02706c769}\label{class_ogre_1_1_shader_helper_ae4b8ef34dfa311c28e606ef02706c769}} 
\index{Ogre\+::\+Shader\+Helper@{Ogre\+::\+Shader\+Helper}!````~Shader\+Helper@{$\sim$\+Shader\+Helper}}
\index{````~Shader\+Helper@{$\sim$\+Shader\+Helper}!Ogre\+::\+Shader\+Helper@{Ogre\+::\+Shader\+Helper}}
\subsubsection{\texorpdfstring{$\sim$\+Shader\+Helper()}{~ShaderHelper()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Shader\+Helper\+::$\sim$\+Shader\+Helper (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



References generate\+Fragment\+Program(), generate\+Vertex\+Program(), and update\+Params().



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_shader_helper_ae0260a80fc0eb977f5ba548f8637f623}\label{class_ogre_1_1_shader_helper_ae0260a80fc0eb977f5ba548f8637f623}} 
\index{Ogre\+::\+Shader\+Helper@{Ogre\+::\+Shader\+Helper}!generate\+Vertex\+Program@{generate\+Vertex\+Program}}
\index{generate\+Vertex\+Program@{generate\+Vertex\+Program}!Ogre\+::\+Shader\+Helper@{Ogre\+::\+Shader\+Helper}}
\subsubsection{\texorpdfstring{generate\+Vertex\+Program()}{generateVertexProgram()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_aa0dbc2fa75a10658398c55e1450309e6}{High\+Level\+Gpu\+Program\+Ptr} Ogre\+::\+Shader\+Helper\+::generate\+Vertex\+Program (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_a09ac7d69c6fbb892b4445f53b67f747a}{S\+M2\+Profile} $\ast$}]{prof,  }\item[{const \hyperlink{class_ogre_1_1_terrain}{Terrain} $\ast$}]{terrain,  }\item[{\hyperlink{group___terrain_ga632903bb3f8ee3d838b17177bfb7cbcc}{Technique\+Type}}]{tt }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Referenced by $\sim$\+Shader\+Helper().

\mbox{\Hypertarget{class_ogre_1_1_shader_helper_ace4fceb783350b53587a999a506e23bb}\label{class_ogre_1_1_shader_helper_ace4fceb783350b53587a999a506e23bb}} 
\index{Ogre\+::\+Shader\+Helper@{Ogre\+::\+Shader\+Helper}!generate\+Fragment\+Program@{generate\+Fragment\+Program}}
\index{generate\+Fragment\+Program@{generate\+Fragment\+Program}!Ogre\+::\+Shader\+Helper@{Ogre\+::\+Shader\+Helper}}
\subsubsection{\texorpdfstring{generate\+Fragment\+Program()}{generateFragmentProgram()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_aa0dbc2fa75a10658398c55e1450309e6}{High\+Level\+Gpu\+Program\+Ptr} Ogre\+::\+Shader\+Helper\+::generate\+Fragment\+Program (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_a09ac7d69c6fbb892b4445f53b67f747a}{S\+M2\+Profile} $\ast$}]{prof,  }\item[{const \hyperlink{class_ogre_1_1_terrain}{Terrain} $\ast$}]{terrain,  }\item[{\hyperlink{group___terrain_ga632903bb3f8ee3d838b17177bfb7cbcc}{Technique\+Type}}]{tt }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Referenced by $\sim$\+Shader\+Helper().

\mbox{\Hypertarget{class_ogre_1_1_shader_helper_a69243683a76bcb33cfa5010199cd8fb5}\label{class_ogre_1_1_shader_helper_a69243683a76bcb33cfa5010199cd8fb5}} 
\index{Ogre\+::\+Shader\+Helper@{Ogre\+::\+Shader\+Helper}!update\+Params@{update\+Params}}
\index{update\+Params@{update\+Params}!Ogre\+::\+Shader\+Helper@{Ogre\+::\+Shader\+Helper}}
\subsubsection{\texorpdfstring{update\+Params()}{updateParams()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Shader\+Helper\+::update\+Params (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_a09ac7d69c6fbb892b4445f53b67f747a}{S\+M2\+Profile} $\ast$}]{prof,  }\item[{const \hyperlink{namespace_ogre_a57ef769e80226674c3971ce58b58c91d}{Material\+Ptr} \&}]{mat,  }\item[{const \hyperlink{class_ogre_1_1_terrain}{Terrain} $\ast$}]{terrain,  }\item[{bool}]{composite\+Map }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Referenced by $\sim$\+Shader\+Helper().



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_terrain_material_shader_helpers_8h}{Ogre\+Terrain\+Material\+Shader\+Helpers.\+h}\end{DoxyCompactItemize}
