\hypertarget{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture}{}\doxysection{Ogre\+::G\+L\+E\+S2\+F\+B\+O\+Render\+Texture Class Reference}
\label{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture}\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}


\mbox{\hyperlink{class_ogre_1_1_render_texture}{Render\+Texture}} for GL ES 2 F\+BO.  




{\ttfamily \#include $<$Ogre\+G\+L\+E\+S2\+F\+B\+O\+Render\+Texture.\+h$>$}



Inheritance diagram for Ogre\+::G\+L\+E\+S2\+F\+B\+O\+Render\+Texture\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=338pt]{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397a}{Frame\+Buffer}} \{ \mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aaa9d982cf6f703ba525577fdd487ae5e8}{F\+B\+\_\+\+F\+R\+O\+NT}}, 
\mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa632020df02d4d37ee90ff4ff0a5b7b86}{F\+B\+\_\+\+B\+A\+CK}}, 
\mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa7c2856681602b85c62439a67a247c322}{F\+B\+\_\+\+A\+U\+TO}}
 \}
\item 
enum \mbox{\hyperlink{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490}{Stat\+Flags}} \{ \newline
\mbox{\hyperlink{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a6df94556ae07dfa0384808dca8dedb64}{S\+F\+\_\+\+N\+O\+NE}} = 0, 
\mbox{\hyperlink{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a1f0cd329c7ff6d5d81b2162c65d04afa}{S\+F\+\_\+\+F\+PS}} = 1, 
\mbox{\hyperlink{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a5ee29312d754f2244987dc0d1f5894e8}{S\+F\+\_\+\+A\+V\+G\+\_\+\+F\+PS}} = 2, 
\mbox{\hyperlink{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490ac08101cb24d35c29eb7064886081e386}{S\+F\+\_\+\+B\+E\+S\+T\+\_\+\+F\+PS}} = 4, 
\newline
\mbox{\hyperlink{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490aba6283bc81ca4e5e6cd2b85497a2cc2f}{S\+F\+\_\+\+W\+O\+R\+S\+T\+\_\+\+F\+PS}} = 8, 
\mbox{\hyperlink{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a19ef0adeaa177d49fc4ca4c9b87adec1}{S\+F\+\_\+\+T\+R\+I\+A\+N\+G\+L\+E\+\_\+\+C\+O\+U\+NT}} = 16, 
\mbox{\hyperlink{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a18416c60c9b82d928db766bef672ecea}{S\+F\+\_\+\+A\+LL}} = 0x\+F\+F\+FF
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a256ce011f2e1eb0c022a6890cd635ca8}{G\+L\+E\+S2\+F\+B\+O\+Render\+Texture}} (\mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_manager}{G\+L\+E\+S2\+F\+B\+O\+Manager}} $\ast$manager, 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)
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_ad0b724596d2b9e278293aee6e55a5273}{\+\_\+begin\+Update}} ()
\begin{DoxyCompactList}\small\item\em Method for manual management of rendering \+: fires \textquotesingle{}pre\+Render\+Target\+Update\textquotesingle{} and initialises statistics etc. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a5e051c49ca6d1abf0f6ebea15c2c9ee7}{\+\_\+detach\+Depth\+Buffer}} ()
\begin{DoxyCompactList}\small\item\em Detaches \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} without notifying it from the detach. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a53b173c70995ba39d72c01f5d086ca73}{\+\_\+end\+Update}} ()
\begin{DoxyCompactList}\small\item\em Method for manual management of rendering -\/ finishes statistics calculation and fires \textquotesingle{}post\+Render\+Target\+Update\textquotesingle{}. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{class_ogre_1_1_render_target_1_1_impl}{Impl}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_render_target_adc79bb20073490723d8705828a809068}{\+\_\+get\+Impl}} ()
\begin{DoxyCompactList}\small\item\em Get rendersystem specific interface for this \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}}. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a9643c656e6220cb96e7db14238788db7}{\+\_\+notify\+Camera\+Removed}} (const \mbox{\hyperlink{class_ogre_1_1_camera}{Camera}} $\ast$cam)
\begin{DoxyCompactList}\small\item\em Utility method to notify a render target that a camera has been removed, incase it was referring to it as a viewer. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_acdafe2d19bde39f4d03d1d7f5033955d}{\+\_\+update\+Auto\+Updated\+Viewports}} (bool update\+Statistics=true)
\begin{DoxyCompactList}\small\item\em Method for manual management of rendering -\/ renders only viewports that are auto updated. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_aa1d133ce3ec8e17b4b4df3890d4b8f3f}{\+\_\+update\+Viewport}} (int zorder, bool update\+Statistics=true)
\begin{DoxyCompactList}\small\item\em Method for manual management of rendering -\/ renders the given viewport (even if it is not autoupdated) \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_af98598627ee70b9b22ce7e095fb04b3c}{\+\_\+update\+Viewport}} (\mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}} $\ast$viewport, bool update\+Statistics=true)
\begin{DoxyCompactList}\small\item\em Method for manual management of rendering -\/ renders the given viewport (even if it is not autoupdated) \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a1799514a8ad7958919ca48c654a47e8e}{add\+Listener}} (\mbox{\hyperlink{class_ogre_1_1_render_target_listener}{Render\+Target\+Listener}} $\ast$listener)
\begin{DoxyCompactList}\small\item\em Add a listener to this \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} which will be called back before \& after rendering. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_render_target_a1a558e64db9dfd7cc4cec4547fca0e39}{add\+Viewport}} (\mbox{\hyperlink{class_ogre_1_1_camera}{Camera}} $\ast$cam, int Z\+Order=0, float left=0.\+0f, float top=0.\+0f, float width=1.\+0f, float height=1.\+0f)
\begin{DoxyCompactList}\small\item\em Adds a viewport to the rendering target. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a482623b1ed080e15766c93c1cf4b193b}{attach\+Depth\+Buffer}} (\mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} $\ast$depth\+Buffer)
\begin{DoxyCompactList}\small\item\em Override so we can attach the depth buffer to the F\+BO. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_texture_ab251ab4046e34b249be7d85ed7a358db}{copy\+Contents\+To\+Memory}} (const \mbox{\hyperlink{struct_ogre_1_1_box}{Box}} \&src, const \mbox{\hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box}} \&dst, \mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397a}{Frame\+Buffer}} buffer=\mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa7c2856681602b85c62439a67a247c322}{F\+B\+\_\+\+A\+U\+TO}})
\begin{DoxyCompactList}\small\item\em Copies the current contents of the render target to a pixelbox. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_texture_a62f7ce3ddeb263e5561c8521401f4ad6}{copy\+Contents\+To\+Memory}} (const \mbox{\hyperlink{struct_ogre_1_1_box}{Box}} \&src, const \mbox{\hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box}} \&dst, \mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397a}{Frame\+Buffer}} buffer=\mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa7c2856681602b85c62439a67a247c322}{F\+B\+\_\+\+A\+U\+TO}})=0
\begin{DoxyCompactList}\small\item\em Copies the current contents of the render target to a pixelbox. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_texture_a4296568235d0fd69fc6e4cc4397d4977}{copy\+Contents\+To\+Memory}} (const \mbox{\hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box}} \&dst, \mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397a}{Frame\+Buffer}} buffer=\mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa7c2856681602b85c62439a67a247c322}{F\+B\+\_\+\+A\+U\+TO}})
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_target_a4296568235d0fd69fc6e4cc4397d4977}{copy\+Contents\+To\+Memory}} (const \mbox{\hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box}} \&dst, \mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397a}{Frame\+Buffer}} buffer=\mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa7c2856681602b85c62439a67a247c322}{F\+B\+\_\+\+A\+U\+TO}})
\begin{DoxyCompactList}\small\item\em This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a99c3485be4003c72805a0f09d8a89ad7}{detach\+Depth\+Buffer}} ()
\item 
virtual \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{class_ogre_1_1_render_target_ad68827f3e9f4d48e351dd3fc5bfeb612}{get\+Colour\+Depth}} (void) const
\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_ae59ef74003e304a017962464980e401c}{get\+Context}} () const
\begin{DoxyCompactList}\small\item\em Get the GL context that needs to be active to render to this target. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} \mbox{\hyperlink{class_ogre_1_1_render_target_a7d424cfbab20149fad8a7caf6c2ed07e}{get\+Custom\+Attribute}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em simplified A\+PI for bindings \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a6db9dd68a8e9c9f326b3d1b5833d997d}{get\+Custom\+Attribute}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, void $\ast$p\+Data)
\begin{DoxyCompactList}\small\item\em Retrieve a platform or A\+P\+I-\/specific piece of information. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_render_target_ada9e7f7de05bd24bd9cc7b8c453807d1}{get\+Depth\+Buffer}} () const
\item 
\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} \mbox{\hyperlink{class_ogre_1_1_render_target_af77a2b45550db00c0ca364d762a5ca36}{get\+Depth\+Buffer\+Pool}} () const
\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_frame_buffer_object_common}{G\+L\+Frame\+Buffer\+Object\+Common}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_aae57c635830bbd38905f4da3f4b580e8}{get\+F\+BO}} ()
\item 
virtual \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} \mbox{\hyperlink{class_ogre_1_1_render_target_aa4700a4cfb9e67af07602d9917c92831}{get\+F\+S\+AA}} () const
\begin{DoxyCompactList}\small\item\em Indicates whether multisampling is performed on rendering and at what level. \end{DoxyCompactList}\item 
virtual const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_render_target_af165eacffb56eca46459ae90916279bd}{get\+F\+S\+A\+A\+Hint}} () const
\begin{DoxyCompactList}\small\item\em Gets the F\+S\+AA hint (. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{class_ogre_1_1_render_target_a6dd357cb57f1020fb11de230f7fee61a}{get\+Height}} (void) const
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_ad4e95b76827cb41d936ccb4a8c308c6e}{get\+Metrics}} (unsigned int \&width, unsigned int \&height, unsigned int \&colour\+Depth)
\begin{DoxyCompactList}\small\item\em Retrieve information about the render target. \end{DoxyCompactList}\item 
virtual const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{class_ogre_1_1_render_target_a55f2ad400288900684465152dd0251ea}{get\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em Retrieve target\textquotesingle{}s name. \end{DoxyCompactList}\item 
virtual unsigned short \mbox{\hyperlink{class_ogre_1_1_render_target_ab82d2cf13a93ae6406cee9d2d044aa06}{get\+Num\+Viewports}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the number of viewports attached to this target. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_a07f1f7c1d84d58c9beae02e1ebb945e4}{uchar}} \mbox{\hyperlink{class_ogre_1_1_render_target_a8c07a9eff234ae9ce99360d7b0feb41b}{get\+Priority}} () const
\begin{DoxyCompactList}\small\item\em Gets the priority of a render target. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{struct_ogre_1_1_render_target_1_1_frame_stats}{Frame\+Stats}} \& \mbox{\hyperlink{class_ogre_1_1_render_target_ac3738d38363cf3188e7ad86c92f1af06}{get\+Statistics}} (void) const
\begin{DoxyCompactList}\small\item\em Retieves details of current rendering performance. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_render_target_a79c057e010286b2b6c3a27f296233c5c}{get\+Viewport}} (unsigned short index)
\begin{DoxyCompactList}\small\item\em Retrieves a pointer to the viewport with the given index. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_render_target_a16a4cac507d16eaa1a2d67b1c85c8fc4}{get\+Viewport\+By\+Z\+Order}} (int Z\+Order)
\begin{DoxyCompactList}\small\item\em Retrieves a pointer to the viewport with the given Z-\/order. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{class_ogre_1_1_render_target_abb4fa5e6970515a4d6cb9a16501557b5}{get\+Width}} (void) const
\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_render_target_aac6d17680b0d8a908b46763f6208c7d1}{has\+Viewport\+With\+Z\+Order}} (int Z\+Order)
\begin{DoxyCompactList}\small\item\em Returns true if and only if a viewport exists at the given Z-\/order. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a8263e7bbed9eea3b8452c9e315c41ee3}{insert\+Listener}} (\mbox{\hyperlink{class_ogre_1_1_render_target_listener}{Render\+Target\+Listener}} $\ast$listener, const unsigned int pos=0)
\begin{DoxyCompactList}\small\item\em same as add\+Listener, but force the position in the vector, so we can control the call order \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_render_target_a0ee2aaaebdf52b6c91910396a20d5a18}{is\+Active}} () const
\begin{DoxyCompactList}\small\item\em Used to retrieve or set the active state of the render target. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_render_target_a89650b612c4a7e9be91c45fa2a3d6f0f}{is\+Auto\+Updated}} (void) const
\begin{DoxyCompactList}\small\item\em Gets whether this target is automatically updated if \mbox{\hyperlink{namespace_ogre}{Ogre}}\textquotesingle{}s rendering loop or \mbox{\hyperlink{class_ogre_1_1_root_a24559fa6a4f1772c7518fcb0911278f4}{Root\+::\+\_\+update\+All\+Render\+Targets}} is being used. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_render_target_a95768aeda225df73c3636f228f9f770b}{is\+Hardware\+Gamma\+Enabled}} () const
\begin{DoxyCompactList}\small\item\em Indicates whether on rendering, linear colour space is converted to s\+R\+GB gamma colour space. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_render_target_aa2718c9df91bc7e2cfc67addf06beaae}{is\+Primary}} (void) const
\begin{DoxyCompactList}\small\item\em Indicates whether this target is the primary window. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_render_target_a629ce6c74ec3b4b565ce5b85a98e0482}{is\+Stereo\+Enabled}} (void) const
\begin{DoxyCompactList}\small\item\em Indicates whether stereo is currently enabled for this target. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a6fc748317d2951512cd42d19e3445352}{remove\+All\+Listeners}} (void)
\begin{DoxyCompactList}\small\item\em Removes all listeners from this instance. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a0c00ca9d1ba7f3efc248ae86511fbff9}{remove\+All\+Viewports}} (void)
\begin{DoxyCompactList}\small\item\em Removes all viewports on this target. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a70c43cd6bebbdea84711eb49bb9f1375}{remove\+Listener}} (\mbox{\hyperlink{class_ogre_1_1_render_target_listener}{Render\+Target\+Listener}} $\ast$listener)
\begin{DoxyCompactList}\small\item\em Removes a \mbox{\hyperlink{class_ogre_1_1_render_target_listener}{Render\+Target\+Listener}} previously registered using add\+Listener. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a2b54c04473bf74db5164dae71a6475d3}{remove\+Viewport}} (int Z\+Order)
\begin{DoxyCompactList}\small\item\em Removes a viewport at a given Z-\/order. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_g_l_render_texture_a6853b9166f2a6b2b1b08de09ef80bd7b}{requires\+Texture\+Flipping}} () const
\item 
void \mbox{\hyperlink{class_ogre_1_1_render_target_add4ba5bd15bc4920c19c5e823d5b2c22}{reset\+Statistics}} (void)
\begin{DoxyCompactList}\small\item\em Resets saved frame-\/rate statistices. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a279914cf4611a750e94b6fb54bc1b2d1}{set\+Active}} (bool state)
\begin{DoxyCompactList}\small\item\em Used to set the active state of the render target. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a016ca5b051b36014c566459b20fe6ef6}{set\+Auto\+Updated}} (bool autoupdate)
\begin{DoxyCompactList}\small\item\em Sets whether this target should be automatically updated if \mbox{\hyperlink{namespace_ogre}{Ogre}}\textquotesingle{}s rendering loop or \mbox{\hyperlink{class_ogre_1_1_root_a24559fa6a4f1772c7518fcb0911278f4}{Root\+::\+\_\+update\+All\+Render\+Targets}} is being used. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_target_acfa3a63a95495b198efacf269a90c8e9}{set\+Depth\+Buffer\+Pool}} (\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} pool\+Id)
\begin{DoxyCompactList}\small\item\em Sets the pool ID this \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} should query from. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a24b847657d58db6ab5e14f7972e38a5d}{set\+F\+S\+AA}} (\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} fsaa, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&fsaa\+Hint)
\begin{DoxyCompactList}\small\item\em Set the level of multisample AA to be used if hardware support it. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a03ae803c4754c6008fb5b898fb8090b8}{set\+Priority}} (\mbox{\hyperlink{namespace_ogre_a07f1f7c1d84d58c9beae02e1ebb945e4}{uchar}} priority)
\begin{DoxyCompactList}\small\item\em Sets the priority of this render target in relation to the others. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} \mbox{\hyperlink{class_ogre_1_1_render_texture_ab2133478c53c874dcad98a877393260b}{suggest\+Pixel\+Format}} () const
\begin{DoxyCompactList}\small\item\em Suggests a pixel format to use for extracting the data in this target, when calling copy\+Contents\+To\+Memory. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a13ead4921a87fe6c9172d40fe3262fd5}{swap\+Buffers}} ()
\begin{DoxyCompactList}\small\item\em Override needed to deal with multisample buffers. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_render_target_a5f78714e152067e10b381f9d262bcacb}{update}} (bool \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a13ead4921a87fe6c9172d40fe3262fd5}{swap\+Buffers}}=true)
\begin{DoxyCompactList}\small\item\em Tells the target to update it\textquotesingle{}s contents. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_render_target_afb7ac36166a3e7c38a102edc6e7d2c1d}{write\+Contents\+To\+File}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&filename)
\begin{DoxyCompactList}\small\item\em Writes the current contents of the render target to the named file. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \mbox{\hyperlink{class_ogre_1_1_render_target_a2c3046ce0995cc3058e2919b985e80f6}{write\+Contents\+To\+Timestamped\+File}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&filename\+Prefix, const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&filename\+Suffix)
\begin{DoxyCompactList}\small\item\em Writes the current contents of the render target to the (P\+R\+E\+F\+IX)(time-\/stamp)(S\+U\+F\+F\+IX) file. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \mbox{\hyperlink{class_ogre_1_1_g_l_render_texture_a0c1183426657f0c4bb9cab4d0849e6cd}{Custom\+Attribute\+String\+\_\+\+F\+BO}}
\item 
static const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \mbox{\hyperlink{class_ogre_1_1_g_l_render_texture_a71d9d9ecb01f76de433f3b3b1fd3b8ce}{Custom\+Attribute\+String\+\_\+\+G\+L\+C\+O\+N\+T\+E\+XT}}
\item 
static const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \mbox{\hyperlink{class_ogre_1_1_g_l_render_texture_ac7682594cac556e4830cf1d1f3201726}{Custom\+Attribute\+String\+\_\+\+T\+A\+R\+G\+ET}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{class_ogre_1_1_render_texture}{Render\+Texture}} for GL ES 2 F\+BO. 

\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490}\label{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!StatFlags@{StatFlags}}
\index{StatFlags@{StatFlags}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{StatFlags}{StatFlags}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490}{Ogre\+::\+Render\+Target\+::\+Stat\+Flags}}\hspace{0.3cm}{\ttfamily [inherited]}}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{SF\_NONE@{SF\_NONE}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!SF\_NONE@{SF\_NONE}}}\mbox{\Hypertarget{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a6df94556ae07dfa0384808dca8dedb64}\label{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a6df94556ae07dfa0384808dca8dedb64}} 
S\+F\+\_\+\+N\+O\+NE&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SF\_FPS@{SF\_FPS}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!SF\_FPS@{SF\_FPS}}}\mbox{\Hypertarget{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a1f0cd329c7ff6d5d81b2162c65d04afa}\label{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a1f0cd329c7ff6d5d81b2162c65d04afa}} 
S\+F\+\_\+\+F\+PS&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SF\_AVG\_FPS@{SF\_AVG\_FPS}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!SF\_AVG\_FPS@{SF\_AVG\_FPS}}}\mbox{\Hypertarget{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a5ee29312d754f2244987dc0d1f5894e8}\label{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a5ee29312d754f2244987dc0d1f5894e8}} 
S\+F\+\_\+\+A\+V\+G\+\_\+\+F\+PS&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SF\_BEST\_FPS@{SF\_BEST\_FPS}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!SF\_BEST\_FPS@{SF\_BEST\_FPS}}}\mbox{\Hypertarget{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490ac08101cb24d35c29eb7064886081e386}\label{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490ac08101cb24d35c29eb7064886081e386}} 
S\+F\+\_\+\+B\+E\+S\+T\+\_\+\+F\+PS&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SF\_WORST\_FPS@{SF\_WORST\_FPS}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!SF\_WORST\_FPS@{SF\_WORST\_FPS}}}\mbox{\Hypertarget{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490aba6283bc81ca4e5e6cd2b85497a2cc2f}\label{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490aba6283bc81ca4e5e6cd2b85497a2cc2f}} 
S\+F\+\_\+\+W\+O\+R\+S\+T\+\_\+\+F\+PS&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SF\_TRIANGLE\_COUNT@{SF\_TRIANGLE\_COUNT}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!SF\_TRIANGLE\_COUNT@{SF\_TRIANGLE\_COUNT}}}\mbox{\Hypertarget{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a19ef0adeaa177d49fc4ca4c9b87adec1}\label{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a19ef0adeaa177d49fc4ca4c9b87adec1}} 
S\+F\+\_\+\+T\+R\+I\+A\+N\+G\+L\+E\+\_\+\+C\+O\+U\+NT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{SF\_ALL@{SF\_ALL}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!SF\_ALL@{SF\_ALL}}}\mbox{\Hypertarget{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a18416c60c9b82d928db766bef672ecea}\label{class_ogre_1_1_render_target_a15f59cd1b4a2b2e65fcee349d78ae490a18416c60c9b82d928db766bef672ecea}} 
S\+F\+\_\+\+A\+LL&\\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397a}\label{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397a}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!FrameBuffer@{FrameBuffer}}
\index{FrameBuffer@{FrameBuffer}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{FrameBuffer}{FrameBuffer}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397a}{Ogre\+::\+Render\+Target\+::\+Frame\+Buffer}}\hspace{0.3cm}{\ttfamily [inherited]}}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{FB\_FRONT@{FB\_FRONT}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!FB\_FRONT@{FB\_FRONT}}}\mbox{\Hypertarget{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aaa9d982cf6f703ba525577fdd487ae5e8}\label{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aaa9d982cf6f703ba525577fdd487ae5e8}} 
F\+B\+\_\+\+F\+R\+O\+NT&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{FB\_BACK@{FB\_BACK}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!FB\_BACK@{FB\_BACK}}}\mbox{\Hypertarget{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa632020df02d4d37ee90ff4ff0a5b7b86}\label{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa632020df02d4d37ee90ff4ff0a5b7b86}} 
F\+B\+\_\+\+B\+A\+CK&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{FB\_AUTO@{FB\_AUTO}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!FB\_AUTO@{FB\_AUTO}}}\mbox{\Hypertarget{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa7c2856681602b85c62439a67a247c322}\label{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa7c2856681602b85c62439a67a247c322}} 
F\+B\+\_\+\+A\+U\+TO&\\
\hline

\end{DoxyEnumFields}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a256ce011f2e1eb0c022a6890cd635ca8}\label{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a256ce011f2e1eb0c022a6890cd635ca8}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!GLES2FBORenderTexture@{GLES2FBORenderTexture}}
\index{GLES2FBORenderTexture@{GLES2FBORenderTexture}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{GLES2FBORenderTexture()}{GLES2FBORenderTexture()}}
{\footnotesize\ttfamily Ogre\+::\+G\+L\+E\+S2\+F\+B\+O\+Render\+Texture\+::\+G\+L\+E\+S2\+F\+B\+O\+Render\+Texture (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_manager}{G\+L\+E\+S2\+F\+B\+O\+Manager}} $\ast$}]{manager,  }\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})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a6db9dd68a8e9c9f326b3d1b5833d997d}\label{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a6db9dd68a8e9c9f326b3d1b5833d997d}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getCustomAttribute@{getCustomAttribute}}
\index{getCustomAttribute@{getCustomAttribute}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getCustomAttribute()}{getCustomAttribute()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L\+E\+S2\+F\+B\+O\+Render\+Texture\+::get\+Custom\+Attribute (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{void $\ast$}]{p\+Data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Retrieve a platform or A\+P\+I-\/specific piece of information. 

This method of retrieving information should only be used if you know what you\textquotesingle{}re doing.

\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{2}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Name  }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Description   }\\\cline{1-2}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Name  }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Description   }\\\cline{1-2}
\endhead
W\+I\+N\+D\+OW  &The native window handle. (X11 Window X\+I\+D/ H\+W\+ND / N\+S\+Window$\ast$)   \\\cline{1-2}
H\+W\+ND  &deprecated (same as W\+I\+N\+D\+OW)   \\\cline{1-2}
G\+L\+\_\+\+F\+B\+O\+ID  &the id of the Open\+GL framebuffer object   \\\cline{1-2}
G\+L\+\_\+\+M\+U\+L\+T\+I\+S\+A\+M\+P\+L\+E\+F\+B\+O\+ID  &the id of the Open\+GL framebuffer object used for multisampling   \\\cline{1-2}
G\+L\+F\+BO  &id of the screen Open\+GL framebuffer object on i\+OS   \\\cline{1-2}
G\+L\+C\+O\+N\+T\+E\+XT  &deprecated, do not use   \\\cline{1-2}
F\+BO  &deprecated, do not use   \\\cline{1-2}
T\+A\+R\+G\+ET  &deprecated, do not use   \\\cline{1-2}
X\+D\+I\+S\+P\+L\+AY  &The X Display connection behind that context.   \\\cline{1-2}
D\+I\+S\+P\+L\+A\+Y\+N\+A\+ME  &The X Server name for the connected display.   \\\cline{1-2}
A\+T\+OM  &The X Atom used in client delete events.   \\\cline{1-2}
V\+I\+EW  &Cocoa N\+S\+View$\ast$   \\\cline{1-2}
N\+S\+O\+P\+E\+N\+G\+L\+C\+O\+N\+T\+E\+XT  &Cocoa N\+S\+Open\+G\+L\+Context$\ast$   \\\cline{1-2}
N\+S\+O\+P\+E\+N\+G\+L\+P\+I\+X\+E\+L\+F\+O\+R\+M\+AT  &Cocoa N\+S\+Open\+G\+L\+Pixel\+Format$\ast$   \\\cline{1-2}
\end{longtabu}



\begin{DoxyParams}{Parameters}
{\em name} & The name of the attribute. \\
\hline
{\em p\+Data} & Pointer to memory of the right kind of structure to receive the info. \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_target_a6c32524efacf6da599d5daccf3d9e166}{Ogre\+::\+Render\+Target}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a13ead4921a87fe6c9172d40fe3262fd5}\label{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a13ead4921a87fe6c9172d40fe3262fd5}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!swapBuffers@{swapBuffers}}
\index{swapBuffers@{swapBuffers}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{swapBuffers()}{swapBuffers()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L\+E\+S2\+F\+B\+O\+Render\+Texture\+::swap\+Buffers (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Override needed to deal with multisample buffers. 



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_target_a8038ae2b314d6505746d5bd6831cd813}{Ogre\+::\+Render\+Target}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a482623b1ed080e15766c93c1cf4b193b}\label{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a482623b1ed080e15766c93c1cf4b193b}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!attachDepthBuffer@{attachDepthBuffer}}
\index{attachDepthBuffer@{attachDepthBuffer}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{attachDepthBuffer()}{attachDepthBuffer()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+G\+L\+E\+S2\+F\+B\+O\+Render\+Texture\+::attach\+Depth\+Buffer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} $\ast$}]{depth\+Buffer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Override so we can attach the depth buffer to the F\+BO. 



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_target_abced14a7255d1d56a80b53400e8496f1}{Ogre\+::\+Render\+Target}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a99c3485be4003c72805a0f09d8a89ad7}\label{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a99c3485be4003c72805a0f09d8a89ad7}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!detachDepthBuffer@{detachDepthBuffer}}
\index{detachDepthBuffer@{detachDepthBuffer}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{detachDepthBuffer()}{detachDepthBuffer()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L\+E\+S2\+F\+B\+O\+Render\+Texture\+::detach\+Depth\+Buffer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_target_a3dc6e8daa830a8e01b8740674e9ef5dd}{Ogre\+::\+Render\+Target}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a5e051c49ca6d1abf0f6ebea15c2c9ee7}\label{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a5e051c49ca6d1abf0f6ebea15c2c9ee7}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!\_detachDepthBuffer@{\_detachDepthBuffer}}
\index{\_detachDepthBuffer@{\_detachDepthBuffer}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{\_detachDepthBuffer()}{\_detachDepthBuffer()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L\+E\+S2\+F\+B\+O\+Render\+Texture\+::\+\_\+detach\+Depth\+Buffer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Detaches \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} without notifying it from the detach. 

Useful when called from the \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} while it iterates through attached Render\+Targets (\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group___render_system_ga7af5c611687492846891914dcac303d2}{Depth\+Buffer\+::\+\_\+set\+Pool\+Id()}}) 
\end{DoxySeeAlso}


Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_target_ae68eb2ce228a55811c058de85e369a29}{Ogre\+::\+Render\+Target}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_ae59ef74003e304a017962464980e401c}\label{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_ae59ef74003e304a017962464980e401c}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getContext@{getContext}}
\index{getContext@{getContext}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getContext()}{getContext()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}}$\ast$ Ogre\+::\+G\+L\+E\+S2\+F\+B\+O\+Render\+Texture\+::get\+Context (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get the GL context that needs to be active to render to this target. 



Implements \mbox{\hyperlink{class_ogre_1_1_g_l_render_target_afc98ccbed3a3d1b4b738c07296d6eb4b}{Ogre\+::\+G\+L\+Render\+Target}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_aae57c635830bbd38905f4da3f4b580e8}\label{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_aae57c635830bbd38905f4da3f4b580e8}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getFBO@{getFBO}}
\index{getFBO@{getFBO}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getFBO()}{getFBO()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_g_l_frame_buffer_object_common}{G\+L\+Frame\+Buffer\+Object\+Common}}$\ast$ Ogre\+::\+G\+L\+E\+S2\+F\+B\+O\+Render\+Texture\+::get\+F\+BO (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_g_l_render_target_afa7a57f77f868d3e76b02d2a5a3682a6}{Ogre\+::\+G\+L\+Render\+Target}}.

\mbox{\Hypertarget{class_ogre_1_1_g_l_render_texture_a6853b9166f2a6b2b1b08de09ef80bd7b}\label{class_ogre_1_1_g_l_render_texture_a6853b9166f2a6b2b1b08de09ef80bd7b}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!requiresTextureFlipping@{requiresTextureFlipping}}
\index{requiresTextureFlipping@{requiresTextureFlipping}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{requiresTextureFlipping()}{requiresTextureFlipping()}}
{\footnotesize\ttfamily bool Ogre\+::\+G\+L\+Render\+Texture\+::requires\+Texture\+Flipping (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Implements \mbox{\hyperlink{class_ogre_1_1_render_target_a4796840716ec80f783a01b7e97ced3e7}{Ogre\+::\+Render\+Target}}.

\mbox{\Hypertarget{class_ogre_1_1_render_texture_ab251ab4046e34b249be7d85ed7a358db}\label{class_ogre_1_1_render_texture_ab251ab4046e34b249be7d85ed7a358db}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!copyContentsToMemory@{copyContentsToMemory}}
\index{copyContentsToMemory@{copyContentsToMemory}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{copyContentsToMemory()}{copyContentsToMemory()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Texture\+::copy\+Contents\+To\+Memory (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct_ogre_1_1_box}{Box}} \&}]{src,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box}} \&}]{dst,  }\item[{\mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397a}{Frame\+Buffer}}}]{buffer = {\ttfamily \mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa7c2856681602b85c62439a67a247c322}{F\+B\+\_\+\+A\+U\+TO}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Copies the current contents of the render target to a pixelbox. 

\begin{DoxyRemark}{Remarks}
See suggest\+Pixel\+Format for a tip as to the best pixel format to extract into, although you can use whatever format you like and the results will be converted. 
\end{DoxyRemark}


Implements \mbox{\hyperlink{class_ogre_1_1_render_target_a62f7ce3ddeb263e5561c8521401f4ad6}{Ogre\+::\+Render\+Target}}.

\mbox{\Hypertarget{class_ogre_1_1_render_texture_a62f7ce3ddeb263e5561c8521401f4ad6}\label{class_ogre_1_1_render_texture_a62f7ce3ddeb263e5561c8521401f4ad6}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!copyContentsToMemory@{copyContentsToMemory}}
\index{copyContentsToMemory@{copyContentsToMemory}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{copyContentsToMemory()}{copyContentsToMemory()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::copy\+Contents\+To\+Memory\hspace{0.3cm}{\ttfamily [inherited]}}



Copies the current contents of the render target to a pixelbox. 

\begin{DoxyRemark}{Remarks}
See suggest\+Pixel\+Format for a tip as to the best pixel format to extract into, although you can use whatever format you like and the results will be converted. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_render_texture_a4296568235d0fd69fc6e4cc4397d4977}\label{class_ogre_1_1_render_texture_a4296568235d0fd69fc6e4cc4397d4977}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!copyContentsToMemory@{copyContentsToMemory}}
\index{copyContentsToMemory@{copyContentsToMemory}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{copyContentsToMemory()}{copyContentsToMemory()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Target\+::copy\+Contents\+To\+Memory\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000146}{Deprecated}}]This function is deprecated as behavior for dst.\+size $<$ Render\+Target.\+size was inconsistent in previous versions of \mbox{\hyperlink{namespace_ogre}{Ogre}}.\end{DoxyRefDesc}
Sometimes the whole rect was used as a source, sometimes the rect with the size equal to the size of destination rect but located in the top left corner of the render target, sometimes the destination rect itself. Use the overload with explicitly specified source and destination boxes instead. \mbox{\Hypertarget{class_ogre_1_1_render_target_a4296568235d0fd69fc6e4cc4397d4977}\label{class_ogre_1_1_render_target_a4296568235d0fd69fc6e4cc4397d4977}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!copyContentsToMemory@{copyContentsToMemory}}
\index{copyContentsToMemory@{copyContentsToMemory}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{copyContentsToMemory()}{copyContentsToMemory()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Target\+::copy\+Contents\+To\+Memory (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_pixel_box}{Pixel\+Box}} \&}]{dst,  }\item[{\mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397a}{Frame\+Buffer}}}]{buffer = {\ttfamily \mbox{\hyperlink{class_ogre_1_1_render_target_a4b42772d32712767391c749f4745397aa7c2856681602b85c62439a67a247c322}{F\+B\+\_\+\+A\+U\+TO}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000146}{Deprecated}}]This function is deprecated as behavior for dst.\+size $<$ Render\+Target.\+size was inconsistent in previous versions of \mbox{\hyperlink{namespace_ogre}{Ogre}}.\end{DoxyRefDesc}
Sometimes the whole rect was used as a source, sometimes the rect with the size equal to the size of destination rect but located in the top left corner of the render target, sometimes the destination rect itself. Use the overload with explicitly specified source and destination boxes instead. 

References Ogre\+::\+Render\+Target\+::copy\+Contents\+To\+Memory().



Referenced by Ogre\+::\+Render\+Target\+::copy\+Contents\+To\+Memory().

\mbox{\Hypertarget{class_ogre_1_1_render_texture_ab2133478c53c874dcad98a877393260b}\label{class_ogre_1_1_render_texture_ab2133478c53c874dcad98a877393260b}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!suggestPixelFormat@{suggestPixelFormat}}
\index{suggestPixelFormat@{suggestPixelFormat}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{suggestPixelFormat()}{suggestPixelFormat()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group___image_ga7e0353e7d36d4c2e8468641b7303d39c}{Pixel\+Format}} Ogre\+::\+Render\+Texture\+::suggest\+Pixel\+Format (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Suggests a pixel format to use for extracting the data in this target, when calling copy\+Contents\+To\+Memory. 



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_target_ac6ac0687ccc17393de7b694b793a817c}{Ogre\+::\+Render\+Target}}.

\mbox{\Hypertarget{class_ogre_1_1_render_target_a55f2ad400288900684465152dd0251ea}\label{class_ogre_1_1_render_target_a55f2ad400288900684465152dd0251ea}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getName@{getName}}
\index{getName@{getName}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getName()}{getName()}}
{\footnotesize\ttfamily virtual const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Render\+Target\+::get\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Retrieve target\textquotesingle{}s name. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_ad4e95b76827cb41d936ccb4a8c308c6e}\label{class_ogre_1_1_render_target_ad4e95b76827cb41d936ccb4a8c308c6e}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getMetrics@{getMetrics}}
\index{getMetrics@{getMetrics}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getMetrics()}{getMetrics()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::get\+Metrics (\begin{DoxyParamCaption}\item[{unsigned int \&}]{width,  }\item[{unsigned int \&}]{height,  }\item[{unsigned int \&}]{colour\+Depth }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Retrieve information about the render target. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_abb4fa5e6970515a4d6cb9a16501557b5}\label{class_ogre_1_1_render_target_abb4fa5e6970515a4d6cb9a16501557b5}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getWidth@{getWidth}}
\index{getWidth@{getWidth}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getWidth()}{getWidth()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} Ogre\+::\+Render\+Target\+::get\+Width (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_render_target_a6dd357cb57f1020fb11de230f7fee61a}\label{class_ogre_1_1_render_target_a6dd357cb57f1020fb11de230f7fee61a}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getHeight@{getHeight}}
\index{getHeight@{getHeight}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getHeight()}{getHeight()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} Ogre\+::\+Render\+Target\+::get\+Height (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_render_target_ad68827f3e9f4d48e351dd3fc5bfeb612}\label{class_ogre_1_1_render_target_ad68827f3e9f4d48e351dd3fc5bfeb612}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getColourDepth@{getColourDepth}}
\index{getColourDepth@{getColourDepth}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getColourDepth()}{getColourDepth()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} Ogre\+::\+Render\+Target\+::get\+Colour\+Depth (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_render_target_acfa3a63a95495b198efacf269a90c8e9}\label{class_ogre_1_1_render_target_acfa3a63a95495b198efacf269a90c8e9}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!setDepthBufferPool@{setDepthBufferPool}}
\index{setDepthBufferPool@{setDepthBufferPool}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{setDepthBufferPool()}{setDepthBufferPool()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Target\+::set\+Depth\+Buffer\+Pool (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}}]{pool\+Id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Sets the pool ID this \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} should query from. 

Default value is P\+O\+O\+L\+\_\+\+D\+E\+F\+A\+U\+LT. Set to P\+O\+O\+L\+\_\+\+N\+O\+\_\+\+D\+E\+P\+TH to avoid using a \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} (or manually controlling it) \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} 
\end{DoxySeeAlso}
\begin{DoxyRemark}{Remarks}
Changing the pool \mbox{\hyperlink{class_ogre_1_1_id}{Id}} will cause the current depth buffer to be detached unless the old id and the new one are the same 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_render_target_af77a2b45550db00c0ca364d762a5ca36}\label{class_ogre_1_1_render_target_af77a2b45550db00c0ca364d762a5ca36}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getDepthBufferPool@{getDepthBufferPool}}
\index{getDepthBufferPool@{getDepthBufferPool}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getDepthBufferPool()}{getDepthBufferPool()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} Ogre\+::\+Render\+Target\+::get\+Depth\+Buffer\+Pool (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_render_target_ada9e7f7de05bd24bd9cc7b8c453807d1}\label{class_ogre_1_1_render_target_ada9e7f7de05bd24bd9cc7b8c453807d1}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getDepthBuffer@{getDepthBuffer}}
\index{getDepthBuffer@{getDepthBuffer}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getDepthBuffer()}{getDepthBuffer()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}}$\ast$ Ogre\+::\+Render\+Target\+::get\+Depth\+Buffer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_render_target_a5f78714e152067e10b381f9d262bcacb}\label{class_ogre_1_1_render_target_a5f78714e152067e10b381f9d262bcacb}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!update@{update}}
\index{update@{update}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{update()}{update()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::update (\begin{DoxyParamCaption}\item[{bool}]{swap\+Buffers = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Tells the target to update it\textquotesingle{}s contents. 

\begin{DoxyRemark}{Remarks}
If O\+G\+RE is not running in an automatic rendering loop (started using \mbox{\hyperlink{class_ogre_1_1_root_a8eda253befda1255cbfd3b298f62449e}{Root\+::start\+Rendering}}), the user of the library is responsible for asking each render target to refresh. This is the method used to do this. It automatically re-\/renders the contents of the target using whatever cameras have been pointed at it (using Camera\+::set\+Render\+Target). 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
This allows O\+G\+RE to be used in multi-\/windowed utilities and for contents to be refreshed only when required, rather than constantly as with the automatic rendering loop. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em swap\+Buffers} & For targets that support double-\/buffering, if set to true, the target will immediately swap it\textquotesingle{}s buffers after update. Otherwise, the buffers are not swapped, and you have to call swap\+Buffers yourself sometime later. You might want to do this on some rendersystems which pause for queued rendering commands to complete before accepting swap buffers calls -\/ so you could do other C\+PU tasks whilst the queued commands complete. Or, you might do this if you want custom control over your windows, such as for externally created windows. \\
\hline
\end{DoxyParams}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_d3_d9_multi_render_target_a880323fcaf9c9a89ff09998815d35aba}{Ogre\+::\+D3\+D9\+Multi\+Render\+Target}}, and \mbox{\hyperlink{class_ogre_1_1_d3_d9_render_texture_a32cf8d57216718b77712692526a3949a}{Ogre\+::\+D3\+D9\+Render\+Texture}}.

\mbox{\Hypertarget{class_ogre_1_1_render_target_a1a558e64db9dfd7cc4cec4547fca0e39}\label{class_ogre_1_1_render_target_a1a558e64db9dfd7cc4cec4547fca0e39}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!addViewport@{addViewport}}
\index{addViewport@{addViewport}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{addViewport()}{addViewport()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}}$\ast$ Ogre\+::\+Render\+Target\+::add\+Viewport (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_camera}{Camera}} $\ast$}]{cam,  }\item[{int}]{Z\+Order = {\ttfamily 0},  }\item[{float}]{left = {\ttfamily 0.0f},  }\item[{float}]{top = {\ttfamily 0.0f},  }\item[{float}]{width = {\ttfamily 1.0f},  }\item[{float}]{height = {\ttfamily 1.0f} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Adds a viewport to the rendering target. 

\begin{DoxyRemark}{Remarks}
A viewport is the rectangle into which rendering output is sent. This method adds a viewport to the render target, rendering from the supplied camera. The rest of the parameters are only required if you wish to add more than one viewport to a single rendering target. Note that size information passed to this method is passed as a parametric, i.\+e. it is relative rather than absolute. This is to allow viewports to automatically resize along with the target. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em cam} & The camera from which the viewport contents will be rendered (mandatory) \\
\hline
{\em Z\+Order} & The relative order of the viewport with others on the target (allows overlapping viewports i.\+e. picture-\/in-\/picture). Higher Z-\/orders are on top of lower ones. The actual number is irrelevant, only the relative Z-\/order matters (you can leave gaps in the numbering) \\
\hline
{\em left} & The relative position of the left of the viewport on the target, as a value between 0 and 1. \\
\hline
{\em top} & The relative position of the top of the viewport on the target, as a value between 0 and 1. \\
\hline
{\em width} & The relative width of the viewport on the target, as a value between 0 and 1. \\
\hline
{\em height} & The relative height of the viewport on the target, as a value between 0 and 1. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_render_target_ab82d2cf13a93ae6406cee9d2d044aa06}\label{class_ogre_1_1_render_target_ab82d2cf13a93ae6406cee9d2d044aa06}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getNumViewports@{getNumViewports}}
\index{getNumViewports@{getNumViewports}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getNumViewports()}{getNumViewports()}}
{\footnotesize\ttfamily virtual unsigned short Ogre\+::\+Render\+Target\+::get\+Num\+Viewports (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns the number of viewports attached to this target. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_a79c057e010286b2b6c3a27f296233c5c}\label{class_ogre_1_1_render_target_a79c057e010286b2b6c3a27f296233c5c}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getViewport@{getViewport}}
\index{getViewport@{getViewport}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getViewport()}{getViewport()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}}$\ast$ Ogre\+::\+Render\+Target\+::get\+Viewport (\begin{DoxyParamCaption}\item[{unsigned short}]{index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Retrieves a pointer to the viewport with the given index. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_a16a4cac507d16eaa1a2d67b1c85c8fc4}\label{class_ogre_1_1_render_target_a16a4cac507d16eaa1a2d67b1c85c8fc4}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getViewportByZOrder@{getViewportByZOrder}}
\index{getViewportByZOrder@{getViewportByZOrder}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getViewportByZOrder()}{getViewportByZOrder()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}}$\ast$ Ogre\+::\+Render\+Target\+::get\+Viewport\+By\+Z\+Order (\begin{DoxyParamCaption}\item[{int}]{Z\+Order }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Retrieves a pointer to the viewport with the given Z-\/order. 

\begin{DoxyRemark}{Remarks}
throws if not found. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_render_target_aac6d17680b0d8a908b46763f6208c7d1}\label{class_ogre_1_1_render_target_aac6d17680b0d8a908b46763f6208c7d1}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!hasViewportWithZOrder@{hasViewportWithZOrder}}
\index{hasViewportWithZOrder@{hasViewportWithZOrder}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{hasViewportWithZOrder()}{hasViewportWithZOrder()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Render\+Target\+::has\+Viewport\+With\+Z\+Order (\begin{DoxyParamCaption}\item[{int}]{Z\+Order }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Returns true if and only if a viewport exists at the given Z-\/order. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_a2b54c04473bf74db5164dae71a6475d3}\label{class_ogre_1_1_render_target_a2b54c04473bf74db5164dae71a6475d3}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!removeViewport@{removeViewport}}
\index{removeViewport@{removeViewport}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{removeViewport()}{removeViewport()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::remove\+Viewport (\begin{DoxyParamCaption}\item[{int}]{Z\+Order }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Removes a viewport at a given Z-\/order. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_a0c00ca9d1ba7f3efc248ae86511fbff9}\label{class_ogre_1_1_render_target_a0c00ca9d1ba7f3efc248ae86511fbff9}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!removeAllViewports@{removeAllViewports}}
\index{removeAllViewports@{removeAllViewports}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{removeAllViewports()}{removeAllViewports()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::remove\+All\+Viewports (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Removes all viewports on this target. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_ac3738d38363cf3188e7ad86c92f1af06}\label{class_ogre_1_1_render_target_ac3738d38363cf3188e7ad86c92f1af06}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getStatistics@{getStatistics}}
\index{getStatistics@{getStatistics}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getStatistics()}{getStatistics()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{struct_ogre_1_1_render_target_1_1_frame_stats}{Frame\+Stats}}\& Ogre\+::\+Render\+Target\+::get\+Statistics (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Retieves details of current rendering performance. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_add4ba5bd15bc4920c19c5e823d5b2c22}\label{class_ogre_1_1_render_target_add4ba5bd15bc4920c19c5e823d5b2c22}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!resetStatistics@{resetStatistics}}
\index{resetStatistics@{resetStatistics}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{resetStatistics()}{resetStatistics()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Target\+::reset\+Statistics (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Resets saved frame-\/rate statistices. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_a7d424cfbab20149fad8a7caf6c2ed07e}\label{class_ogre_1_1_render_target_a7d424cfbab20149fad8a7caf6c2ed07e}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getCustomAttribute@{getCustomAttribute}}
\index{getCustomAttribute@{getCustomAttribute}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getCustomAttribute()}{getCustomAttribute()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} Ogre\+::\+Render\+Target\+::get\+Custom\+Attribute (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



simplified A\+PI for bindings 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \mbox{\Hypertarget{class_ogre_1_1_render_target_a1799514a8ad7958919ca48c654a47e8e}\label{class_ogre_1_1_render_target_a1799514a8ad7958919ca48c654a47e8e}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!addListener@{addListener}}
\index{addListener@{addListener}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{addListener()}{addListener()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::add\+Listener (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_target_listener}{Render\+Target\+Listener}} $\ast$}]{listener }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Add a listener to this \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} which will be called back before \& after rendering. 

\begin{DoxyRemark}{Remarks}
If you want notifications before and after a target is updated by the system, use this method to register your own custom \mbox{\hyperlink{class_ogre_1_1_render_target_listener}{Render\+Target\+Listener}} class. This is useful for potentially adding your own manual rendering commands before and after the \textquotesingle{}normal\textquotesingle{} system rendering. 
\end{DoxyRemark}
\begin{DoxyParagraph}{NB this should not be used for frame-\/based scene updates, use Root\+::add\+Frame\+Listener for that.}

\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_render_target_a8263e7bbed9eea3b8452c9e315c41ee3}\label{class_ogre_1_1_render_target_a8263e7bbed9eea3b8452c9e315c41ee3}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!insertListener@{insertListener}}
\index{insertListener@{insertListener}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{insertListener()}{insertListener()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::insert\+Listener (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_target_listener}{Render\+Target\+Listener}} $\ast$}]{listener,  }\item[{const unsigned int}]{pos = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



same as add\+Listener, but force the position in the vector, so we can control the call order 

\mbox{\Hypertarget{class_ogre_1_1_render_target_a70c43cd6bebbdea84711eb49bb9f1375}\label{class_ogre_1_1_render_target_a70c43cd6bebbdea84711eb49bb9f1375}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!removeListener@{removeListener}}
\index{removeListener@{removeListener}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{removeListener()}{removeListener()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::remove\+Listener (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_target_listener}{Render\+Target\+Listener}} $\ast$}]{listener }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Removes a \mbox{\hyperlink{class_ogre_1_1_render_target_listener}{Render\+Target\+Listener}} previously registered using add\+Listener. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_a6fc748317d2951512cd42d19e3445352}\label{class_ogre_1_1_render_target_a6fc748317d2951512cd42d19e3445352}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!removeAllListeners@{removeAllListeners}}
\index{removeAllListeners@{removeAllListeners}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{removeAllListeners()}{removeAllListeners()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::remove\+All\+Listeners (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Removes all listeners from this instance. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_a03ae803c4754c6008fb5b898fb8090b8}\label{class_ogre_1_1_render_target_a03ae803c4754c6008fb5b898fb8090b8}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!setPriority@{setPriority}}
\index{setPriority@{setPriority}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{setPriority()}{setPriority()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::set\+Priority (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a07f1f7c1d84d58c9beae02e1ebb945e4}{uchar}}}]{priority }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Sets the priority of this render target in relation to the others. 

\begin{DoxyRemark}{Remarks}
This can be used in order to schedule render target updates. Lower priorities will be rendered first. Note that the priority must be set at the time the render target is attached to the render system, changes afterwards will not affect the ordering. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_render_target_a8c07a9eff234ae9ce99360d7b0feb41b}\label{class_ogre_1_1_render_target_a8c07a9eff234ae9ce99360d7b0feb41b}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getPriority@{getPriority}}
\index{getPriority@{getPriority}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getPriority()}{getPriority()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_a07f1f7c1d84d58c9beae02e1ebb945e4}{uchar}} Ogre\+::\+Render\+Target\+::get\+Priority (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets the priority of a render target. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_a0ee2aaaebdf52b6c91910396a20d5a18}\label{class_ogre_1_1_render_target_a0ee2aaaebdf52b6c91910396a20d5a18}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!isActive@{isActive}}
\index{isActive@{isActive}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{isActive()}{isActive()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Render\+Target\+::is\+Active (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Used to retrieve or set the active state of the render target. 



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_render_window_ad8558b8eb75dfa61abfcd1b8d8f0ee31}{Ogre\+::\+Render\+Window}}, and \mbox{\hyperlink{class_ogre_1_1_d3_d9_render_window_a025284ecc79c03ff79d84bb5f89d7100}{Ogre\+::\+D3\+D9\+Render\+Window}}.

\mbox{\Hypertarget{class_ogre_1_1_render_target_a279914cf4611a750e94b6fb54bc1b2d1}\label{class_ogre_1_1_render_target_a279914cf4611a750e94b6fb54bc1b2d1}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!setActive@{setActive}}
\index{setActive@{setActive}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{setActive()}{setActive()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::set\+Active (\begin{DoxyParamCaption}\item[{bool}]{state }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Used to set the active state of the render target. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_a016ca5b051b36014c566459b20fe6ef6}\label{class_ogre_1_1_render_target_a016ca5b051b36014c566459b20fe6ef6}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!setAutoUpdated@{setAutoUpdated}}
\index{setAutoUpdated@{setAutoUpdated}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{setAutoUpdated()}{setAutoUpdated()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::set\+Auto\+Updated (\begin{DoxyParamCaption}\item[{bool}]{autoupdate }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Sets whether this target should be automatically updated if \mbox{\hyperlink{namespace_ogre}{Ogre}}\textquotesingle{}s rendering loop or \mbox{\hyperlink{class_ogre_1_1_root_a24559fa6a4f1772c7518fcb0911278f4}{Root\+::\+\_\+update\+All\+Render\+Targets}} is being used. 

\begin{DoxyRemark}{Remarks}
By default, if you use \mbox{\hyperlink{namespace_ogre}{Ogre}}\textquotesingle{}s own rendering loop (\mbox{\hyperlink{class_ogre_1_1_root_a8eda253befda1255cbfd3b298f62449e}{Root\+::start\+Rendering}}) or call \mbox{\hyperlink{class_ogre_1_1_root_a24559fa6a4f1772c7518fcb0911278f4}{Root\+::\+\_\+update\+All\+Render\+Targets}}, all render targets are updated automatically. This method allows you to control that behaviour, if for example you have a render target which you only want to update periodically. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em autoupdate} & If true, the render target is updated during the automatic render loop or when \mbox{\hyperlink{class_ogre_1_1_root_a24559fa6a4f1772c7518fcb0911278f4}{Root\+::\+\_\+update\+All\+Render\+Targets}} is called. If false, the target is only updated when its \mbox{\hyperlink{class_ogre_1_1_render_target_a5f78714e152067e10b381f9d262bcacb}{update()}} method is called explicitly. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_render_target_a89650b612c4a7e9be91c45fa2a3d6f0f}\label{class_ogre_1_1_render_target_a89650b612c4a7e9be91c45fa2a3d6f0f}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!isAutoUpdated@{isAutoUpdated}}
\index{isAutoUpdated@{isAutoUpdated}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{isAutoUpdated()}{isAutoUpdated()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Render\+Target\+::is\+Auto\+Updated (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets whether this target is automatically updated if \mbox{\hyperlink{namespace_ogre}{Ogre}}\textquotesingle{}s rendering loop or \mbox{\hyperlink{class_ogre_1_1_root_a24559fa6a4f1772c7518fcb0911278f4}{Root\+::\+\_\+update\+All\+Render\+Targets}} is being used. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_afb7ac36166a3e7c38a102edc6e7d2c1d}\label{class_ogre_1_1_render_target_afb7ac36166a3e7c38a102edc6e7d2c1d}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!writeContentsToFile@{writeContentsToFile}}
\index{writeContentsToFile@{writeContentsToFile}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{writeContentsToFile()}{writeContentsToFile()}}
{\footnotesize\ttfamily void Ogre\+::\+Render\+Target\+::write\+Contents\+To\+File (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{filename }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Writes the current contents of the render target to the named file. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_a2c3046ce0995cc3058e2919b985e80f6}\label{class_ogre_1_1_render_target_a2c3046ce0995cc3058e2919b985e80f6}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!writeContentsToTimestampedFile@{writeContentsToTimestampedFile}}
\index{writeContentsToTimestampedFile@{writeContentsToTimestampedFile}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{writeContentsToTimestampedFile()}{writeContentsToTimestampedFile()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} Ogre\+::\+Render\+Target\+::write\+Contents\+To\+Timestamped\+File (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{filename\+Prefix,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{filename\+Suffix }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Writes the current contents of the render target to the (P\+R\+E\+F\+IX)(time-\/stamp)(S\+U\+F\+F\+IX) file. 

\begin{DoxyReturn}{Returns}
the name of the file used. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_render_target_a9643c656e6220cb96e7db14238788db7}\label{class_ogre_1_1_render_target_a9643c656e6220cb96e7db14238788db7}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!\_notifyCameraRemoved@{\_notifyCameraRemoved}}
\index{\_notifyCameraRemoved@{\_notifyCameraRemoved}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{\_notifyCameraRemoved()}{\_notifyCameraRemoved()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::\+\_\+notify\+Camera\+Removed (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_camera}{Camera}} $\ast$}]{cam }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Utility method to notify a render target that a camera has been removed, incase it was referring to it as a viewer. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_aa2718c9df91bc7e2cfc67addf06beaae}\label{class_ogre_1_1_render_target_aa2718c9df91bc7e2cfc67addf06beaae}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!isPrimary@{isPrimary}}
\index{isPrimary@{isPrimary}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{isPrimary()}{isPrimary()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Render\+Target\+::is\+Primary (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Indicates whether this target is the primary window. 

The primary window is special in that it is destroyed when ogre is shut down, and cannot be destroyed directly. This is the case because it holds the context for vertex, index buffers and textures. 

Reimplemented in \mbox{\hyperlink{class_ogre_1_1_render_window_a0411214c1513cf32e55edc5be3008ec0}{Ogre\+::\+Render\+Window}}.

\mbox{\Hypertarget{class_ogre_1_1_render_target_a629ce6c74ec3b4b565ce5b85a98e0482}\label{class_ogre_1_1_render_target_a629ce6c74ec3b4b565ce5b85a98e0482}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!isStereoEnabled@{isStereoEnabled}}
\index{isStereoEnabled@{isStereoEnabled}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{isStereoEnabled()}{isStereoEnabled()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Render\+Target\+::is\+Stereo\+Enabled (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Indicates whether stereo is currently enabled for this target. 

Default is false. \mbox{\Hypertarget{class_ogre_1_1_render_target_a95768aeda225df73c3636f228f9f770b}\label{class_ogre_1_1_render_target_a95768aeda225df73c3636f228f9f770b}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!isHardwareGammaEnabled@{isHardwareGammaEnabled}}
\index{isHardwareGammaEnabled@{isHardwareGammaEnabled}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{isHardwareGammaEnabled()}{isHardwareGammaEnabled()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Render\+Target\+::is\+Hardware\+Gamma\+Enabled (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Indicates whether on rendering, linear colour space is converted to s\+R\+GB gamma colour space. 

This is the exact opposite conversion of what is indicated by \mbox{\hyperlink{class_ogre_1_1_texture_a622c64d1862fb3accb017989cd1f1481}{Texture\+::is\+Hardware\+Gamma\+Enabled}}, and can only be enabled on creation of the render target. For render windows, it\textquotesingle{}s enabled through the \textquotesingle{}gamma\textquotesingle{} creation misc parameter. For textures, it is enabled through the hw\+Gamma parameter to the create call. \mbox{\Hypertarget{class_ogre_1_1_render_target_aa4700a4cfb9e67af07602d9917c92831}\label{class_ogre_1_1_render_target_aa4700a4cfb9e67af07602d9917c92831}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getFSAA@{getFSAA}}
\index{getFSAA@{getFSAA}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getFSAA()}{getFSAA()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}} Ogre\+::\+Render\+Target\+::get\+F\+S\+AA (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Indicates whether multisampling is performed on rendering and at what level. 

\mbox{\Hypertarget{class_ogre_1_1_render_target_af165eacffb56eca46459ae90916279bd}\label{class_ogre_1_1_render_target_af165eacffb56eca46459ae90916279bd}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!getFSAAHint@{getFSAAHint}}
\index{getFSAAHint@{getFSAAHint}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{getFSAAHint()}{getFSAAHint()}}
{\footnotesize\ttfamily virtual const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+Render\+Target\+::get\+F\+S\+A\+A\+Hint (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets the F\+S\+AA hint (. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_root_a537b7d1d0937f799cfe4936f6b672620}{Root\+::create\+Render\+Window}}) 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_render_target_a24b847657d58db6ab5e14f7972e38a5d}\label{class_ogre_1_1_render_target_a24b847657d58db6ab5e14f7972e38a5d}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!setFSAA@{setFSAA}}
\index{setFSAA@{setFSAA}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{setFSAA()}{setFSAA()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::set\+F\+S\+AA (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_ab6e842a18caf062ed73a5d3badd0dd4c}{uint}}}]{fsaa,  }\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{fsaa\+Hint }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Set the level of multisample AA to be used if hardware support it. 

This option will be ignored if the hardware does not support it or setting can not be changed on the fly on per-\/target level. 
\begin{DoxyParams}{Parameters}
{\em fsaa} & The number of samples \\
\hline
{\em fsaa\+Hint} & \mbox{\hyperlink{class_ogre_1_1_any}{Any}} hinting text (\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_root_a537b7d1d0937f799cfe4936f6b672620}{Root\+::create\+Render\+Window}}) 
\end{DoxySeeAlso}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_d3_d11_render_window_swap_chain_based_a347e2b99c803f5ab342ef9e62e76b268}{Ogre\+::\+D3\+D11\+Render\+Window\+Swap\+Chain\+Based}}, and \mbox{\hyperlink{class_ogre_1_1_d3_d11_render_window_base_a1227153f05335a568442005575606d52}{Ogre\+::\+D3\+D11\+Render\+Window\+Base}}.

\mbox{\Hypertarget{class_ogre_1_1_render_target_adc79bb20073490723d8705828a809068}\label{class_ogre_1_1_render_target_adc79bb20073490723d8705828a809068}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!\_getImpl@{\_getImpl}}
\index{\_getImpl@{\_getImpl}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{\_getImpl()}{\_getImpl()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_render_target_1_1_impl}{Impl}}$\ast$ Ogre\+::\+Render\+Target\+::\+\_\+get\+Impl (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Get rendersystem specific interface for this \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}}. 

This is used by the \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}} to (un)bind this target, and to get specific information like surfaces and framebuffer objects. \mbox{\Hypertarget{class_ogre_1_1_render_target_ad0b724596d2b9e278293aee6e55a5273}\label{class_ogre_1_1_render_target_ad0b724596d2b9e278293aee6e55a5273}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!\_beginUpdate@{\_beginUpdate}}
\index{\_beginUpdate@{\_beginUpdate}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{\_beginUpdate()}{\_beginUpdate()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::\+\_\+begin\+Update (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Method for manual management of rendering \+: fires \textquotesingle{}pre\+Render\+Target\+Update\textquotesingle{} and initialises statistics etc. 

\begin{DoxyRemark}{Remarks}

\begin{DoxyItemize}
\item \+\_\+begin\+Update resets statistics and fires \textquotesingle{}pre\+Render\+Target\+Update\textquotesingle{}. 
\item \+\_\+update\+Viewport renders the given viewport (even if it is not autoupdated), fires pre\+Viewport\+Update and post\+Viewport\+Update and manages statistics. 
\item \+\_\+update\+Auto\+Updated\+Viewports renders only viewports that are auto updated, fires pre\+Viewport\+Update and post\+Viewport\+Update and manages statistics. 
\item \mbox{\hyperlink{class_ogre_1_1_render_target_a53b173c70995ba39d72c01f5d086ca73}{\+\_\+end\+Update()}} ends statistics calculation and fires post\+Render\+Target\+Update. 
\end{DoxyItemize}you can use it like this for example \+: 
\begin{DoxyPre}
    renderTarget-\/>\mbox{\hyperlink{class_ogre_1_1_render_target_ad0b724596d2b9e278293aee6e55a5273}{\_beginUpdate()}};
    renderTarget-\/>\_updateViewport(1); // which is not auto updated
    renderTarget-\/>\_updateViewport(2); // which is not auto updated
    renderTarget-\/>\mbox{\hyperlink{class_ogre_1_1_render_target_acdafe2d19bde39f4d03d1d7f5033955d}{\_updateAutoUpdatedViewports()}};
    renderTarget-\/>\mbox{\hyperlink{class_ogre_1_1_render_target_a53b173c70995ba39d72c01f5d086ca73}{\_endUpdate()}};
    renderTarget-\/>\mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_f_b_o_render_texture_a13ead4921a87fe6c9172d40fe3262fd5}{swapBuffers()}};
\end{DoxyPre}
 Please note that in that case, the zorder may not work as you expect, since you are responsible for calling \+\_\+update\+Viewport in the correct order. 
\end{DoxyRemark}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_d3_d9_render_window_af521d63507841599d1b7d317ad27d316}{Ogre\+::\+D3\+D9\+Render\+Window}}.

\mbox{\Hypertarget{class_ogre_1_1_render_target_aa1d133ce3ec8e17b4b4df3890d4b8f3f}\label{class_ogre_1_1_render_target_aa1d133ce3ec8e17b4b4df3890d4b8f3f}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!\_updateViewport@{\_updateViewport}}
\index{\_updateViewport@{\_updateViewport}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{\_updateViewport()}{\_updateViewport()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::\+\_\+update\+Viewport (\begin{DoxyParamCaption}\item[{int}]{zorder,  }\item[{bool}]{update\+Statistics = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Method for manual management of rendering -\/ renders the given viewport (even if it is not autoupdated) 

\begin{DoxyRemark}{Remarks}
This also fires pre\+Viewport\+Update and post\+Viewport\+Update, and manages statistics. You should call it between \mbox{\hyperlink{class_ogre_1_1_render_target_ad0b724596d2b9e278293aee6e55a5273}{\+\_\+begin\+Update()}} and \mbox{\hyperlink{class_ogre_1_1_render_target_a53b173c70995ba39d72c01f5d086ca73}{\+\_\+end\+Update()}}. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_render_target_ad0b724596d2b9e278293aee6e55a5273}{\+\_\+begin\+Update}} for more details. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em zorder} & The zorder of the viewport to update. \\
\hline
{\em update\+Statistics} & Whether you want to update statistics or not. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_render_target_af98598627ee70b9b22ce7e095fb04b3c}\label{class_ogre_1_1_render_target_af98598627ee70b9b22ce7e095fb04b3c}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!\_updateViewport@{\_updateViewport}}
\index{\_updateViewport@{\_updateViewport}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{\_updateViewport()}{\_updateViewport()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::\+\_\+update\+Viewport (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}} $\ast$}]{viewport,  }\item[{bool}]{update\+Statistics = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Method for manual management of rendering -\/ renders the given viewport (even if it is not autoupdated) 

\begin{DoxyRemark}{Remarks}
This also fires pre\+Viewport\+Update and post\+Viewport\+Update, and manages statistics if needed. You should call it between \mbox{\hyperlink{class_ogre_1_1_render_target_ad0b724596d2b9e278293aee6e55a5273}{\+\_\+begin\+Update()}} and \mbox{\hyperlink{class_ogre_1_1_render_target_a53b173c70995ba39d72c01f5d086ca73}{\+\_\+end\+Update()}}. 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_render_target_ad0b724596d2b9e278293aee6e55a5273}{\+\_\+begin\+Update}} for more details. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em viewport} & The viewport you want to update, it must be bound to the rendertarget. \\
\hline
{\em update\+Statistics} & Whether you want to update statistics or not. \\
\hline
\end{DoxyParams}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_d3_d9_render_window_aec813fed07445330996345cced9c4e64}{Ogre\+::\+D3\+D9\+Render\+Window}}.

\mbox{\Hypertarget{class_ogre_1_1_render_target_acdafe2d19bde39f4d03d1d7f5033955d}\label{class_ogre_1_1_render_target_acdafe2d19bde39f4d03d1d7f5033955d}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!\_updateAutoUpdatedViewports@{\_updateAutoUpdatedViewports}}
\index{\_updateAutoUpdatedViewports@{\_updateAutoUpdatedViewports}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{\_updateAutoUpdatedViewports()}{\_updateAutoUpdatedViewports()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::\+\_\+update\+Auto\+Updated\+Viewports (\begin{DoxyParamCaption}\item[{bool}]{update\+Statistics = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Method for manual management of rendering -\/ renders only viewports that are auto updated. 

\begin{DoxyRemark}{Remarks}
This also fires pre\+Viewport\+Update and post\+Viewport\+Update, and manages statistics. You should call it between \mbox{\hyperlink{class_ogre_1_1_render_target_ad0b724596d2b9e278293aee6e55a5273}{\+\_\+begin\+Update()}} and \mbox{\hyperlink{class_ogre_1_1_render_target_a53b173c70995ba39d72c01f5d086ca73}{\+\_\+end\+Update()}}. See \+\_\+begin\+Update for more details. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em update\+Statistics} & Whether you want to update statistics or not. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_render_target_ad0b724596d2b9e278293aee6e55a5273}{\+\_\+begin\+Update()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_ogre_1_1_render_target_a53b173c70995ba39d72c01f5d086ca73}\label{class_ogre_1_1_render_target_a53b173c70995ba39d72c01f5d086ca73}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!\_endUpdate@{\_endUpdate}}
\index{\_endUpdate@{\_endUpdate}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{\_endUpdate()}{\_endUpdate()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Render\+Target\+::\+\_\+end\+Update (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Method for manual management of rendering -\/ finishes statistics calculation and fires \textquotesingle{}post\+Render\+Target\+Update\textquotesingle{}. 

\begin{DoxyRemark}{Remarks}
You should call it after a \+\_\+begin\+Update 
\end{DoxyRemark}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_render_target_ad0b724596d2b9e278293aee6e55a5273}{\+\_\+begin\+Update}} for more details. 
\end{DoxySeeAlso}


Reimplemented in \mbox{\hyperlink{class_ogre_1_1_d3_d9_render_window_ad0a864bfe76d0c20efb0e67036bc8f90}{Ogre\+::\+D3\+D9\+Render\+Window}}.



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_g_l_render_texture_a0c1183426657f0c4bb9cab4d0849e6cd}\label{class_ogre_1_1_g_l_render_texture_a0c1183426657f0c4bb9cab4d0849e6cd}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!CustomAttributeString\_FBO@{CustomAttributeString\_FBO}}
\index{CustomAttributeString\_FBO@{CustomAttributeString\_FBO}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{CustomAttributeString\_FBO}{CustomAttributeString\_FBO}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} Ogre\+::\+G\+L\+Render\+Texture\+::\+Custom\+Attribute\+String\+\_\+\+F\+BO\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_render_texture_ac7682594cac556e4830cf1d1f3201726}\label{class_ogre_1_1_g_l_render_texture_ac7682594cac556e4830cf1d1f3201726}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!CustomAttributeString\_TARGET@{CustomAttributeString\_TARGET}}
\index{CustomAttributeString\_TARGET@{CustomAttributeString\_TARGET}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{CustomAttributeString\_TARGET}{CustomAttributeString\_TARGET}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} Ogre\+::\+G\+L\+Render\+Texture\+::\+Custom\+Attribute\+String\+\_\+\+T\+A\+R\+G\+ET\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_g_l_render_texture_a71d9d9ecb01f76de433f3b3b1fd3b8ce}\label{class_ogre_1_1_g_l_render_texture_a71d9d9ecb01f76de433f3b3b1fd3b8ce}} 
\index{Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}!CustomAttributeString\_GLCONTEXT@{CustomAttributeString\_GLCONTEXT}}
\index{CustomAttributeString\_GLCONTEXT@{CustomAttributeString\_GLCONTEXT}!Ogre::GLES2FBORenderTexture@{Ogre::GLES2FBORenderTexture}}
\doxysubsubsection{\texorpdfstring{CustomAttributeString\_GLCONTEXT}{CustomAttributeString\_GLCONTEXT}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} Ogre\+::\+G\+L\+Render\+Texture\+::\+Custom\+Attribute\+String\+\_\+\+G\+L\+C\+O\+N\+T\+E\+XT\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_g_l_e_s2_f_b_o_render_texture_8h}{Ogre\+G\+L\+E\+S2\+F\+B\+O\+Render\+Texture.\+h}}\end{DoxyCompactItemize}
