\hypertarget{struct_ogre_1_1_shader_helper_cg}{}\doxysection{Ogre\+::Shader\+Helper\+Cg Struct Reference}
\label{struct_ogre_1_1_shader_helper_cg}\index{Ogre::ShaderHelperCg@{Ogre::ShaderHelperCg}}


Utility class to help with generating shaders for Cg / H\+L\+SL.  




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



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


\doxysubsection{Detailed Description}
Utility class to help with generating shaders for Cg / H\+L\+SL. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{struct_ogre_1_1_shader_helper_cg_a74ffb5c45f107f75898169d7db0a4655}\label{struct_ogre_1_1_shader_helper_cg_a74ffb5c45f107f75898169d7db0a4655}} 
\index{Ogre::ShaderHelperCg@{Ogre::ShaderHelperCg}!ShaderHelperCg@{ShaderHelperCg}}
\index{ShaderHelperCg@{ShaderHelperCg}!Ogre::ShaderHelperCg@{Ogre::ShaderHelperCg}}
\doxysubsubsection{\texorpdfstring{ShaderHelperCg()}{ShaderHelperCg()}}
{\footnotesize\ttfamily Ogre\+::\+Shader\+Helper\+Cg\+::\+Shader\+Helper\+Cg (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_shader_helper_a88ad7bc700ad8f31cd8d3816ccc5263c}\label{class_ogre_1_1_shader_helper_a88ad7bc700ad8f31cd8d3816ccc5263c}} 
\index{Ogre::ShaderHelperCg@{Ogre::ShaderHelperCg}!isVertexCompressionSupported@{isVertexCompressionSupported}}
\index{isVertexCompressionSupported@{isVertexCompressionSupported}!Ogre::ShaderHelperCg@{Ogre::ShaderHelperCg}}
\doxysubsubsection{\texorpdfstring{isVertexCompressionSupported()}{isVertexCompressionSupported()}}
{\footnotesize\ttfamily bool Ogre\+::\+Shader\+Helper\+::is\+Vertex\+Compression\+Supported (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

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

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

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



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