\hypertarget{class_ogre_1_1_r_t_shader_1_1_program_writer_manager}{}\doxysection{Ogre\+::R\+T\+Shader\+::Program\+Writer\+Manager Class Reference}
\label{class_ogre_1_1_r_t_shader_1_1_program_writer_manager}\index{Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}}


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



Inheritance diagram for Ogre\+::R\+T\+Shader\+::Program\+Writer\+Manager\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_r_t_shader_1_1_program_writer_manager__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\+::map$<$ \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_factory}{Program\+Writer\+Factory}} $\ast$ $>$ \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a978eec10b5b76ddddf06a615ecd97563}{Factory\+Map}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aa7d6b319ff45bc9861dba292f9b2ff7a}{Program\+Writer\+Manager}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a97fa340b976122ebe93939ea47580bc8}{$\sim$\+Program\+Writer\+Manager}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a58504fc8e566b0172c448249f724522d}{add\+Factory}} (\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_factory}{Program\+Writer\+Factory}} $\ast$factory)
\begin{DoxyCompactList}\small\item\em Add a new factory object for high-\/level programs of a given language. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer}{Program\+Writer}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a4729f130076dc7e5746154bdc02600af}{create\+Program\+Writer}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&language)
\begin{DoxyCompactList}\small\item\em Create a new, unloaded \mbox{\hyperlink{class_ogre_1_1_high_level_gpu_program}{High\+Level\+Gpu\+Program}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aab32a8bee0c51620b07d3e1b80eca028}{is\+Language\+Supported}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&lang)
\begin{DoxyCompactList}\small\item\em Returns whether a given high-\/level language is supported. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aa85306b68773fc269737df0ba894f996}{remove\+Factory}} (\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_factory}{Program\+Writer\+Factory}} $\ast$factory)
\begin{DoxyCompactList}\small\item\em Remove a factory object for high-\/level programs of a given language. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager}{Program\+Writer\+Manager}} \& \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aeeff5852f80a31dc9e1e82673fce2aad}{get\+Singleton}} ()
\begin{DoxyCompactList}\small\item\em Override standard \mbox{\hyperlink{class_ogre_1_1_singleton}{Singleton}} retrieval. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager}{Program\+Writer\+Manager}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a34d6f0b37469bc6993b93caf7ebbde42}{get\+Singleton\+Ptr}} ()
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a978eec10b5b76ddddf06a615ecd97563}\label{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a978eec10b5b76ddddf06a615ecd97563}} 
\index{Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}!FactoryMap@{FactoryMap}}
\index{FactoryMap@{FactoryMap}!Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}}
\doxysubsubsection{\texorpdfstring{FactoryMap}{FactoryMap}}
{\footnotesize\ttfamily typedef std\+::map$<$\mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}, \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_factory}{Program\+Writer\+Factory}}$\ast$$>$ \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a978eec10b5b76ddddf06a615ecd97563}{Ogre\+::\+R\+T\+Shader\+::\+Program\+Writer\+Manager\+::\+Factory\+Map}}}



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aa7d6b319ff45bc9861dba292f9b2ff7a}\label{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aa7d6b319ff45bc9861dba292f9b2ff7a}} 
\index{Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}!ProgramWriterManager@{ProgramWriterManager}}
\index{ProgramWriterManager@{ProgramWriterManager}!Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}}
\doxysubsubsection{\texorpdfstring{ProgramWriterManager()}{ProgramWriterManager()}}
{\footnotesize\ttfamily Ogre\+::\+R\+T\+Shader\+::\+Program\+Writer\+Manager\+::\+Program\+Writer\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a97fa340b976122ebe93939ea47580bc8}\label{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a97fa340b976122ebe93939ea47580bc8}} 
\index{Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}!````~ProgramWriterManager@{$\sim$ProgramWriterManager}}
\index{````~ProgramWriterManager@{$\sim$ProgramWriterManager}!Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}}
\doxysubsubsection{\texorpdfstring{$\sim$ProgramWriterManager()}{~ProgramWriterManager()}}
{\footnotesize\ttfamily Ogre\+::\+R\+T\+Shader\+::\+Program\+Writer\+Manager\+::$\sim$\+Program\+Writer\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a58504fc8e566b0172c448249f724522d}\label{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a58504fc8e566b0172c448249f724522d}} 
\index{Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}!addFactory@{addFactory}}
\index{addFactory@{addFactory}!Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}}
\doxysubsubsection{\texorpdfstring{addFactory()}{addFactory()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Program\+Writer\+Manager\+::add\+Factory (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_factory}{Program\+Writer\+Factory}} $\ast$}]{factory }\end{DoxyParamCaption})}



Add a new factory object for high-\/level programs of a given language. 

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aa85306b68773fc269737df0ba894f996}\label{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aa85306b68773fc269737df0ba894f996}} 
\index{Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}!removeFactory@{removeFactory}}
\index{removeFactory@{removeFactory}!Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}}
\doxysubsubsection{\texorpdfstring{removeFactory()}{removeFactory()}}
{\footnotesize\ttfamily void Ogre\+::\+R\+T\+Shader\+::\+Program\+Writer\+Manager\+::remove\+Factory (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_factory}{Program\+Writer\+Factory}} $\ast$}]{factory }\end{DoxyParamCaption})}



Remove a factory object for high-\/level programs of a given language. 

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aab32a8bee0c51620b07d3e1b80eca028}\label{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aab32a8bee0c51620b07d3e1b80eca028}} 
\index{Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}!isLanguageSupported@{isLanguageSupported}}
\index{isLanguageSupported@{isLanguageSupported}!Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}}
\doxysubsubsection{\texorpdfstring{isLanguageSupported()}{isLanguageSupported()}}
{\footnotesize\ttfamily bool Ogre\+::\+R\+T\+Shader\+::\+Program\+Writer\+Manager\+::is\+Language\+Supported (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{lang }\end{DoxyParamCaption})}



Returns whether a given high-\/level language is supported. 

\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a4729f130076dc7e5746154bdc02600af}\label{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a4729f130076dc7e5746154bdc02600af}} 
\index{Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}!createProgramWriter@{createProgramWriter}}
\index{createProgramWriter@{createProgramWriter}!Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}}
\doxysubsubsection{\texorpdfstring{createProgramWriter()}{createProgramWriter()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer}{Program\+Writer}}$\ast$ Ogre\+::\+R\+T\+Shader\+::\+Program\+Writer\+Manager\+::create\+Program\+Writer (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{language }\end{DoxyParamCaption})}



Create a new, unloaded \mbox{\hyperlink{class_ogre_1_1_high_level_gpu_program}{High\+Level\+Gpu\+Program}}. 

\begin{DoxyParagraph}{}
This method creates a new program of the type specified as the second and third parameters. You will have to call further methods on the returned program in order to define the program fully before you can load it. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em language} & Code of the language to use (e.\+g. \char`\"{}cg\char`\"{}) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aeeff5852f80a31dc9e1e82673fce2aad}\label{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_aeeff5852f80a31dc9e1e82673fce2aad}} 
\index{Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}!getSingleton@{getSingleton}}
\index{getSingleton@{getSingleton}!Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}}
\doxysubsubsection{\texorpdfstring{getSingleton()}{getSingleton()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager}{Program\+Writer\+Manager}}\& Ogre\+::\+R\+T\+Shader\+::\+Program\+Writer\+Manager\+::get\+Singleton (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Override standard \mbox{\hyperlink{class_ogre_1_1_singleton}{Singleton}} retrieval. 

\begin{DoxyRemark}{Remarks}
Why do we do this? Well, it\textquotesingle{}s because the \mbox{\hyperlink{class_ogre_1_1_singleton}{Singleton}} implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the \mbox{\hyperlink{class_ogre_1_1_singleton}{Singleton}} template to work, but we actually only want it compiled into the implementation of the class based on the \mbox{\hyperlink{class_ogre_1_1_singleton}{Singleton}}, not all of them. If we don\textquotesingle{}t change this, we get link errors when trying to use the Singleton-\/based class from an outside dll. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a34d6f0b37469bc6993b93caf7ebbde42}\label{class_ogre_1_1_r_t_shader_1_1_program_writer_manager_a34d6f0b37469bc6993b93caf7ebbde42}} 
\index{Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}!getSingletonPtr@{getSingletonPtr}}
\index{getSingletonPtr@{getSingletonPtr}!Ogre::RTShader::ProgramWriterManager@{Ogre::RTShader::ProgramWriterManager}}
\doxysubsubsection{\texorpdfstring{getSingletonPtr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{class_ogre_1_1_r_t_shader_1_1_program_writer_manager}{Program\+Writer\+Manager}}$\ast$ Ogre\+::\+R\+T\+Shader\+::\+Program\+Writer\+Manager\+::get\+Singleton\+Ptr (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the singleton instance. 



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