\hypertarget{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer}{}\section{Ogre\+:\+:R\+T\+Shader\+:\+:C\+G\+Program\+Writer Class Reference}
\label{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer}\index{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer@{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer}}


CG target language writer implementation.  




{\ttfamily \#include $<$Ogre\+Shader\+C\+G\+Program\+Writer.\+h$>$}



Inheritance diagram for Ogre\+:\+:R\+T\+Shader\+:\+:C\+G\+Program\+Writer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=248pt]{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a9721e3cabbf137877922b7485046124b}{C\+G\+Program\+Writer} ()
\begin{DoxyCompactList}\small\item\em Class constructor. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a2813ee70b92380ef48c5056ff623213f}{$\sim$\+C\+G\+Program\+Writer} ()
\begin{DoxyCompactList}\small\item\em Class destructor. \end{DoxyCompactList}\item 
virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a53e318e7e106adfae697ee1e5a941d30}{get\+Target\+Language} () const
\item 
virtual void \hyperlink{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a9279b53602e0be2183bd0452ed830c50}{write\+Source\+Code} (std\+::ostream \&os, \hyperlink{class_ogre_1_1_r_t_shader_1_1_program}{Program} $\ast$program)
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \hyperlink{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_ae30fa976742fc69297a072d716987820}{Target\+Language}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
CG target language writer implementation. 

\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer}{Program\+Writer}. 
\end{DoxySeeAlso}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a9721e3cabbf137877922b7485046124b}\label{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a9721e3cabbf137877922b7485046124b}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer@{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer}!C\+G\+Program\+Writer@{C\+G\+Program\+Writer}}
\index{C\+G\+Program\+Writer@{C\+G\+Program\+Writer}!Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer@{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer}}
\subsubsection{\texorpdfstring{C\+G\+Program\+Writer()}{CGProgramWriter()}}
{\footnotesize\ttfamily Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer\+::\+C\+G\+Program\+Writer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Class constructor. 

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a2813ee70b92380ef48c5056ff623213f}\label{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a2813ee70b92380ef48c5056ff623213f}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer@{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer}!````~C\+G\+Program\+Writer@{$\sim$\+C\+G\+Program\+Writer}}
\index{````~C\+G\+Program\+Writer@{$\sim$\+C\+G\+Program\+Writer}!Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer@{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer}}
\subsubsection{\texorpdfstring{$\sim$\+C\+G\+Program\+Writer()}{~CGProgramWriter()}}
{\footnotesize\ttfamily virtual Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer\+::$\sim$\+C\+G\+Program\+Writer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Class destructor. 



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a9279b53602e0be2183bd0452ed830c50}\label{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a9279b53602e0be2183bd0452ed830c50}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer@{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer}!write\+Source\+Code@{write\+Source\+Code}}
\index{write\+Source\+Code@{write\+Source\+Code}!Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer@{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer}}
\subsubsection{\texorpdfstring{write\+Source\+Code()}{writeSourceCode()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer\+::write\+Source\+Code (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{os,  }\item[{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program}{Program} $\ast$}]{program }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_a208e3c64685a7302ba304bf38a56b321}{Program\+Writer\+::write\+Source\+Code}. 
\end{DoxySeeAlso}


Implements \hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_a208e3c64685a7302ba304bf38a56b321}{Ogre\+::\+R\+T\+Shader\+::\+Program\+Writer}.

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a53e318e7e106adfae697ee1e5a941d30}\label{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_a53e318e7e106adfae697ee1e5a941d30}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer@{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer}!get\+Target\+Language@{get\+Target\+Language}}
\index{get\+Target\+Language@{get\+Target\+Language}!Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer@{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer}}
\subsubsection{\texorpdfstring{get\+Target\+Language()}{getTargetLanguage()}}
{\footnotesize\ttfamily virtual const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer\+::get\+Target\+Language (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_adea123814282cb2fd21f504246647b06}{Program\+Writer\+::get\+Target\+Language}. 
\end{DoxySeeAlso}


Implements \hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_adea123814282cb2fd21f504246647b06}{Ogre\+::\+R\+T\+Shader\+::\+Program\+Writer}.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_ae30fa976742fc69297a072d716987820}\label{class_ogre_1_1_r_t_shader_1_1_c_g_program_writer_ae30fa976742fc69297a072d716987820}} 
\index{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer@{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer}!Target\+Language@{Target\+Language}}
\index{Target\+Language@{Target\+Language}!Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer@{Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer}}
\subsubsection{\texorpdfstring{Target\+Language}{TargetLanguage}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} Ogre\+::\+R\+T\+Shader\+::\+C\+G\+Program\+Writer\+::\+Target\+Language\hspace{0.3cm}{\ttfamily [static]}}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_shader_c_g_program_writer_8h}{Ogre\+Shader\+C\+G\+Program\+Writer.\+h}\end{DoxyCompactItemize}
