\hypertarget{class_ogre_1_1_cg_program_factory}{}\section{Ogre\+:\+:Cg\+Program\+Factory Class Reference}
\label{class_ogre_1_1_cg_program_factory}\index{Ogre\+::\+Cg\+Program\+Factory@{Ogre\+::\+Cg\+Program\+Factory}}


Factory class for Cg programs.  




{\ttfamily \#include $<$Ogre\+Cg\+Program\+Factory.\+h$>$}



Inheritance diagram for Ogre\+:\+:Cg\+Program\+Factory\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=235pt]{class_ogre_1_1_cg_program_factory__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_cg_program_factory_a86752f3ed3d01ad2fbc665ee3ba70a96}{Cg\+Program\+Factory} ()
\item 
\hyperlink{class_ogre_1_1_cg_program_factory_a3d50a30e2f42740c090480143f55a5fa}{$\sim$\+Cg\+Program\+Factory} ()
\item 
\hyperlink{class_ogre_1_1_high_level_gpu_program}{High\+Level\+Gpu\+Program} $\ast$ \hyperlink{class_ogre_1_1_cg_program_factory_ab4e67b062cc70d29df7e7d169bb88e71}{create} (\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$creator, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, \hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle} handle, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&group, bool is\+Manual, \hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader} $\ast$loader)
\item 
void \hyperlink{class_ogre_1_1_cg_program_factory_a981698847d227ebfdc30a1ed3cc1dd61}{destroy} (\hyperlink{class_ogre_1_1_high_level_gpu_program}{High\+Level\+Gpu\+Program} $\ast$prog)
\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_cg_program_factory_abf5b3712c5577401d085544a045ce549}{get\+Language} (void) const
\begin{DoxyCompactList}\small\item\em Get the name of the language this factory creates programs for. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Factory class for Cg programs. 



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_cg_program_factory_a86752f3ed3d01ad2fbc665ee3ba70a96}\label{class_ogre_1_1_cg_program_factory_a86752f3ed3d01ad2fbc665ee3ba70a96}} 
\index{Ogre\+::\+Cg\+Program\+Factory@{Ogre\+::\+Cg\+Program\+Factory}!Cg\+Program\+Factory@{Cg\+Program\+Factory}}
\index{Cg\+Program\+Factory@{Cg\+Program\+Factory}!Ogre\+::\+Cg\+Program\+Factory@{Ogre\+::\+Cg\+Program\+Factory}}
\subsubsection{\texorpdfstring{Cg\+Program\+Factory()}{CgProgramFactory()}}
{\footnotesize\ttfamily Ogre\+::\+Cg\+Program\+Factory\+::\+Cg\+Program\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_cg_program_factory_a3d50a30e2f42740c090480143f55a5fa}\label{class_ogre_1_1_cg_program_factory_a3d50a30e2f42740c090480143f55a5fa}} 
\index{Ogre\+::\+Cg\+Program\+Factory@{Ogre\+::\+Cg\+Program\+Factory}!````~Cg\+Program\+Factory@{$\sim$\+Cg\+Program\+Factory}}
\index{````~Cg\+Program\+Factory@{$\sim$\+Cg\+Program\+Factory}!Ogre\+::\+Cg\+Program\+Factory@{Ogre\+::\+Cg\+Program\+Factory}}
\subsubsection{\texorpdfstring{$\sim$\+Cg\+Program\+Factory()}{~CgProgramFactory()}}
{\footnotesize\ttfamily Ogre\+::\+Cg\+Program\+Factory\+::$\sim$\+Cg\+Program\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_cg_program_factory_abf5b3712c5577401d085544a045ce549}\label{class_ogre_1_1_cg_program_factory_abf5b3712c5577401d085544a045ce549}} 
\index{Ogre\+::\+Cg\+Program\+Factory@{Ogre\+::\+Cg\+Program\+Factory}!get\+Language@{get\+Language}}
\index{get\+Language@{get\+Language}!Ogre\+::\+Cg\+Program\+Factory@{Ogre\+::\+Cg\+Program\+Factory}}
\subsubsection{\texorpdfstring{get\+Language()}{getLanguage()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Cg\+Program\+Factory\+::get\+Language (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Get the name of the language this factory creates programs for. 



Implements \hyperlink{class_ogre_1_1_high_level_gpu_program_factory_ac3faee2eabc0225e3d5f0d1fb7bca47f}{Ogre\+::\+High\+Level\+Gpu\+Program\+Factory}.

\mbox{\Hypertarget{class_ogre_1_1_cg_program_factory_ab4e67b062cc70d29df7e7d169bb88e71}\label{class_ogre_1_1_cg_program_factory_ab4e67b062cc70d29df7e7d169bb88e71}} 
\index{Ogre\+::\+Cg\+Program\+Factory@{Ogre\+::\+Cg\+Program\+Factory}!create@{create}}
\index{create@{create}!Ogre\+::\+Cg\+Program\+Factory@{Ogre\+::\+Cg\+Program\+Factory}}
\subsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_high_level_gpu_program}{High\+Level\+Gpu\+Program}$\ast$ Ogre\+::\+Cg\+Program\+Factory\+::create (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_resource_manager}{Resource\+Manager} $\ast$}]{creator,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{\hyperlink{namespace_ogre_aeb9f62c8e6c4239315286c63321722b2}{Resource\+Handle}}]{handle,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{group,  }\item[{bool}]{is\+Manual,  }\item[{\hyperlink{class_ogre_1_1_manual_resource_loader}{Manual\+Resource\+Loader} $\ast$}]{loader }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Implements \hyperlink{class_ogre_1_1_high_level_gpu_program_factory_abf88ca9ec682fc13dd2a076b81a093c4}{Ogre\+::\+High\+Level\+Gpu\+Program\+Factory}.

\mbox{\Hypertarget{class_ogre_1_1_cg_program_factory_a981698847d227ebfdc30a1ed3cc1dd61}\label{class_ogre_1_1_cg_program_factory_a981698847d227ebfdc30a1ed3cc1dd61}} 
\index{Ogre\+::\+Cg\+Program\+Factory@{Ogre\+::\+Cg\+Program\+Factory}!destroy@{destroy}}
\index{destroy@{destroy}!Ogre\+::\+Cg\+Program\+Factory@{Ogre\+::\+Cg\+Program\+Factory}}
\subsubsection{\texorpdfstring{destroy()}{destroy()}}
{\footnotesize\ttfamily void Ogre\+::\+Cg\+Program\+Factory\+::destroy (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_high_level_gpu_program}{High\+Level\+Gpu\+Program} $\ast$}]{prog }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Implements \hyperlink{class_ogre_1_1_high_level_gpu_program_factory_ae88ae1bb894730872d5d6e04eebff437}{Ogre\+::\+High\+Level\+Gpu\+Program\+Factory}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_cg_program_factory_8h}{Ogre\+Cg\+Program\+Factory.\+h}\end{DoxyCompactItemize}
