\hypertarget{class_ogre_1_1_g_l_r_t_t_manager}{}\doxysection{Ogre\+::G\+L\+R\+T\+T\+Manager Class Reference}
\label{class_ogre_1_1_g_l_r_t_t_manager}\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}}


Manager/factory for Render\+Textures.  




{\ttfamily \#include $<$Ogre\+G\+L\+Render\+Texture.\+h$>$}



Inheritance diagram for Ogre\+::G\+L\+R\+T\+T\+Manager\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_g_l_r_t_t_manager__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager_a9a3ca3c9d8e44423f63922861192bc88}{G\+L\+R\+T\+T\+Manager}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager_a22926ca1dc7a6ca3b249e3bdf5473da6}{$\sim$\+G\+L\+R\+T\+T\+Manager}} ()
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager_a3fc521168079bbe8834144dc964eb9ea}{bind}} (\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$target)
\begin{DoxyCompactList}\small\item\em Bind a certain render target. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager_ad5dca17a79a3b69e8fb5ea5f303c0379}{check\+Format}} (\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} format)
\begin{DoxyCompactList}\small\item\em Check if a certain format is usable as F\+BO rendertarget format. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{class_ogre_1_1_render_texture}{Render\+Texture}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager_aac78ded603f500c9f40a3d538f585bfd}{create\+Render\+Texture}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{struct_ogre_1_1_g_l_surface_desc}{G\+L\+Surface\+Desc}} \&target, bool write\+Gamma, \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} fsaa)=0
\begin{DoxyCompactList}\small\item\em Create a texture rendertarget object. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager_a83d572786975fca5d911e5588f813cd7}{get\+Best\+Depth\+Stencil}} (\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} internal\+Format, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} $\ast$depth\+Format, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} $\ast$stencil\+Format)
\item 
\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager_a579307af6016507b9f34f87b323e6e4f}{get\+Supported\+Alternative}} (\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} format)
\begin{DoxyCompactList}\small\item\em Get the closest supported alternative format. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager_a0354371ab551607aaeb6bffc888e7925}{release\+Render\+Buffer}} (const \mbox{\hyperlink{struct_ogre_1_1_g_l_surface_desc}{G\+L\+Surface\+Desc}} \&surface)
\begin{DoxyCompactList}\small\item\em Release a render buffer. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager_a23c87c9b0f6d577302088b63aa7adf79}{unbind}} (\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$target)
\begin{DoxyCompactList}\small\item\em Unbind a certain render target. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager}{G\+L\+R\+T\+T\+Manager}} \& \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager_a104de91a08e9ada12ba9e8558c2668bf}{get\+Singleton}} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager}{G\+L\+R\+T\+T\+Manager}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager_a9aa75e45760d466317d3ba688738c3f8}{get\+Singleton\+Ptr}} (void)
\begin{DoxyCompactList}\small\item\em Get the singleton instance. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Manager/factory for Render\+Textures. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_g_l_r_t_t_manager_a9a3ca3c9d8e44423f63922861192bc88}\label{class_ogre_1_1_g_l_r_t_t_manager_a9a3ca3c9d8e44423f63922861192bc88}} 
\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}!GLRTTManager@{GLRTTManager}}
\index{GLRTTManager@{GLRTTManager}!Ogre::GLRTTManager@{Ogre::GLRTTManager}}
\doxysubsubsection{\texorpdfstring{GLRTTManager()}{GLRTTManager()}}
{\footnotesize\ttfamily Ogre\+::\+G\+L\+R\+T\+T\+Manager\+::\+G\+L\+R\+T\+T\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_g_l_r_t_t_manager_a22926ca1dc7a6ca3b249e3bdf5473da6}\label{class_ogre_1_1_g_l_r_t_t_manager_a22926ca1dc7a6ca3b249e3bdf5473da6}} 
\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}!````~GLRTTManager@{$\sim$GLRTTManager}}
\index{````~GLRTTManager@{$\sim$GLRTTManager}!Ogre::GLRTTManager@{Ogre::GLRTTManager}}
\doxysubsubsection{\texorpdfstring{$\sim$GLRTTManager()}{~GLRTTManager()}}
{\footnotesize\ttfamily virtual Ogre\+::\+G\+L\+R\+T\+T\+Manager\+::$\sim$\+G\+L\+R\+T\+T\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_g_l_r_t_t_manager_aac78ded603f500c9f40a3d538f585bfd}\label{class_ogre_1_1_g_l_r_t_t_manager_aac78ded603f500c9f40a3d538f585bfd}} 
\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}!createRenderTexture@{createRenderTexture}}
\index{createRenderTexture@{createRenderTexture}!Ogre::GLRTTManager@{Ogre::GLRTTManager}}
\doxysubsubsection{\texorpdfstring{createRenderTexture()}{createRenderTexture()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_render_texture}{Render\+Texture}}$\ast$ Ogre\+::\+G\+L\+R\+T\+T\+Manager\+::create\+Render\+Texture (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{struct_ogre_1_1_g_l_surface_desc}{G\+L\+Surface\+Desc}} \&}]{target,  }\item[{bool}]{write\+Gamma,  }\item[{\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}}]{fsaa }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Create a texture rendertarget object. 



Implemented in \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_manager_ac09c670b0db348b3094ef5e8f9474f07}{Ogre\+::\+G\+L\+E\+S2\+F\+B\+O\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_f_b_o_manager_adcc5f5828dd6106ea3fa194924db66b2}{Ogre\+::\+G\+L\+F\+B\+O\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l3_plus_f_b_o_manager_a13176eee549c537a656e77d60b8d42ff}{Ogre\+::\+G\+L3\+Plus\+F\+B\+O\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_p_b_r_t_t_manager_a9e4ff5346d8335faf402334af4af9322}{Ogre\+::\+G\+L\+P\+B\+R\+T\+T\+Manager}}, and \mbox{\hyperlink{class_ogre_1_1_g_l_copying_r_t_t_manager_a11a0a9d2c9474f510f8a0328a65c9c0a}{Ogre\+::\+G\+L\+Copying\+R\+T\+T\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_r_t_t_manager_a0354371ab551607aaeb6bffc888e7925}\label{class_ogre_1_1_g_l_r_t_t_manager_a0354371ab551607aaeb6bffc888e7925}} 
\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}!releaseRenderBuffer@{releaseRenderBuffer}}
\index{releaseRenderBuffer@{releaseRenderBuffer}!Ogre::GLRTTManager@{Ogre::GLRTTManager}}
\doxysubsubsection{\texorpdfstring{releaseRenderBuffer()}{releaseRenderBuffer()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+R\+T\+T\+Manager\+::release\+Render\+Buffer (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct_ogre_1_1_g_l_surface_desc}{G\+L\+Surface\+Desc}} \&}]{surface }\end{DoxyParamCaption})}



Release a render buffer. 

Ignore silently if surface.\+buffer is 0. \mbox{\Hypertarget{class_ogre_1_1_g_l_r_t_t_manager_ad5dca17a79a3b69e8fb5ea5f303c0379}\label{class_ogre_1_1_g_l_r_t_t_manager_ad5dca17a79a3b69e8fb5ea5f303c0379}} 
\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}!checkFormat@{checkFormat}}
\index{checkFormat@{checkFormat}!Ogre::GLRTTManager@{Ogre::GLRTTManager}}
\doxysubsubsection{\texorpdfstring{checkFormat()}{checkFormat()}}
{\footnotesize\ttfamily bool Ogre\+::\+G\+L\+R\+T\+T\+Manager\+::check\+Format (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{format }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Check if a certain format is usable as F\+BO rendertarget format. 

\mbox{\Hypertarget{class_ogre_1_1_g_l_r_t_t_manager_a3fc521168079bbe8834144dc964eb9ea}\label{class_ogre_1_1_g_l_r_t_t_manager_a3fc521168079bbe8834144dc964eb9ea}} 
\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}!bind@{bind}}
\index{bind@{bind}!Ogre::GLRTTManager@{Ogre::GLRTTManager}}
\doxysubsubsection{\texorpdfstring{bind()}{bind()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L\+R\+T\+T\+Manager\+::bind (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$}]{target }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Bind a certain render target. 

\begin{DoxyNote}{Note}
only needed for F\+BO R\+T\+Ts 
\end{DoxyNote}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_manager_aecea9ceccfdf7484a7d7ff56a971342e}{Ogre\+::\+G\+L\+E\+S2\+F\+B\+O\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_f_b_o_manager_a2f2d3f47f82a3b009c4a0037f27de6d8}{Ogre\+::\+G\+L\+F\+B\+O\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_p_b_r_t_t_manager_ae389b2ad292ffd66f88436567356bbea}{Ogre\+::\+G\+L\+P\+B\+R\+T\+T\+Manager}}, and \mbox{\hyperlink{class_ogre_1_1_g_l_copying_r_t_t_manager_a8aad0bc91f5be3a3c2b3fc4ae1e803b1}{Ogre\+::\+G\+L\+Copying\+R\+T\+T\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_r_t_t_manager_a23c87c9b0f6d577302088b63aa7adf79}\label{class_ogre_1_1_g_l_r_t_t_manager_a23c87c9b0f6d577302088b63aa7adf79}} 
\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}!unbind@{unbind}}
\index{unbind@{unbind}!Ogre::GLRTTManager@{Ogre::GLRTTManager}}
\doxysubsubsection{\texorpdfstring{unbind()}{unbind()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L\+R\+T\+T\+Manager\+::unbind (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$}]{target }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Unbind a certain render target. 

This is called before binding another \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}}, and before the context is switched. It can be used to do a copy, or just be a noop if direct binding is used. \begin{DoxyNote}{Note}
only needed for Copying or P\+Buffer R\+T\+Ts 
\end{DoxyNote}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_g_l_f_b_o_manager_aa17c48a8227a5428e39a750e9fe9eda6}{Ogre\+::\+G\+L\+F\+B\+O\+Manager}}, \mbox{\hyperlink{class_ogre_1_1_g_l_p_b_r_t_t_manager_a9c0bf473c3112935173538969020fdbe}{Ogre\+::\+G\+L\+P\+B\+R\+T\+T\+Manager}}, and \mbox{\hyperlink{class_ogre_1_1_g_l_copying_r_t_t_manager_a43fde582e88889946c984d106c1048bf}{Ogre\+::\+G\+L\+Copying\+R\+T\+T\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_r_t_t_manager_a83d572786975fca5d911e5588f813cd7}\label{class_ogre_1_1_g_l_r_t_t_manager_a83d572786975fca5d911e5588f813cd7}} 
\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}!getBestDepthStencil@{getBestDepthStencil}}
\index{getBestDepthStencil@{getBestDepthStencil}!Ogre::GLRTTManager@{Ogre::GLRTTManager}}
\doxysubsubsection{\texorpdfstring{getBestDepthStencil()}{getBestDepthStencil()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L\+R\+T\+T\+Manager\+::get\+Best\+Depth\+Stencil (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{internal\+Format,  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} $\ast$}]{depth\+Format,  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} $\ast$}]{stencil\+Format }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_manager_a1baddfc1c1ff12c5fe31899bfdea7b0d}{Ogre\+::\+G\+L\+E\+S2\+F\+B\+O\+Manager}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_r_t_t_manager_a579307af6016507b9f34f87b323e6e4f}\label{class_ogre_1_1_g_l_r_t_t_manager_a579307af6016507b9f34f87b323e6e4f}} 
\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}!getSupportedAlternative@{getSupportedAlternative}}
\index{getSupportedAlternative@{getSupportedAlternative}!Ogre::GLRTTManager@{Ogre::GLRTTManager}}
\doxysubsubsection{\texorpdfstring{getSupportedAlternative()}{getSupportedAlternative()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} Ogre\+::\+G\+L\+R\+T\+T\+Manager\+::get\+Supported\+Alternative (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}}}]{format }\end{DoxyParamCaption})}



Get the closest supported alternative format. 

If format is supported, returns format. \mbox{\Hypertarget{class_ogre_1_1_g_l_r_t_t_manager_a104de91a08e9ada12ba9e8558c2668bf}\label{class_ogre_1_1_g_l_r_t_t_manager_a104de91a08e9ada12ba9e8558c2668bf}} 
\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}!getSingleton@{getSingleton}}
\index{getSingleton@{getSingleton}!Ogre::GLRTTManager@{Ogre::GLRTTManager}}
\doxysubsubsection{\texorpdfstring{getSingleton()}{getSingleton()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager}{G\+L\+R\+T\+T\+Manager}}\& Ogre\+::\+G\+L\+R\+T\+T\+Manager\+::get\+Singleton (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the singleton instance. 

\mbox{\Hypertarget{class_ogre_1_1_g_l_r_t_t_manager_a9aa75e45760d466317d3ba688738c3f8}\label{class_ogre_1_1_g_l_r_t_t_manager_a9aa75e45760d466317d3ba688738c3f8}} 
\index{Ogre::GLRTTManager@{Ogre::GLRTTManager}!getSingletonPtr@{getSingletonPtr}}
\index{getSingletonPtr@{getSingletonPtr}!Ogre::GLRTTManager@{Ogre::GLRTTManager}}
\doxysubsubsection{\texorpdfstring{getSingletonPtr()}{getSingletonPtr()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{class_ogre_1_1_g_l_r_t_t_manager}{G\+L\+R\+T\+T\+Manager}}$\ast$ Ogre\+::\+G\+L\+R\+T\+T\+Manager\+::get\+Singleton\+Ptr (\begin{DoxyParamCaption}\item[{void}]{ }\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_g_l_render_texture_8h}{Ogre\+G\+L\+Render\+Texture.\+h}}\end{DoxyCompactItemize}
