\hypertarget{group___g_l_e_s2}{}\doxysection{G\+L\+E\+S2}
\label{group___g_l_e_s2}\index{GLES2@{GLES2}}


Implementation of GL ES 2.\+x as a rendering system.  


\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_render_system}{Ogre\+::\+G\+L\+E\+S2\+Render\+System}}
\begin{DoxyCompactList}\small\item\em Implementation of GL ES 2.\+x as a rendering system. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group___g_l_e_s2_ga13b7c3c278327f19329404c7619859e6}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+G\+L\+E\+S2\+Render\+System}} ()
\item 
virtual \mbox{\hyperlink{group___g_l_e_s2_gae5dc13a455bc024db98ae1ed309f0e13}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::$\sim$\+G\+L\+E\+S2\+Render\+System}} ()
\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga0f0d14adfe963f86bbcc624e9e948aa8}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+begin\+Frame}} (void)
\begin{DoxyCompactList}\small\item\em Signifies the beginning of a frame, i.\+e. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga098f0c566b7c08c3d368a7fdb24ddeee}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+bind\+Vao}} (\mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}} $\ast$context, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} vao)
\begin{DoxyCompactList}\small\item\em Bind V\+AO, context should be equal to current context, as V\+A\+Os are not shared ~\newline
 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gaf2dbe22e9aaa316d7a22892e7efcac61}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+copy\+Contents\+To\+Memory}} (\mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}} $\ast$vp, 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}{Render\+Window\+::\+Frame\+Buffer}} buffer)
\begin{DoxyCompactList}\small\item\em Copies the current contents of the render target to a pixelbox. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} $\ast$ \mbox{\hyperlink{group___g_l_e_s2_ga81eaa5b50d6e63709e3b49a70fa16c08}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+create\+Depth\+Buffer\+For}} (\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$render\+Target)
\begin{DoxyCompactList}\small\item\em Creates a \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} that can be attached to the specified \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_render_window}{Render\+Window}} $\ast$ \mbox{\hyperlink{group___g_l_e_s2_gab53a6487fef2fd00eee17b860c3f2c2f}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+create\+Render\+Window}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, unsigned int width, unsigned int height, bool full\+Screen, const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$misc\+Params=0)
\begin{DoxyCompactList}\small\item\em Creates a new rendering window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{group___g_l_e_s2_ga22c282474176319fd19e77f343313c7e}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+create\+Vao}} ()
\begin{DoxyCompactList}\small\item\em Create V\+AO on current context. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga5ee9e6efc4f43553d59498e31f670690}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+destroy\+Depth\+Buffer}} (\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$p\+Render\+Wnd)
\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga32949aa479b9280d8b1309d22916a0b4}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+destroy\+Fbo}} (\mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}} $\ast$context, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} fbo)
\begin{DoxyCompactList}\small\item\em Destroy F\+BO immediately or defer if it was created on other context. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gacc34de20d4591bb3b990724576663085}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+destroy\+Vao}} (\mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}} $\ast$context, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} vao)
\begin{DoxyCompactList}\small\item\em Destroy V\+AO immediately or defer if it was created on other context. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga68501393597f19991a08d0c20a19c947}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+end\+Frame}} (void)
\begin{DoxyCompactList}\small\item\em Ends rendering of a frame to the current viewport. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_state_cache_manager}{G\+L\+E\+S2\+State\+Cache\+Manager}} $\ast$ \mbox{\hyperlink{group___g_l_e_s2_gaa800af7ac51f670a3b8e4fc4ac320790}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+get\+State\+Cache\+Manager}} ()
\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga6f06220516633a145f37a6779027929b}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+initialise}} () override
\begin{DoxyCompactList}\small\item\em Start up the renderer using the settings selected (Or the defaults if none have been selected). \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga0a1b6518755d22dd2d6924f0581ae7d7}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+one\+Time\+Context\+Initialization}} ()
\begin{DoxyCompactList}\small\item\em One time initialization for the Render\+State of a context. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga36e40f27ab6ce44b53e4ef94b08a46aa}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+render}} (const \mbox{\hyperlink{class_ogre_1_1_render_operation}{Render\+Operation}} \&op)
\begin{DoxyCompactList}\small\item\em Render something to the active viewport. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga817c719f6b647354c82559324ecbdc39}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Alpha\+Reject\+Settings}} (\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} func, unsigned char value, bool alpha\+To\+Coverage)
\begin{DoxyCompactList}\small\item\em Sets the global alpha rejection approach for future renders. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gac9479a75974623ddabbb83ba8f7eb234}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Colour\+Buffer\+Write\+Enabled}} (bool red, bool green, bool blue, bool alpha)
\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga790a69a94ddea1d45836be9dae9b6767}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Culling\+Mode}} (\mbox{\hyperlink{group___general_gac173244ed7d950d0acd726e4f323ecdb}{Culling\+Mode}} mode)
\begin{DoxyCompactList}\small\item\em Sets the culling mode for the render system based on the \textquotesingle{}vertex winding\textquotesingle{}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gab2d4e98b8546d512af93891c7094b717}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Depth\+Bias}} (float constant\+Bias, float slope\+Scale\+Bias)
\begin{DoxyCompactList}\small\item\em Sets the depth bias, NB you should use the \mbox{\hyperlink{class_ogre_1_1_material}{Material}} version of this. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga267e64f8737221d3a89de0e81635ea67}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Depth\+Buffer\+Check\+Enabled}} (bool enabled=true)
\begin{DoxyCompactList}\small\item\em Sets whether or not the depth buffer check is performed before a pixel write. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga777d3329487fa339fc1ed83e493a6327}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Depth\+Buffer\+Function}} (\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} func=\mbox{\hyperlink{group___general_gga0212b4eb264f207d84c1df9425208c7aa2272d0faefcf5a2e08bbf7d232d7520b}{C\+M\+P\+F\+\_\+\+L\+E\+S\+S\+\_\+\+E\+Q\+U\+AL}})
\begin{DoxyCompactList}\small\item\em Sets the comparison function for the depth buffer check. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gaeb4b435525d18444c63bc4dfddeecdd1}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Depth\+Buffer\+Params}} (bool depth\+Test=true, bool depth\+Write=true, \mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} depth\+Function=\mbox{\hyperlink{group___general_gga0212b4eb264f207d84c1df9425208c7aa2272d0faefcf5a2e08bbf7d232d7520b}{C\+M\+P\+F\+\_\+\+L\+E\+S\+S\+\_\+\+E\+Q\+U\+AL}})
\begin{DoxyCompactList}\small\item\em Sets the mode of operation for depth buffer tests from this point onwards. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga4502b50ef794daaa5471515607ac6f77}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Depth\+Buffer\+Write\+Enabled}} (bool enabled=true)
\begin{DoxyCompactList}\small\item\em Sets whether or not the depth buffer is updated after a pixel write. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga55c3aaee65dee3249d3294a49d21e9d4}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Line\+Width}} (float width)
\begin{DoxyCompactList}\small\item\em Set the line width when drawing as \mbox{\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10da68a6fc2c1c6938542664b89cf213c3eb}{Render\+Operation\+::\+O\+T\+\_\+\+L\+I\+N\+E\+\_\+\+L\+I\+ST}}/ \mbox{\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10da4bc7bbf09ce027518e33e61249e699a1}{Render\+Operation\+::\+O\+T\+\_\+\+L\+I\+N\+E\+\_\+\+S\+T\+R\+IP}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gabcac20ccef713d00075e7938e8afd343}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Polygon\+Mode}} (\mbox{\hyperlink{group___general_ga68866b02aa7f99e3431337511fbb3345}{Polygon\+Mode}} level)
\begin{DoxyCompactList}\small\item\em Sets how to rasterise triangles, as points, wireframe or solid polys. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga432c00c2cb1369b3162c1b4694fb563a}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Render\+Target}} (\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$target)
\begin{DoxyCompactList}\small\item\em Set current render target to target, enabling its GL context if needed. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga2a53c1abeeaaf7d7732571266b85d3bf}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Sampler}} (size\+\_\+t unit, \mbox{\hyperlink{class_ogre_1_1_sampler}{Sampler}} \&sampler)
\begin{DoxyCompactList}\small\item\em set the sampler settings for the given texture unit \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga2ed07f074ae69826c8090cd8541b67a5}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Separate\+Scene\+Blending}} (\mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} source\+Factor, \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} dest\+Factor, \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} source\+Factor\+Alpha, \mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}} dest\+Factor\+Alpha, \mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}} op, \mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}} alpha\+Op)
\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga066f9dbe0f422cd350d22c563896e6c7}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Texture}} (size\+\_\+t unit, bool enabled, const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \&tex)
\begin{DoxyCompactList}\small\item\em Sets the texture to bind to a given texture unit. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga9986214ed4d4bee60f62deef52659692}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Texture\+Addressing\+Mode}} (size\+\_\+t stage, const \mbox{\hyperlink{struct_ogre_1_1_sampler_1_1_u_v_w_addressing_mode}{Sampler\+::\+U\+V\+W\+Addressing\+Mode}} \&uvw)
\item 
virtual void \mbox{\hyperlink{group___g_l_e_s2_gaf28d1fa286f453317a1e889e6fc7de04}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Texture\+Unit\+Filtering}} (size\+\_\+t unit, \mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}} min\+Filter, \mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}} mag\+Filter, \mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}} mip\+Filter)
\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga521693302023af1900f5bebacfb01a42}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Texture\+Unit\+Filtering}} (size\+\_\+t unit, \mbox{\hyperlink{group___general_gac1fc36ec2f4df4b2afa9fa39f9c66c06}{Filter\+Type}} ftype, \mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}} filter)
\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga9e85e1cc3f1c220959768593e0017f40}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Viewport}} (\mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}} $\ast$vp)
\begin{DoxyCompactList}\small\item\em Sets the provided viewport as the active one for future rendering operations. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gaade56a7ee4c9a8149a371618126297dc}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+switch\+Context}} (\mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}} $\ast$context)
\begin{DoxyCompactList}\small\item\em Switch GL context, dealing with involved internal cached states too. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gab7faf71d5da9f82a2008c0c4207a1ac7}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+unregister\+Context}} (\mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}} $\ast$context)
\begin{DoxyCompactList}\small\item\em Unregister a render target-\/$>$context mapping. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{group___g_l_e_s2_gaa9d66fa2deb73aa6577716a9e3fc911c}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::begin\+Profile\+Event}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&event\+Name)
\begin{DoxyCompactList}\small\item\em This marks the beginning of an event for G\+PU profiling. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gad1b0cf3f7aea1a2f2bb3d8762500282f}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::bind\+Gpu\+Program}} (\mbox{\hyperlink{class_ogre_1_1_gpu_program}{Gpu\+Program}} $\ast$prg)
\begin{DoxyCompactList}\small\item\em Binds a given \mbox{\hyperlink{class_ogre_1_1_gpu_program}{Gpu\+Program}} (but not the parameters). \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga9c3c59236b71f033101d6d63f1e2af94}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::bind\+Gpu\+Program\+Parameters}} (\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}} gptype, const \mbox{\hyperlink{namespace_ogre_ae2a8e4debf1ea6d6cc2b6795e3174f38}{Gpu\+Program\+Parameters\+Ptr}} \&params, \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} mask)
\begin{DoxyCompactList}\small\item\em Bind Gpu program parameters. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gaab180fa4a2aba714e22ff30d22511d30}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::clear\+Frame\+Buffer}} (unsigned int buffers, const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&colour=\mbox{\hyperlink{class_ogre_1_1_colour_value_a7f8a06f2a9dd645417c36b560f496c1a}{Colour\+Value\+::\+Black}}, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} depth=1.\+0f, unsigned short stencil=0)
\begin{DoxyCompactList}\small\item\em Clears one or more frame buffers on the active render target. \end{DoxyCompactList}\item 
G\+Lint \mbox{\hyperlink{group___g_l_e_s2_gacadd6b4ab828568d763b707eb4199b93}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::convert\+Compare\+Function}} (\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} func) const
\item 
G\+Lint \mbox{\hyperlink{group___g_l_e_s2_gae96b47494abeb2761223b9408a37b2b9}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::convert\+Stencil\+Op}} (\mbox{\hyperlink{group___render_system_gae8bb1cb809660de802d1d592ba4adb61}{Stencil\+Operation}} op, bool invert=false) const
\item 
\mbox{\hyperlink{class_ogre_1_1_hardware_occlusion_query}{Hardware\+Occlusion\+Query}} $\ast$ \mbox{\hyperlink{group___g_l_e_s2_ga680c79fd34fbc4b2cce31b2356b6795a}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::create\+Hardware\+Occlusion\+Query}} (void)
\begin{DoxyCompactList}\small\item\em Create an object for performing hardware occlusion queries. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{class_ogre_1_1_multi_render_target}{Multi\+Render\+Target}} $\ast$ \mbox{\hyperlink{group___g_l_e_s2_ga485ebebda97e764bef335abadc04fb14}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::create\+Multi\+Render\+Target}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Create a \mbox{\hyperlink{class_ogre_1_1_multi_render_target}{Multi\+Render\+Target}}, which is a render target that renders to multiple Render\+Textures at once. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{class_ogre_1_1_render_system_capabilities}{Render\+System\+Capabilities}} $\ast$ \mbox{\hyperlink{group___g_l_e_s2_ga5306bcbd9bc9cea046118189bcf01b55}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::create\+Render\+System\+Capabilities}} () const
\begin{DoxyCompactList}\small\item\em Query the real capabilities of the G\+PU and driver in the \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga31201c00d107451d7f7ff264f3559a2e}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::destroy\+Render\+Window}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Destroys a render window. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{group___g_l_e_s2_ga5bbe15aca9033a03c1e91f8d685484a2}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::end\+Profile\+Event}} (void)
\begin{DoxyCompactList}\small\item\em Ends the currently active G\+PU profiling event. \end{DoxyCompactList}\item 
unsigned int \mbox{\hyperlink{group___g_l_e_s2_ga3f58ee26c14bf54639eb2cdaf054c11b}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::get\+Display\+Monitor\+Count}} () const
\begin{DoxyCompactList}\small\item\em Gets the number of display monitors. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{group___g_l_e_s2_ga911c9c38118fee9fbf1220dbb9a2d4e1}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::get\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the name of the rendering system. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gac83a59b0472953bfe4d72104cacadc53}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::initialise\+Context}} (\mbox{\hyperlink{class_ogre_1_1_render_window}{Render\+Window}} $\ast$primary)
\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga9dc71e053c89ccced5784362a3ca44ce}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::initialise\+From\+Render\+System\+Capabilities}} (\mbox{\hyperlink{class_ogre_1_1_render_system_capabilities}{Render\+System\+Capabilities}} $\ast$caps, \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$primary)
\begin{DoxyCompactList}\small\item\em Initialize the render system from the capabilities. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{group___g_l_e_s2_gaaaf19428429c81faca674b37f578b3c6}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::mark\+Profile\+Event}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&event\+Name)
\begin{DoxyCompactList}\small\item\em Marks an instantaneous event for graphics profilers. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group___g_l_e_s2_ga852ee2cf631ec79637b4d799727587b8}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+O\+G\+R\+E\+\_\+\+M\+U\+T\+EX}} (m\+Thread\+Init\+Mutex)
\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga1767016ed55e3877d47464882aef9a27}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::post\+Extra\+Threads\+Started}} ()
\begin{DoxyCompactList}\small\item\em Tell the rendersystem to perform any tasks it needs to directly after other threads which might access the rendering A\+PI are registered. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga8facb30ed47df20d9df6de77c23c5398}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::pre\+Extra\+Threads\+Started}} ()
\begin{DoxyCompactList}\small\item\em Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might access the rendering A\+PI are registered. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gaf260eadeba4a0ef3e330a8c0ea73e606}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::register\+Thread}} ()
\begin{DoxyCompactList}\small\item\em Register the an additional thread which may make calls to rendersystem-\/related objects. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gaa8d7e5faf05d5d865573294c48db9a73}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::set\+Scissor\+Test}} (bool enabled, size\+\_\+t left=0, size\+\_\+t top=0, size\+\_\+t right=800, size\+\_\+t bottom=600)
\begin{DoxyCompactList}\small\item\em Sets the \textquotesingle{}scissor region\textquotesingle{} i.\+e. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga50035b687daf76d52a11bf6b851bb902}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::set\+Stencil\+Buffer\+Params}} (\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}} func=\mbox{\hyperlink{group___general_gga0212b4eb264f207d84c1df9425208c7aae10ea1648cd8c9bd90bdaccaa11cbc4e}{C\+M\+P\+F\+\_\+\+A\+L\+W\+A\+Y\+S\+\_\+\+P\+A\+SS}}, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} ref\+Value=0, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} compare\+Mask=0x\+F\+F\+F\+F\+F\+F\+FF, \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} write\+Mask=0x\+F\+F\+F\+F\+F\+F\+FF, \mbox{\hyperlink{group___render_system_gae8bb1cb809660de802d1d592ba4adb61}{Stencil\+Operation}} stencil\+Fail\+Op=\mbox{\hyperlink{group___render_system_ggae8bb1cb809660de802d1d592ba4adb61abf640cb28b5020509dc27178f0359511}{S\+O\+P\+\_\+\+K\+E\+EP}}, \mbox{\hyperlink{group___render_system_gae8bb1cb809660de802d1d592ba4adb61}{Stencil\+Operation}} depth\+Fail\+Op=\mbox{\hyperlink{group___render_system_ggae8bb1cb809660de802d1d592ba4adb61abf640cb28b5020509dc27178f0359511}{S\+O\+P\+\_\+\+K\+E\+EP}}, \mbox{\hyperlink{group___render_system_gae8bb1cb809660de802d1d592ba4adb61}{Stencil\+Operation}} pass\+Op=\mbox{\hyperlink{group___render_system_ggae8bb1cb809660de802d1d592ba4adb61abf640cb28b5020509dc27178f0359511}{S\+O\+P\+\_\+\+K\+E\+EP}}, bool two\+Sided\+Operation=false, bool read\+Back\+As\+Texture=false)
\begin{DoxyCompactList}\small\item\em This method allows you to set all the stencil buffer parameters in one call. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gaecdd103b0c6243287f6dfb1be8bc4e08}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::set\+Stencil\+Check\+Enabled}} (bool enabled)
\begin{DoxyCompactList}\small\item\em Turns stencil buffer checking on or off. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga9d4668eb748e9093af39c95a1684aa2a}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Shutdown the renderer and cleanup resources. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_ga564175c3cb628ac2deeea6d98d4e4bc0}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::unbind\+Gpu\+Program}} (\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}} gptype)
\begin{DoxyCompactList}\small\item\em Unbinds Gpu\+Programs of a given Gpu\+Program\+Type. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___g_l_e_s2_gaa6bfad53622bb5f865871a3918bb4fac}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::unregister\+Thread}} ()
\begin{DoxyCompactList}\small\item\em Unregister an additional thread which may make calls to rendersystem-\/related objects. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{group___g_l_e_s2_gae3fef941757423683223183c2374e5d9}{Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+Shader\+Generator\+Technique\+Resolver\+Listener}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Implementation of GL ES 2.\+x as a rendering system. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group___g_l_e_s2_ga13b7c3c278327f19329404c7619859e6}\label{group___g_l_e_s2_ga13b7c3c278327f19329404c7619859e6}} 
\index{GLES2@{GLES2}!GLES2RenderSystem@{GLES2RenderSystem}}
\index{GLES2RenderSystem@{GLES2RenderSystem}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{GLES2RenderSystem()}{GLES2RenderSystem()}}
{\footnotesize\ttfamily Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+G\+L\+E\+S2\+Render\+System (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{group___g_l_e_s2_gae5dc13a455bc024db98ae1ed309f0e13}\label{group___g_l_e_s2_gae5dc13a455bc024db98ae1ed309f0e13}} 
\index{GLES2@{GLES2}!````~GLES2RenderSystem@{$\sim$GLES2RenderSystem}}
\index{````~GLES2RenderSystem@{$\sim$GLES2RenderSystem}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{$\sim$GLES2RenderSystem()}{~GLES2RenderSystem()}}
{\footnotesize\ttfamily virtual Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::$\sim$\+G\+L\+E\+S2\+Render\+System (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

\mbox{\Hypertarget{group___g_l_e_s2_ga911c9c38118fee9fbf1220dbb9a2d4e1}\label{group___g_l_e_s2_ga911c9c38118fee9fbf1220dbb9a2d4e1}} 
\index{GLES2@{GLES2}!getName@{getName}}
\index{getName@{getName}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{getName()}{getName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::get\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Returns the name of the rendering system. 



Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a19b810b6fe61b526010812e9af80bf63}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga6f06220516633a145f37a6779027929b}\label{group___g_l_e_s2_ga6f06220516633a145f37a6779027929b}} 
\index{GLES2@{GLES2}!\_initialise@{\_initialise}}
\index{\_initialise@{\_initialise}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_initialise()}{\_initialise()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+initialise (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



Start up the renderer using the settings selected (Or the defaults if none have been selected). 

Called by \mbox{\hyperlink{class_ogre_1_1_root_af768914a0dd431ee442bf83157daf570}{Root\+::set\+Render\+System}}. Shouldn\textquotesingle{}t really be called directly, although this can be done if the app wants to. 

Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_system_a6900425dd940a48bd1d74c3afe48b4b3}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga5306bcbd9bc9cea046118189bcf01b55}\label{group___g_l_e_s2_ga5306bcbd9bc9cea046118189bcf01b55}} 
\index{GLES2@{GLES2}!createRenderSystemCapabilities@{createRenderSystemCapabilities}}
\index{createRenderSystemCapabilities@{createRenderSystemCapabilities}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{createRenderSystemCapabilities()}{createRenderSystemCapabilities()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_render_system_capabilities}{Render\+System\+Capabilities}}$\ast$ Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::create\+Render\+System\+Capabilities (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Query the real capabilities of the G\+PU and driver in the \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}}. 



Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a4cd432497387d2c630a95ad9c0cd9772}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga9dc71e053c89ccced5784362a3ca44ce}\label{group___g_l_e_s2_ga9dc71e053c89ccced5784362a3ca44ce}} 
\index{GLES2@{GLES2}!initialiseFromRenderSystemCapabilities@{initialiseFromRenderSystemCapabilities}}
\index{initialiseFromRenderSystemCapabilities@{initialiseFromRenderSystemCapabilities}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{initialiseFromRenderSystemCapabilities()}{initialiseFromRenderSystemCapabilities()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::initialise\+From\+Render\+System\+Capabilities (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_system_capabilities}{Render\+System\+Capabilities}} $\ast$}]{caps,  }\item[{\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$}]{primary }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Initialize the render system from the capabilities. 



Implements \mbox{\hyperlink{class_ogre_1_1_render_system}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga9d4668eb748e9093af39c95a1684aa2a}\label{group___g_l_e_s2_ga9d4668eb748e9093af39c95a1684aa2a}} 
\index{GLES2@{GLES2}!shutdown@{shutdown}}
\index{shutdown@{shutdown}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{shutdown()}{shutdown()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Shutdown the renderer and cleanup resources. 



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_system_a987cf400154a21403b4ff5192d423971}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gab53a6487fef2fd00eee17b860c3f2c2f}\label{group___g_l_e_s2_gab53a6487fef2fd00eee17b860c3f2c2f}} 
\index{GLES2@{GLES2}!\_createRenderWindow@{\_createRenderWindow}}
\index{\_createRenderWindow@{\_createRenderWindow}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_createRenderWindow()}{\_createRenderWindow()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_render_window}{Render\+Window}}$\ast$ Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+create\+Render\+Window (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{unsigned int}]{width,  }\item[{unsigned int}]{height,  }\item[{bool}]{full\+Screen,  }\item[{const \mbox{\hyperlink{group___general_ga0537f38d7a77fcbe9f600f6ed8a926d6}{Name\+Value\+Pair\+List}} $\ast$}]{misc\+Params = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Creates a new rendering window. 

\begin{DoxyRemark}{Remarks}
This method creates a new rendering window as specified by the paramteters. The rendering system could be responible for only a single window (e.\+g. in the case of a game), or could be in charge of multiple ones (in the case of a level editor). The option to create the window as a child of another is therefore given. This method will create an appropriate subclass of \mbox{\hyperlink{class_ogre_1_1_render_window}{Render\+Window}} depending on the A\+PI and platform implementation. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
After creation, this window can be retrieved using \mbox{\hyperlink{class_ogre_1_1_render_system_a096eb751bc772f0b557bff4016f81d40}{get\+Render\+Target()}}. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em name} & The name of the window. Used in other methods later like set\+Render\+Target and get\+Render\+Target. \\
\hline
{\em width} & The width of the new window. \\
\hline
{\em height} & The height of the new window. \\
\hline
{\em full\+Screen} & Specify true to make the window full screen without borders, title bar or menu bar. \\
\hline
{\em misc\+Params} & A Name\+Value\+Pair\+List describing the other parameters for the new rendering window. Options are case sensitive. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platforms unless indicated otherwise\+: {\begin{tabularx}{\linewidth}{|*{5}{>{\raggedright\arraybackslash}X|}}\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Key  }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Type / Values  }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Default  }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Description  }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Notes   }\\\cline{1-5}
title  &\mbox{\hyperlink{class_ogre_1_1_any}{Any}} string  &\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} name  &The title of the window that will appear in the title bar  &\\\cline{1-5}
left  &Positive integers  &Centred  &Screen x coordinate from left  &\\\cline{1-5}
top  &Positive integers  &Centred  &Screen y coordinate from left  &\\\cline{1-5}
border  &none, fixed, resize  &resize  &The type of window border (in windowed mode)  &\\\cline{1-5}
hidden  &true, false  &false  &hide the created window  &\\\cline{1-5}
F\+S\+AA  &Positive integer (usually 0, 2, 4, 8, 16)  &0  &Full screen antialiasing factor  &\\\cline{1-5}
gamma  &true, false  &false  &Enable hardware conversion from linear colour space to gamma colour space on rendering to the window.  &\\\cline{1-5}
vsync  &true, false  &false  &Synchronize buffer swaps to monitor vsync, eliminating tearing at the expense of a fixed frame rate  &\\\cline{1-5}
vsync\+Interval  &1, 2, 3, 4  &1  &If vsync is enabled, the minimum number of vertical blanks that should occur between renders. For example if vsync is enabled, the refresh rate is 60 and this is set to 2, then the frame rate will be locked at 30.  &\\\cline{1-5}
Full Screen  &true, false  &false  &Specify whether to create the window in full screen mode  &\\\cline{1-5}
display\+Frequency  &Refresh rate in Hertz (e.\+g. 60, 75, 100)  &Desktop vsync rate  &Display frequency rate, for fullscreen mode  &\\\cline{1-5}
parent\+Window\+Handle  &
\begin{DoxyItemize}
\item Win32\+: H\+W\+ND as integer
\item G\+LX\+: poslong\+:posint\+:poslong (display$\ast$\+:screen\+:window\+Handle) or poslong\+:posint\+:poslong\+:poslong (display$\ast$\+:screen\+:window\+Handle\+:X\+Visual\+Info$\ast$)  
\end{DoxyItemize}&0 (none)  &Parent window handle, for embedding the O\+G\+RE in a child of an external window  &\\\cline{1-5}
external\+Window\+Handle  &
\begin{DoxyItemize}
\item Win32\+: H\+W\+ND as integer
\item G\+LX\+: poslong\+:posint\+:poslong (display$\ast$\+:screen\+:window\+Handle) or poslong\+:posint\+:poslong\+:poslong (display$\ast$\+:screen\+:window\+Handle\+:X\+Visual\+Info$\ast$)
\item OS X Cocoa\+: Ogre\+G\+L\+View address as an integer. You can pass N\+S\+View or N\+S\+Window too, but should perform Ogre\+G\+L\+View callbacks into the \mbox{\hyperlink{namespace_ogre}{Ogre}} manually.
\item OS X Carbon\+: Window\+Ref as an integer
\item i\+OS\+: U\+I\+Window address as an integer
\end{DoxyItemize}&0 (none)  &External window handle, for embedding the O\+G\+RE render in an existing window  &\\\cline{1-5}
external\+G\+L\+Control  &true, false  &false  &Let the external window control Open\+GL i.\+e. don\textquotesingle{}t select a pixel format for the window, do not change v-\/sync and do not swap buffer. When set to true, the calling application is responsible of Open\+GL initialization and buffer swapping. It should also create an Open\+GL context for its own rendering, \mbox{\hyperlink{namespace_ogre}{Ogre}} will create one for its use. Then the calling application must also enable \mbox{\hyperlink{namespace_ogre}{Ogre}} Open\+GL context before calling any \mbox{\hyperlink{namespace_ogre}{Ogre}} function and restore its Open\+GL context after these calls.  &Open\+GL Specific   \\\cline{1-5}
current\+G\+L\+Context  &true, false  &false  &Use an externally created GL context. (Must be current)  &Open\+GL Specific   \\\cline{1-5}
min\+Colour\+Buffer\+Size  &Positive integer (usually 16, 32)  &16  &Min total colour buffer size. See E\+G\+L\+\_\+\+B\+U\+F\+F\+E\+R\+\_\+\+S\+I\+ZE  &Open\+GL Specific   \\\cline{1-5}
window\+Proc  &W\+N\+D\+P\+R\+OC  &Def\+Window\+Proc  &function that processes window messages  &Win 32 Specific   \\\cline{1-5}
colour\+Depth  &16, 32  &Desktop depth  &Colour depth of the resulting rendering window; only applies if full\+Screen  &Win32 Specific   \\\cline{1-5}
F\+S\+A\+A\+Hint  &Depends on \mbox{\hyperlink{class_ogre_1_1_render_system}{Render\+System}} and hardware. Currently supports\+:\char`\"{}\+Quality\char`\"{}\+: on systems that have an option to prefer higher AA quality over speed, use it  &Blank  &Full screen antialiasing hint  &Win32 Specific   \\\cline{1-5}
outer\+Dimensions  &true, false  &false  &Whether the width/height is expressed as the size of the outer window, rather than the content area  &Win32 Specific   \\\cline{1-5}
monitor\+Index  &&-\/1  &&Win 32 Specific   \\\cline{1-5}
monitor\+Handle  &&0 (none)  &&Win 32 Specific (Open\+GL)   \\\cline{1-5}
enable\+Double\+Click  &true, false  &false  &Enable the window to keep track and transmit double click messages.  &Win32 Specific   \\\cline{1-5}
use\+N\+V\+Perf\+H\+UD  &true, false  &false  &Enable the use of n\+Vidia N\+V\+Perf\+H\+UD  &DirectX Specific   \\\cline{1-5}
depth\+Buffer  &true, false  &true  &Use depth buffer  &Direct\+X9 Specific   \\\cline{1-5}
N\+S\+Open\+G\+L\+C\+P\+Surface\+Order  &-\/1 or 1  &1  &\href{https://developer.apple.com/documentation/appkit/nsopenglcpsurfaceorder}{\texttt{ N\+S\+Open\+G\+L\+C\+P\+Surface\+Order}}  &Mac OS X Specific   \\\cline{1-5}
content\+Scaling\+Factor  &Positive Float greater than 1.\+0  &The default content scaling factor of the screen  &On I\+OS specifies the C\+A\+E\+A\+G\+L\+Layer content scaling factor. Only supported on i\+OS 4 or greater. This can be useful to limit the resolution of the Open\+GL ES backing store. For example, the i\+Phone 4\textquotesingle{}s native resolution is 960 x 640. Windows are always 320 x 480, if you would like to limit the display to 720 x 480, specify 1.\+5 as the scaling factor.  &i\+OS / Android Specific   \\\cline{1-5}
external\+View\+Handle  &U\+I\+View pointer as an integer  &0  &External view handle, for rendering O\+G\+RE render in an existing view  &i\+OS Specific   \\\cline{1-5}
external\+View\+Controller\+Handle  &U\+I\+View\+Controller pointer as an integer  &0  &External view controller handle, for embedding O\+G\+RE in an existing view controller  &i\+OS Specific   \\\cline{1-5}
external\+Sharegroup  &E\+A\+G\+L\+Sharegroup pointer as an integer  &0  &External sharegroup, used to shared GL resources between contexts  &i\+OS Specific   \\\cline{1-5}
M\+S\+AA  &Positive integer (usually 0, 2, 4, 8, 16)  &0  &Full screen antialiasing factor  &Android Specific   \\\cline{1-5}
C\+S\+AA  &Positive integer (usually 0, 2, 4, 8, 16)  &0  &\href{https://www.khronos.org/registry/egl/extensions/NV/EGL_NV_coverage_sample.txt}{\texttt{ Coverage sampling factor}}  &Android Specific   \\\cline{1-5}
max\+Colour\+Buffer\+Size  &Positive integer (usually 16, 32)  &32  &Max E\+G\+L\+\_\+\+B\+U\+F\+F\+E\+R\+\_\+\+S\+I\+ZE  &Android Specific   \\\cline{1-5}
max\+Stencil\+Buffer\+Size  &Positive integer (usually 0, 8)  &0  &E\+G\+L\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+\+S\+I\+ZE  &Android Specific   \\\cline{1-5}
max\+Depth\+Buffer\+Size  &Positive integer (usually 0, 16, 24)  &16  &E\+G\+L\+\_\+\+D\+E\+P\+T\+H\+\_\+\+S\+I\+ZE  &Android Specific   \\\cline{1-5}
\end{tabularx}}
\\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_aaf156b9f935396e6c17f532f6e6c847e}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga81eaa5b50d6e63709e3b49a70fa16c08}\label{group___g_l_e_s2_ga81eaa5b50d6e63709e3b49a70fa16c08}} 
\index{GLES2@{GLES2}!\_createDepthBufferFor@{\_createDepthBufferFor}}
\index{\_createDepthBufferFor@{\_createDepthBufferFor}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_createDepthBufferFor()}{\_createDepthBufferFor()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}}$\ast$ Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+create\+Depth\+Buffer\+For (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$}]{render\+Target }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Creates a \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} that can be attached to the specified \mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}}. 

\begin{DoxyRemark}{Remarks}
It doesn\textquotesingle{}t attach anything, it just returns a pointer to a new \mbox{\hyperlink{class_ogre_1_1_depth_buffer}{Depth\+Buffer}} Caller is responsible for putting this buffer into the right pool, for attaching, and deleting it. Here\textquotesingle{}s where A\+P\+I-\/specific magic happens. Don\textquotesingle{}t call this directly unless you know what you\textquotesingle{}re doing. 
\end{DoxyRemark}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_ad084167159b7c73a043bfc5c2723094f}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga485ebebda97e764bef335abadc04fb14}\label{group___g_l_e_s2_ga485ebebda97e764bef335abadc04fb14}} 
\index{GLES2@{GLES2}!createMultiRenderTarget@{createMultiRenderTarget}}
\index{createMultiRenderTarget@{createMultiRenderTarget}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{createMultiRenderTarget()}{createMultiRenderTarget()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_multi_render_target}{Multi\+Render\+Target}}$\ast$ Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::create\+Multi\+Render\+Target (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Create a \mbox{\hyperlink{class_ogre_1_1_multi_render_target}{Multi\+Render\+Target}}, which is a render target that renders to multiple Render\+Textures at once. 

Surfaces can be bound and unbound at will. This fails if m\+Capabilities-\/$>$get\+Num\+Multi\+Render\+Targets() is smaller than 2. 

Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a857191a1acd18fd25498517bf183efe2}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga31201c00d107451d7f7ff264f3559a2e}\label{group___g_l_e_s2_ga31201c00d107451d7f7ff264f3559a2e}} 
\index{GLES2@{GLES2}!destroyRenderWindow@{destroyRenderWindow}}
\index{destroyRenderWindow@{destroyRenderWindow}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{destroyRenderWindow()}{destroyRenderWindow()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::destroy\+Render\+Window (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Destroys a render window. 



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_system_a65ddf1db4aa3f463e0479c240ffc3dc5}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga066f9dbe0f422cd350d22c563896e6c7}\label{group___g_l_e_s2_ga066f9dbe0f422cd350d22c563896e6c7}} 
\index{GLES2@{GLES2}!\_setTexture@{\_setTexture}}
\index{\_setTexture@{\_setTexture}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setTexture()}{\_setTexture()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Texture (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{unit,  }\item[{bool}]{enabled,  }\item[{const \mbox{\hyperlink{namespace_ogre_aa381890787803da43b614dee8d9c8994}{Texture\+Ptr}} \&}]{tex\+Ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the texture to bind to a given texture unit. 

User processes would not normally call this direct unless rendering primitives themselves.


\begin{DoxyParams}{Parameters}
{\em unit} & The index of the texture unit to modify. Multitexturing hardware can support multiple units (see Render\+System\+Capabilites\+::get\+Num\+Texture\+Units) \\
\hline
{\em enabled} & Boolean to turn the unit on/off \\
\hline
{\em tex\+Ptr} & Pointer to the texture to use. \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a2cb551bfdd04b7426f73a84cbcbc93f7}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga2a53c1abeeaaf7d7732571266b85d3bf}\label{group___g_l_e_s2_ga2a53c1abeeaaf7d7732571266b85d3bf}} 
\index{GLES2@{GLES2}!\_setSampler@{\_setSampler}}
\index{\_setSampler@{\_setSampler}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setSampler()}{\_setSampler()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Sampler (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{tex\+Unit,  }\item[{\mbox{\hyperlink{class_ogre_1_1_sampler}{Sampler}} \&}]{s }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



set the sampler settings for the given texture unit 



Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a7475c99df40ff3c2a7edf6a15ad6c460}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga9986214ed4d4bee60f62deef52659692}\label{group___g_l_e_s2_ga9986214ed4d4bee60f62deef52659692}} 
\index{GLES2@{GLES2}!\_setTextureAddressingMode@{\_setTextureAddressingMode}}
\index{\_setTextureAddressingMode@{\_setTextureAddressingMode}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setTextureAddressingMode()}{\_setTextureAddressingMode()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Texture\+Addressing\+Mode (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{unit,  }\item[{const \mbox{\hyperlink{struct_ogre_1_1_sampler_1_1_u_v_w_addressing_mode}{Sampler\+::\+U\+V\+W\+Addressing\+Mode}} \&}]{uvw }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000134}{Deprecated}}]use \+\_\+set\+Sampler \end{DoxyRefDesc}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a1ed6aa9eadc930c59d2e6ac9015a6f14}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga55c3aaee65dee3249d3294a49d21e9d4}\label{group___g_l_e_s2_ga55c3aaee65dee3249d3294a49d21e9d4}} 
\index{GLES2@{GLES2}!\_setLineWidth@{\_setLineWidth}}
\index{\_setLineWidth@{\_setLineWidth}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setLineWidth()}{\_setLineWidth()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Line\+Width (\begin{DoxyParamCaption}\item[{float}]{width }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the line width when drawing as \mbox{\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10da68a6fc2c1c6938542664b89cf213c3eb}{Render\+Operation\+::\+O\+T\+\_\+\+L\+I\+N\+E\+\_\+\+L\+I\+ST}}/ \mbox{\hyperlink{class_ogre_1_1_render_operation_a7a272218dae54048c87f31176c19e10da4bc7bbf09ce027518e33e61249e699a1}{Render\+Operation\+::\+O\+T\+\_\+\+L\+I\+N\+E\+\_\+\+S\+T\+R\+IP}}. 


\begin{DoxyParams}{Parameters}
{\em width} & only value of 1.\+0 might be supported. Check for R\+S\+C\+\_\+\+W\+I\+D\+E\+\_\+\+L\+I\+N\+ES. \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_system_a40f99785cb4f728763712169cec19f29}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga9e85e1cc3f1c220959768593e0017f40}\label{group___g_l_e_s2_ga9e85e1cc3f1c220959768593e0017f40}} 
\index{GLES2@{GLES2}!\_setViewport@{\_setViewport}}
\index{\_setViewport@{\_setViewport}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setViewport()}{\_setViewport()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Viewport (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}} $\ast$}]{vp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the provided viewport as the active one for future rendering operations. 

This viewport is aware of it\textquotesingle{}s own camera and render target. Must be implemented by subclass.


\begin{DoxyParams}{Parameters}
{\em vp} & Pointer to the appropriate viewport. \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a7d7f7d706450808859f338352c5e9cd0}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga0f0d14adfe963f86bbcc624e9e948aa8}\label{group___g_l_e_s2_ga0f0d14adfe963f86bbcc624e9e948aa8}} 
\index{GLES2@{GLES2}!\_beginFrame@{\_beginFrame}}
\index{\_beginFrame@{\_beginFrame}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_beginFrame()}{\_beginFrame()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+begin\+Frame (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Signifies the beginning of a frame, i.\+e. 

the start of rendering on a single viewport. Will occur several times per complete frame if multiple viewports exist. 

Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a80b7ab32b8f82cf340c47d55f6e69881}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga68501393597f19991a08d0c20a19c947}\label{group___g_l_e_s2_ga68501393597f19991a08d0c20a19c947}} 
\index{GLES2@{GLES2}!\_endFrame@{\_endFrame}}
\index{\_endFrame@{\_endFrame}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_endFrame()}{\_endFrame()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+end\+Frame (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Ends rendering of a frame to the current viewport. 



Implements \mbox{\hyperlink{class_ogre_1_1_render_system_aad966c6f361ac75304c1e03f9ec384c4}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga790a69a94ddea1d45836be9dae9b6767}\label{group___g_l_e_s2_ga790a69a94ddea1d45836be9dae9b6767}} 
\index{GLES2@{GLES2}!\_setCullingMode@{\_setCullingMode}}
\index{\_setCullingMode@{\_setCullingMode}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setCullingMode()}{\_setCullingMode()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Culling\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_gac173244ed7d950d0acd726e4f323ecdb}{Culling\+Mode}}}]{mode }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the culling mode for the render system based on the \textquotesingle{}vertex winding\textquotesingle{}. 

A typical way for the rendering engine to cull triangles is based on the \textquotesingle{}vertex winding\textquotesingle{} of triangles. Vertex winding refers to the direction in which the vertices are passed or indexed to in the rendering operation as viewed from the camera, and will wither be clockwise or anticlockwise (that\textquotesingle{}s \textquotesingle{}counterclockwise\textquotesingle{} for you Americans out there ;) The default is C\+U\+L\+L\+\_\+\+C\+L\+O\+C\+K\+W\+I\+SE i.\+e. that only triangles whose vertices are passed/indexed in anticlockwise order are rendered -\/ this is a common approach and is used in 3D studio models for example. You can alter this culling mode if you wish but it is not advised unless you know what you are doing. You may wish to use the C\+U\+L\+L\+\_\+\+N\+O\+NE option for mesh data that you cull yourself where the vertex winding is uncertain. 

Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a8342819c24002599851457e459744561}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gaeb4b435525d18444c63bc4dfddeecdd1}\label{group___g_l_e_s2_gaeb4b435525d18444c63bc4dfddeecdd1}} 
\index{GLES2@{GLES2}!\_setDepthBufferParams@{\_setDepthBufferParams}}
\index{\_setDepthBufferParams@{\_setDepthBufferParams}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setDepthBufferParams()}{\_setDepthBufferParams()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Depth\+Buffer\+Params (\begin{DoxyParamCaption}\item[{bool}]{depth\+Test = {\ttfamily true},  }\item[{bool}]{depth\+Write = {\ttfamily true},  }\item[{\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}}}]{depth\+Function = {\ttfamily \mbox{\hyperlink{group___general_gga0212b4eb264f207d84c1df9425208c7aa2272d0faefcf5a2e08bbf7d232d7520b}{C\+M\+P\+F\+\_\+\+L\+E\+S\+S\+\_\+\+E\+Q\+U\+AL}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the mode of operation for depth buffer tests from this point onwards. 

Sometimes you may wish to alter the behaviour of the depth buffer to achieve special effects. Because it\textquotesingle{}s unlikely that you\textquotesingle{}ll set these options for an entire frame, but rather use them to tweak settings between rendering objects, this is an internal method (indicated by the \textquotesingle{}\+\_\+\textquotesingle{} prefix) which will be used by a \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}} implementation rather than directly from the client application. If this method is never called the settings are automatically the same as the default parameters. 
\begin{DoxyParams}{Parameters}
{\em depth\+Test} & If true, the depth buffer is tested for each pixel and the frame buffer is only updated if the depth function test succeeds. If false, no test is performed and pixels are always written. \\
\hline
{\em depth\+Write} & If true, the depth buffer is updated with the depth of the new pixel if the depth test succeeds. If false, the depth buffer is left unchanged even if a new pixel is written. \\
\hline
{\em depth\+Function} & Sets the function required for the depth test. \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a49c162dc3d9b86e37d9085c0ab1e28c6}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga267e64f8737221d3a89de0e81635ea67}\label{group___g_l_e_s2_ga267e64f8737221d3a89de0e81635ea67}} 
\index{GLES2@{GLES2}!\_setDepthBufferCheckEnabled@{\_setDepthBufferCheckEnabled}}
\index{\_setDepthBufferCheckEnabled@{\_setDepthBufferCheckEnabled}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setDepthBufferCheckEnabled()}{\_setDepthBufferCheckEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Depth\+Buffer\+Check\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets whether or not the depth buffer check is performed before a pixel write. 


\begin{DoxyParams}{Parameters}
{\em enabled} & If true, the depth buffer is tested for each pixel and the frame buffer is only updated if the depth function test succeeds. If false, no test is performed and pixels are always written. \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a20c5b31b647e3cb6acc5742e75c34b22}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga4502b50ef794daaa5471515607ac6f77}\label{group___g_l_e_s2_ga4502b50ef794daaa5471515607ac6f77}} 
\index{GLES2@{GLES2}!\_setDepthBufferWriteEnabled@{\_setDepthBufferWriteEnabled}}
\index{\_setDepthBufferWriteEnabled@{\_setDepthBufferWriteEnabled}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setDepthBufferWriteEnabled()}{\_setDepthBufferWriteEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Depth\+Buffer\+Write\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets whether or not the depth buffer is updated after a pixel write. 


\begin{DoxyParams}{Parameters}
{\em enabled} & If true, the depth buffer is updated with the depth of the new pixel if the depth test succeeds. If false, the depth buffer is left unchanged even if a new pixel is written. \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a00bd48a7ba0a2a919586c3b8548d2433}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga777d3329487fa339fc1ed83e493a6327}\label{group___g_l_e_s2_ga777d3329487fa339fc1ed83e493a6327}} 
\index{GLES2@{GLES2}!\_setDepthBufferFunction@{\_setDepthBufferFunction}}
\index{\_setDepthBufferFunction@{\_setDepthBufferFunction}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setDepthBufferFunction()}{\_setDepthBufferFunction()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Depth\+Buffer\+Function (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}}}]{func = {\ttfamily \mbox{\hyperlink{group___general_gga0212b4eb264f207d84c1df9425208c7aa2272d0faefcf5a2e08bbf7d232d7520b}{C\+M\+P\+F\+\_\+\+L\+E\+S\+S\+\_\+\+E\+Q\+U\+AL}}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the comparison function for the depth buffer check. 

Advanced use only -\/ allows you to choose the function applied to compare the depth values of new and existing pixels in the depth buffer. Only an issue if the deoth buffer check is enabled (see \+\_\+set\+Depth\+Buffer\+Check\+Enabled) 
\begin{DoxyParams}{Parameters}
{\em func} & The comparison between the new depth and the existing depth which must return true for the new pixel to be written. \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a577ced6409b614ab393ca377052a385f}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gab2d4e98b8546d512af93891c7094b717}\label{group___g_l_e_s2_gab2d4e98b8546d512af93891c7094b717}} 
\index{GLES2@{GLES2}!\_setDepthBias@{\_setDepthBias}}
\index{\_setDepthBias@{\_setDepthBias}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setDepthBias()}{\_setDepthBias()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Depth\+Bias (\begin{DoxyParamCaption}\item[{float}]{constant\+Bias,  }\item[{float}]{slope\+Scale\+Bias }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the depth bias, NB you should use the \mbox{\hyperlink{class_ogre_1_1_material}{Material}} version of this. 

\begin{DoxyRemark}{Remarks}
When polygons are coplanar, you can get problems with \textquotesingle{}depth fighting\textquotesingle{} where the pixels from the two polys compete for the same screen pixel. This is particularly a problem for decals (polys attached to another surface to represent details such as bulletholes etc.). 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
A way to combat this problem is to use a depth bias to adjust the depth buffer value used for the decal such that it is slightly higher than the true value, ensuring that the decal appears on top. 
\end{DoxyParagraph}
\begin{DoxyNote}{Note}
The final bias value is a combination of a constant bias and a bias proportional to the maximum depth slope of the polygon being rendered. The final bias is constant\+Bias + slope\+Scale\+Bias $\ast$ maxslope. Slope scale biasing is generally preferable but is not available on older hardware. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em constant\+Bias} & The constant bias value, expressed as a value in homogeneous depth coordinates. \\
\hline
{\em slope\+Scale\+Bias} & The bias value which is factored by the maximum slope of the polygon, see the description above. This is not supported by all cards. \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a56beb1cebbf7f1ac372c666657a151cb}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gac9479a75974623ddabbb83ba8f7eb234}\label{group___g_l_e_s2_gac9479a75974623ddabbb83ba8f7eb234}} 
\index{GLES2@{GLES2}!\_setColourBufferWriteEnabled@{\_setColourBufferWriteEnabled}}
\index{\_setColourBufferWriteEnabled@{\_setColourBufferWriteEnabled}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setColourBufferWriteEnabled()}{\_setColourBufferWriteEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Colour\+Buffer\+Write\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{red,  }\item[{bool}]{green,  }\item[{bool}]{blue,  }\item[{bool}]{alpha }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000137}{Deprecated}}]use set\+Colour\+Blend\+State \end{DoxyRefDesc}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a14f37eed62a9283df3f83241f7c0991a}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gabcac20ccef713d00075e7938e8afd343}\label{group___g_l_e_s2_gabcac20ccef713d00075e7938e8afd343}} 
\index{GLES2@{GLES2}!\_setPolygonMode@{\_setPolygonMode}}
\index{\_setPolygonMode@{\_setPolygonMode}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setPolygonMode()}{\_setPolygonMode()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Polygon\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga68866b02aa7f99e3431337511fbb3345}{Polygon\+Mode}}}]{level }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets how to rasterise triangles, as points, wireframe or solid polys. 



Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a175e831e73f7c539f843907971836125}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gaecdd103b0c6243287f6dfb1be8bc4e08}\label{group___g_l_e_s2_gaecdd103b0c6243287f6dfb1be8bc4e08}} 
\index{GLES2@{GLES2}!setStencilCheckEnabled@{setStencilCheckEnabled}}
\index{setStencilCheckEnabled@{setStencilCheckEnabled}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{setStencilCheckEnabled()}{setStencilCheckEnabled()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::set\+Stencil\+Check\+Enabled (\begin{DoxyParamCaption}\item[{bool}]{enabled }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Turns stencil buffer checking on or off. 

\begin{DoxyRemark}{Remarks}
Stencilling (masking off areas of the rendering target based on the stencil buffer) can be turned on or off using this method. By default, stencilling is disabled. 
\end{DoxyRemark}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a4b259bf4d4e5878ae8066e073d859287}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga50035b687daf76d52a11bf6b851bb902}\label{group___g_l_e_s2_ga50035b687daf76d52a11bf6b851bb902}} 
\index{GLES2@{GLES2}!setStencilBufferParams@{setStencilBufferParams}}
\index{setStencilBufferParams@{setStencilBufferParams}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{setStencilBufferParams()}{setStencilBufferParams()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::set\+Stencil\+Buffer\+Params (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}}}]{func = {\ttfamily \mbox{\hyperlink{group___general_gga0212b4eb264f207d84c1df9425208c7aae10ea1648cd8c9bd90bdaccaa11cbc4e}{C\+M\+P\+F\+\_\+\+A\+L\+W\+A\+Y\+S\+\_\+\+P\+A\+SS}}},  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{ref\+Value = {\ttfamily 0},  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{compare\+Mask = {\ttfamily 0xFFFFFFFF},  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{write\+Mask = {\ttfamily 0xFFFFFFFF},  }\item[{\mbox{\hyperlink{group___render_system_gae8bb1cb809660de802d1d592ba4adb61}{Stencil\+Operation}}}]{stencil\+Fail\+Op = {\ttfamily \mbox{\hyperlink{group___render_system_ggae8bb1cb809660de802d1d592ba4adb61abf640cb28b5020509dc27178f0359511}{S\+O\+P\+\_\+\+K\+E\+EP}}},  }\item[{\mbox{\hyperlink{group___render_system_gae8bb1cb809660de802d1d592ba4adb61}{Stencil\+Operation}}}]{depth\+Fail\+Op = {\ttfamily \mbox{\hyperlink{group___render_system_ggae8bb1cb809660de802d1d592ba4adb61abf640cb28b5020509dc27178f0359511}{S\+O\+P\+\_\+\+K\+E\+EP}}},  }\item[{\mbox{\hyperlink{group___render_system_gae8bb1cb809660de802d1d592ba4adb61}{Stencil\+Operation}}}]{pass\+Op = {\ttfamily \mbox{\hyperlink{group___render_system_ggae8bb1cb809660de802d1d592ba4adb61abf640cb28b5020509dc27178f0359511}{S\+O\+P\+\_\+\+K\+E\+EP}}},  }\item[{bool}]{two\+Sided\+Operation = {\ttfamily false},  }\item[{bool}]{read\+Back\+As\+Texture = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



This method allows you to set all the stencil buffer parameters in one call. 

\begin{DoxyRemark}{Remarks}
The stencil buffer is used to mask out pixels in the render target, allowing you to do effects like mirrors, cut-\/outs, stencil shadows and more. Each of your batches of rendering is likely to ignore the stencil buffer, update it with new values, or apply it to mask the output of the render. The stencil test is\+:
\begin{DoxyPre}
(Reference Value \& Mask) CompareFunction (Stencil Buffer Value \& Mask)\end{DoxyPre}
 The result of this will cause one of 3 actions depending on whether the test fails, succeeds but with the depth buffer check still failing, or succeeds with the depth buffer check passing too. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Unlike other render states, stencilling is left for the application to turn on and off when it requires. This is because you are likely to want to change parameters between batches of arbitrary objects and control the ordering yourself. In order to batch things this way, you\textquotesingle{}ll want to use O\+G\+RE\textquotesingle{}s separate render queue groups (see \mbox{\hyperlink{class_ogre_1_1_render_queue}{Render\+Queue}}) and register a \mbox{\hyperlink{class_ogre_1_1_render_queue_listener}{Render\+Queue\+Listener}} to get notifications between batches. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
There are individual state change methods for each of the parameters set using this method. Note that the default values in this method represent the defaults at system start up too. 
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em func} & The comparison function applied. \\
\hline
{\em ref\+Value} & The reference value used in the comparison \\
\hline
{\em compare\+Mask} & The bitmask applied to both the stencil value and the reference value before comparison \\
\hline
{\em write\+Mask} & The bitmask the controls which bits from ref\+Value will be written to stencil buffer (valid for operations such as S\+O\+P\+\_\+\+R\+E\+P\+L\+A\+CE). the stencil \\
\hline
{\em stencil\+Fail\+Op} & The action to perform when the stencil check fails \\
\hline
{\em depth\+Fail\+Op} & The action to perform when the stencil check passes, but the depth buffer check still fails \\
\hline
{\em pass\+Op} & The action to take when both the stencil and depth check pass. \\
\hline
{\em two\+Sided\+Operation} & If set to true, then if you render both back and front faces (you\textquotesingle{}ll have to turn off culling) then these parameters will apply for front faces, and the inverse of them will happen for back faces (keep remains the same). \\
\hline
{\em read\+Back\+As\+Texture} & D3\+D11 specific \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_ae921e432a4c8123b1571982ed8900105}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gaf28d1fa286f453317a1e889e6fc7de04}\label{group___g_l_e_s2_gaf28d1fa286f453317a1e889e6fc7de04}} 
\index{GLES2@{GLES2}!\_setTextureUnitFiltering@{\_setTextureUnitFiltering}}
\index{\_setTextureUnitFiltering@{\_setTextureUnitFiltering}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setTextureUnitFiltering()}{\_setTextureUnitFiltering()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Texture\+Unit\+Filtering (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{unit,  }\item[{\mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}}]{min\+Filter,  }\item[{\mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}}]{mag\+Filter,  }\item[{\mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}}]{mip\+Filter }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000133}{Deprecated}}]use \+\_\+set\+Sampler \end{DoxyRefDesc}


Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_system_adbc64c669661f87ee2f8db8dd18a0fe5}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga521693302023af1900f5bebacfb01a42}\label{group___g_l_e_s2_ga521693302023af1900f5bebacfb01a42}} 
\index{GLES2@{GLES2}!\_setTextureUnitFiltering@{\_setTextureUnitFiltering}}
\index{\_setTextureUnitFiltering@{\_setTextureUnitFiltering}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setTextureUnitFiltering()}{\_setTextureUnitFiltering()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Texture\+Unit\+Filtering (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{unit,  }\item[{\mbox{\hyperlink{group___general_gac1fc36ec2f4df4b2afa9fa39f9c66c06}{Filter\+Type}}}]{ftype,  }\item[{\mbox{\hyperlink{group___general_ga02306c6246268d35f45ad22278bd5d3d}{Filter\+Options}}}]{filter }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000132}{Deprecated}}]use \+\_\+set\+Sampler \end{DoxyRefDesc}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a1f0f550def3f4caa1173ed6eb0d09031}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga36e40f27ab6ce44b53e4ef94b08a46aa}\label{group___g_l_e_s2_ga36e40f27ab6ce44b53e4ef94b08a46aa}} 
\index{GLES2@{GLES2}!\_render@{\_render}}
\index{\_render@{\_render}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_render()}{\_render()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+render (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_render_operation}{Render\+Operation}} \&}]{op }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Render something to the active viewport. 

Low-\/level rendering interface to perform rendering operations. Unlikely to be used directly by client applications, since the \mbox{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}} and various support classes will be responsible for calling this method. Can only be called between \+\_\+begin\+Scene and \+\_\+end\+Scene


\begin{DoxyParams}{Parameters}
{\em op} & A rendering operation instance, which contains details of the operation to be performed. \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_system_a64961cc3cdc616beb264c51d532c94c1}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gaa8d7e5faf05d5d865573294c48db9a73}\label{group___g_l_e_s2_gaa8d7e5faf05d5d865573294c48db9a73}} 
\index{GLES2@{GLES2}!setScissorTest@{setScissorTest}}
\index{setScissorTest@{setScissorTest}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{setScissorTest()}{setScissorTest()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::set\+Scissor\+Test (\begin{DoxyParamCaption}\item[{bool}]{enabled,  }\item[{size\+\_\+t}]{left = {\ttfamily 0},  }\item[{size\+\_\+t}]{top = {\ttfamily 0},  }\item[{size\+\_\+t}]{right = {\ttfamily 800},  }\item[{size\+\_\+t}]{bottom = {\ttfamily 600} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the \textquotesingle{}scissor region\textquotesingle{} i.\+e. 

the region of the target in which rendering can take place. \begin{DoxyRemark}{Remarks}
This method allows you to \textquotesingle{}mask off\textquotesingle{} rendering in all but a given rectangular area as identified by the parameters to this method. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
Not all systems support this method. Check the \mbox{\hyperlink{class_ogre_1_1_render_system_capabilities}{Render\+System\+Capabilities}} for the R\+S\+C\+\_\+\+S\+C\+I\+S\+S\+O\+R\+\_\+\+T\+E\+ST capability to see if it is supported. 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em enabled} & True to enable the scissor test, false to disable it. \\
\hline
{\em left,top,right,bottom} & The location of the corners of the rectangle, expressed in {\itshape pixels}. \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_ae0cf822105945ccbdc87a071c220be57}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gaab180fa4a2aba714e22ff30d22511d30}\label{group___g_l_e_s2_gaab180fa4a2aba714e22ff30d22511d30}} 
\index{GLES2@{GLES2}!clearFrameBuffer@{clearFrameBuffer}}
\index{clearFrameBuffer@{clearFrameBuffer}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{clearFrameBuffer()}{clearFrameBuffer()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::clear\+Frame\+Buffer (\begin{DoxyParamCaption}\item[{unsigned int}]{buffers,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_colour_value}{Colour\+Value}} \&}]{colour = {\ttfamily \mbox{\hyperlink{class_ogre_1_1_colour_value_a7f8a06f2a9dd645417c36b560f496c1a}{Colour\+Value\+::\+Black}}},  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{depth = {\ttfamily 1.0f},  }\item[{unsigned short}]{stencil = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Clears one or more frame buffers on the active render target. 


\begin{DoxyParams}{Parameters}
{\em buffers} & Combination of one or more elements of Frame\+Buffer\+Type denoting which buffers are to be cleared \\
\hline
{\em colour} & The colour to clear the colour buffer with, if enabled \\
\hline
{\em depth} & The value to initialise the depth buffer with, if enabled \\
\hline
{\em stencil} & The value to initialise the stencil buffer with, if enabled. \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_aae6b073aaf42ecea55bb972fd5166f42}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga680c79fd34fbc4b2cce31b2356b6795a}\label{group___g_l_e_s2_ga680c79fd34fbc4b2cce31b2356b6795a}} 
\index{GLES2@{GLES2}!createHardwareOcclusionQuery@{createHardwareOcclusionQuery}}
\index{createHardwareOcclusionQuery@{createHardwareOcclusionQuery}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{createHardwareOcclusionQuery()}{createHardwareOcclusionQuery()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_hardware_occlusion_query}{Hardware\+Occlusion\+Query}}$\ast$ Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::create\+Hardware\+Occlusion\+Query (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Create an object for performing hardware occlusion queries. 



Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a2b7725995f951adff614db3874c8566c}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga852ee2cf631ec79637b4d799727587b8}\label{group___g_l_e_s2_ga852ee2cf631ec79637b4d799727587b8}} 
\index{GLES2@{GLES2}!OGRE\_MUTEX@{OGRE\_MUTEX}}
\index{OGRE\_MUTEX@{OGRE\_MUTEX}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{OGRE\_MUTEX()}{OGRE\_MUTEX()}}
{\footnotesize\ttfamily Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+O\+G\+R\+E\+\_\+\+M\+U\+T\+EX (\begin{DoxyParamCaption}\item[{m\+Thread\+Init\+Mutex}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{group___g_l_e_s2_gaf260eadeba4a0ef3e330a8c0ea73e606}\label{group___g_l_e_s2_gaf260eadeba4a0ef3e330a8c0ea73e606}} 
\index{GLES2@{GLES2}!registerThread@{registerThread}}
\index{registerThread@{registerThread}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{registerThread()}{registerThread()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::register\+Thread (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Register the an additional thread which may make calls to rendersystem-\/related objects. 

\begin{DoxyRemark}{Remarks}
This method should only be called by additional threads during their initialisation. If they intend to use hardware rendering system resources they should call this method before doing anything related to the render system. Some rendering A\+P\+Is require a per-\/thread setup and this method will sort that out. It is also necessary to call unregister\+Thread before the thread shuts down. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
This method takes no parameters -\/ it must be called from the thread being registered and that context is enough. 
\end{DoxyNote}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_aae6874b97f0b5cb00e0bf32e10652540}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gaa6bfad53622bb5f865871a3918bb4fac}\label{group___g_l_e_s2_gaa6bfad53622bb5f865871a3918bb4fac}} 
\index{GLES2@{GLES2}!unregisterThread@{unregisterThread}}
\index{unregisterThread@{unregisterThread}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{unregisterThread()}{unregisterThread()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::unregister\+Thread (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Unregister an additional thread which may make calls to rendersystem-\/related objects. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_render_system_aae6874b97f0b5cb00e0bf32e10652540}{Render\+System\+::register\+Thread}} 
\end{DoxySeeAlso}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a64138779fab3c6b157f2de40c3831e10}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga8facb30ed47df20d9df6de77c23c5398}\label{group___g_l_e_s2_ga8facb30ed47df20d9df6de77c23c5398}} 
\index{GLES2@{GLES2}!preExtraThreadsStarted@{preExtraThreadsStarted}}
\index{preExtraThreadsStarted@{preExtraThreadsStarted}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{preExtraThreadsStarted()}{preExtraThreadsStarted()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::pre\+Extra\+Threads\+Started (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might access the rendering A\+PI are registered. 

\begin{DoxyRemark}{Remarks}
Call this from your main thread before starting your other threads. 
\end{DoxyRemark}
\begin{DoxyNote}{Note}
If you start your own threads, there is a specific startup sequence which must be respected and requires synchronisation between the threads\+:


\begin{DoxyEnumerate}
\item \mbox{[}Main thread\mbox{]} Call \mbox{\hyperlink{group___g_l_e_s2_ga8facb30ed47df20d9df6de77c23c5398}{pre\+Extra\+Threads\+Started()}}
\item \mbox{[}Main thread\mbox{]} Start other thread, wait
\item \mbox{[}Other thread\mbox{]} Call \mbox{\hyperlink{group___g_l_e_s2_gaf260eadeba4a0ef3e330a8c0ea73e606}{register\+Thread()}}, notify main thread \& continue
\item \mbox{[}Main thread\mbox{]} Wake up \& call \mbox{\hyperlink{group___g_l_e_s2_ga1767016ed55e3877d47464882aef9a27}{post\+Extra\+Threads\+Started()}}
\end{DoxyEnumerate}

Once this init sequence is completed the threads are independent but this startup sequence must be respected. 
\end{DoxyNote}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a77766da49c29112c390fde51069f543a}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga1767016ed55e3877d47464882aef9a27}\label{group___g_l_e_s2_ga1767016ed55e3877d47464882aef9a27}} 
\index{GLES2@{GLES2}!postExtraThreadsStarted@{postExtraThreadsStarted}}
\index{postExtraThreadsStarted@{postExtraThreadsStarted}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{postExtraThreadsStarted()}{postExtraThreadsStarted()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::post\+Extra\+Threads\+Started (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Tell the rendersystem to perform any tasks it needs to directly after other threads which might access the rendering A\+PI are registered. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_render_system_a77766da49c29112c390fde51069f543a}{Render\+System\+::pre\+Extra\+Threads\+Started}} 
\end{DoxySeeAlso}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a460fb2b67acdea8e3a72933e0348a82d}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gaa800af7ac51f670a3b8e4fc4ac320790}\label{group___g_l_e_s2_gaa800af7ac51f670a3b8e4fc4ac320790}} 
\index{GLES2@{GLES2}!\_getStateCacheManager@{\_getStateCacheManager}}
\index{\_getStateCacheManager@{\_getStateCacheManager}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_getStateCacheManager()}{\_getStateCacheManager()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_g_l_e_s2_state_cache_manager}{G\+L\+E\+S2\+State\+Cache\+Manager}}$\ast$ Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+get\+State\+Cache\+Manager (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{group___g_l_e_s2_ga22c282474176319fd19e77f343313c7e}\label{group___g_l_e_s2_ga22c282474176319fd19e77f343313c7e}} 
\index{GLES2@{GLES2}!\_createVao@{\_createVao}}
\index{\_createVao@{\_createVao}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_createVao()}{\_createVao()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+create\+Vao (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Create V\+AO on current context. 



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_g_l_render_system_common_adcab922f596a9d320f4d7364170630d6}{Ogre\+::\+G\+L\+Render\+System\+Common}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga098f0c566b7c08c3d368a7fdb24ddeee}\label{group___g_l_e_s2_ga098f0c566b7c08c3d368a7fdb24ddeee}} 
\index{GLES2@{GLES2}!\_bindVao@{\_bindVao}}
\index{\_bindVao@{\_bindVao}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_bindVao()}{\_bindVao()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+bind\+Vao (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}} $\ast$}]{context,  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{vao }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Bind V\+AO, context should be equal to current context, as V\+A\+Os are not shared ~\newline
 



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_g_l_render_system_common_aaff5306b91066a812a20f579b2e45d30}{Ogre\+::\+G\+L\+Render\+System\+Common}}.

\mbox{\Hypertarget{group___g_l_e_s2_gacc34de20d4591bb3b990724576663085}\label{group___g_l_e_s2_gacc34de20d4591bb3b990724576663085}} 
\index{GLES2@{GLES2}!\_destroyVao@{\_destroyVao}}
\index{\_destroyVao@{\_destroyVao}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_destroyVao()}{\_destroyVao()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+destroy\+Vao (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}} $\ast$}]{context,  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{vao }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Destroy V\+AO immediately or defer if it was created on other context. 



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_g_l_render_system_common_ab63c7bbf924aa7d8494c0a2439ce1590}{Ogre\+::\+G\+L\+Render\+System\+Common}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga32949aa479b9280d8b1309d22916a0b4}\label{group___g_l_e_s2_ga32949aa479b9280d8b1309d22916a0b4}} 
\index{GLES2@{GLES2}!\_destroyFbo@{\_destroyFbo}}
\index{\_destroyFbo@{\_destroyFbo}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_destroyFbo()}{\_destroyFbo()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+destroy\+Fbo (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}} $\ast$}]{context,  }\item[{\mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}}]{fbo }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Destroy F\+BO immediately or defer if it was created on other context. 



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_g_l_render_system_common_ad4d90e3e01ce12f90247e494c21fe8b9}{Ogre\+::\+G\+L\+Render\+System\+Common}}.

\mbox{\Hypertarget{group___g_l_e_s2_gab7faf71d5da9f82a2008c0c4207a1ac7}\label{group___g_l_e_s2_gab7faf71d5da9f82a2008c0c4207a1ac7}} 
\index{GLES2@{GLES2}!\_unregisterContext@{\_unregisterContext}}
\index{\_unregisterContext@{\_unregisterContext}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_unregisterContext()}{\_unregisterContext()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+unregister\+Context (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}} $\ast$}]{context }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Unregister a render target-\/$>$context mapping. 

If the context of target is the current context, change the context to the main context so it can be destroyed safely.

\begin{DoxyNote}{Note}
This is automatically called by the destructor of \mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}}. 
\end{DoxyNote}


Implements \mbox{\hyperlink{class_ogre_1_1_g_l_render_system_common_a78261a33573fc3b37170fa4212c4c377}{Ogre\+::\+G\+L\+Render\+System\+Common}}.

\mbox{\Hypertarget{group___g_l_e_s2_gaade56a7ee4c9a8149a371618126297dc}\label{group___g_l_e_s2_gaade56a7ee4c9a8149a371618126297dc}} 
\index{GLES2@{GLES2}!\_switchContext@{\_switchContext}}
\index{\_switchContext@{\_switchContext}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_switchContext()}{\_switchContext()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+switch\+Context (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_g_l_context}{G\+L\+Context}} $\ast$}]{context }\end{DoxyParamCaption})}



Switch GL context, dealing with involved internal cached states too. 

\mbox{\Hypertarget{group___g_l_e_s2_ga0a1b6518755d22dd2d6924f0581ae7d7}\label{group___g_l_e_s2_ga0a1b6518755d22dd2d6924f0581ae7d7}} 
\index{GLES2@{GLES2}!\_oneTimeContextInitialization@{\_oneTimeContextInitialization}}
\index{\_oneTimeContextInitialization@{\_oneTimeContextInitialization}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_oneTimeContextInitialization()}{\_oneTimeContextInitialization()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+one\+Time\+Context\+Initialization (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



One time initialization for the Render\+State of a context. 

Things that only need to be set once, like the Lighting\+Model can be defined here. \mbox{\Hypertarget{group___g_l_e_s2_gac83a59b0472953bfe4d72104cacadc53}\label{group___g_l_e_s2_gac83a59b0472953bfe4d72104cacadc53}} 
\index{GLES2@{GLES2}!initialiseContext@{initialiseContext}}
\index{initialiseContext@{initialiseContext}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{initialiseContext()}{initialiseContext()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::initialise\+Context (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_window}{Render\+Window}} $\ast$}]{primary }\end{DoxyParamCaption})}

\mbox{\Hypertarget{group___g_l_e_s2_ga432c00c2cb1369b3162c1b4694fb563a}\label{group___g_l_e_s2_ga432c00c2cb1369b3162c1b4694fb563a}} 
\index{GLES2@{GLES2}!\_setRenderTarget@{\_setRenderTarget}}
\index{\_setRenderTarget@{\_setRenderTarget}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setRenderTarget()}{\_setRenderTarget()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Render\+Target (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$}]{target }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set current render target to target, enabling its GL context if needed. 



Implements \mbox{\hyperlink{class_ogre_1_1_render_system_ac60a51e4a927728c09243075b32ecfce}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gacadd6b4ab828568d763b707eb4199b93}\label{group___g_l_e_s2_gacadd6b4ab828568d763b707eb4199b93}} 
\index{GLES2@{GLES2}!convertCompareFunction@{convertCompareFunction}}
\index{convertCompareFunction@{convertCompareFunction}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{convertCompareFunction()}{convertCompareFunction()}}
{\footnotesize\ttfamily G\+Lint Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::convert\+Compare\+Function (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}}}]{func }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{group___g_l_e_s2_gae96b47494abeb2761223b9408a37b2b9}\label{group___g_l_e_s2_gae96b47494abeb2761223b9408a37b2b9}} 
\index{GLES2@{GLES2}!convertStencilOp@{convertStencilOp}}
\index{convertStencilOp@{convertStencilOp}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{convertStencilOp()}{convertStencilOp()}}
{\footnotesize\ttfamily G\+Lint Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::convert\+Stencil\+Op (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___render_system_gae8bb1cb809660de802d1d592ba4adb61}{Stencil\+Operation}}}]{op,  }\item[{bool}]{invert = {\ttfamily false} }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{group___g_l_e_s2_gad1b0cf3f7aea1a2f2bb3d8762500282f}\label{group___g_l_e_s2_gad1b0cf3f7aea1a2f2bb3d8762500282f}} 
\index{GLES2@{GLES2}!bindGpuProgram@{bindGpuProgram}}
\index{bindGpuProgram@{bindGpuProgram}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{bindGpuProgram()}{bindGpuProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::bind\+Gpu\+Program (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_gpu_program}{Gpu\+Program}} $\ast$}]{prg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Binds a given \mbox{\hyperlink{class_ogre_1_1_gpu_program}{Gpu\+Program}} (but not the parameters). 

\begin{DoxyRemark}{Remarks}
Only one \mbox{\hyperlink{class_ogre_1_1_gpu_program}{Gpu\+Program}} of each type can be bound at once, binding another one will simply replace the existing one. 
\end{DoxyRemark}


Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_system_ae8144a770f5bbe9390928abf24d37b16}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga564175c3cb628ac2deeea6d98d4e4bc0}\label{group___g_l_e_s2_ga564175c3cb628ac2deeea6d98d4e4bc0}} 
\index{GLES2@{GLES2}!unbindGpuProgram@{unbindGpuProgram}}
\index{unbindGpuProgram@{unbindGpuProgram}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{unbindGpuProgram()}{unbindGpuProgram()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::unbind\+Gpu\+Program (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}}]{gptype }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Unbinds Gpu\+Programs of a given Gpu\+Program\+Type. 

\begin{DoxyRemark}{Remarks}
This returns the pipeline to fixed-\/function processing for this type. 
\end{DoxyRemark}


Reimplemented from \mbox{\hyperlink{class_ogre_1_1_render_system_a045731ce43fe553744e69664d5d648b3}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga9c3c59236b71f033101d6d63f1e2af94}\label{group___g_l_e_s2_ga9c3c59236b71f033101d6d63f1e2af94}} 
\index{GLES2@{GLES2}!bindGpuProgramParameters@{bindGpuProgramParameters}}
\index{bindGpuProgramParameters@{bindGpuProgramParameters}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{bindGpuProgramParameters()}{bindGpuProgramParameters()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::bind\+Gpu\+Program\+Parameters (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___resources_gad08e89fa63e81d061ea9e2f37664976e}{Gpu\+Program\+Type}}}]{gptype,  }\item[{const \mbox{\hyperlink{namespace_ogre_ae2a8e4debf1ea6d6cc2b6795e3174f38}{Gpu\+Program\+Parameters\+Ptr}} \&}]{params,  }\item[{\mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}}}]{variability\+Mask }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Bind Gpu program parameters. 


\begin{DoxyParams}{Parameters}
{\em gptype} & The type of program to bind the parameters to \\
\hline
{\em params} & The parameters to bind \\
\hline
{\em variability\+Mask} & A mask of Gpu\+Param\+Variability identifying which params need binding \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a19fdcb9443c1786787c09990a71ecd4f}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga2ed07f074ae69826c8090cd8541b67a5}\label{group___g_l_e_s2_ga2ed07f074ae69826c8090cd8541b67a5}} 
\index{GLES2@{GLES2}!\_setSeparateSceneBlending@{\_setSeparateSceneBlending}}
\index{\_setSeparateSceneBlending@{\_setSeparateSceneBlending}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setSeparateSceneBlending()}{\_setSeparateSceneBlending()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Separate\+Scene\+Blending (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{source\+Factor,  }\item[{\mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{dest\+Factor,  }\item[{\mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{source\+Factor\+Alpha,  }\item[{\mbox{\hyperlink{group___materials_ga41c76d419d6c9c205a6c1d3b42872213}{Scene\+Blend\+Factor}}}]{dest\+Factor\+Alpha,  }\item[{\mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}}}]{op,  }\item[{\mbox{\hyperlink{group___materials_gaa7a12a72231aedf6e33d58aafc11214a}{Scene\+Blend\+Operation}}}]{alpha\+Op }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}





\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000136}{Deprecated}}]use set\+Colour\+Blend\+State \end{DoxyRefDesc}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a00289b710ac8817153afd820827cd49a}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga817c719f6b647354c82559324ecbdc39}\label{group___g_l_e_s2_ga817c719f6b647354c82559324ecbdc39}} 
\index{GLES2@{GLES2}!\_setAlphaRejectSettings@{\_setAlphaRejectSettings}}
\index{\_setAlphaRejectSettings@{\_setAlphaRejectSettings}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_setAlphaRejectSettings()}{\_setAlphaRejectSettings()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+set\+Alpha\+Reject\+Settings (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group___general_ga0212b4eb264f207d84c1df9425208c7a}{Compare\+Function}}}]{func,  }\item[{unsigned char}]{value,  }\item[{bool}]{alpha\+To\+Coverage }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the global alpha rejection approach for future renders. 

By default images are rendered regardless of texture alpha. This method lets you change that. 
\begin{DoxyParams}{Parameters}
{\em func} & The comparison function which must pass for a pixel to be written. \\
\hline
{\em value} & The value to compare each pixels alpha value to (0-\/255) \\
\hline
{\em alpha\+To\+Coverage} & Whether to enable alpha to coverage, if supported \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a6a3facdc0f1b8c68af65598fd3fd34aa}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga3f58ee26c14bf54639eb2cdaf054c11b}\label{group___g_l_e_s2_ga3f58ee26c14bf54639eb2cdaf054c11b}} 
\index{GLES2@{GLES2}!getDisplayMonitorCount@{getDisplayMonitorCount}}
\index{getDisplayMonitorCount@{getDisplayMonitorCount}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{getDisplayMonitorCount()}{getDisplayMonitorCount()}}
{\footnotesize\ttfamily unsigned int Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::get\+Display\+Monitor\+Count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Gets the number of display monitors. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_ogre_1_1_root_a14e8da7f3396ba7d22940006c6cba55d}{Root\+::get\+Display\+Monitor\+Count}} 
\end{DoxySeeAlso}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_aac481d80a88211d8eed2f5f7dc4c6afe}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga5ee9e6efc4f43553d59498e31f670690}\label{group___g_l_e_s2_ga5ee9e6efc4f43553d59498e31f670690}} 
\index{GLES2@{GLES2}!\_destroyDepthBuffer@{\_destroyDepthBuffer}}
\index{\_destroyDepthBuffer@{\_destroyDepthBuffer}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_destroyDepthBuffer()}{\_destroyDepthBuffer()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+destroy\+Depth\+Buffer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_target}{Render\+Target}} $\ast$}]{p\+Render\+Wnd }\end{DoxyParamCaption})}

\mbox{\Hypertarget{group___g_l_e_s2_gaa9d66fa2deb73aa6577716a9e3fc911c}\label{group___g_l_e_s2_gaa9d66fa2deb73aa6577716a9e3fc911c}} 
\index{GLES2@{GLES2}!beginProfileEvent@{beginProfileEvent}}
\index{beginProfileEvent@{beginProfileEvent}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{beginProfileEvent()}{beginProfileEvent()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::begin\+Profile\+Event (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{event\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



This marks the beginning of an event for G\+PU profiling. 



Implements \mbox{\hyperlink{class_ogre_1_1_render_system_acdcb8c0f6316a444b592882e1b7bb6c6}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_ga5bbe15aca9033a03c1e91f8d685484a2}\label{group___g_l_e_s2_ga5bbe15aca9033a03c1e91f8d685484a2}} 
\index{GLES2@{GLES2}!endProfileEvent@{endProfileEvent}}
\index{endProfileEvent@{endProfileEvent}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{endProfileEvent()}{endProfileEvent()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::end\+Profile\+Event (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Ends the currently active G\+PU profiling event. 



Implements \mbox{\hyperlink{class_ogre_1_1_render_system_a1b6abe6712afe1a695d015216ae96459}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gaaaf19428429c81faca674b37f578b3c6}\label{group___g_l_e_s2_gaaaf19428429c81faca674b37f578b3c6}} 
\index{GLES2@{GLES2}!markProfileEvent@{markProfileEvent}}
\index{markProfileEvent@{markProfileEvent}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{markProfileEvent()}{markProfileEvent()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::mark\+Profile\+Event (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{event\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Marks an instantaneous event for graphics profilers. 

~\newline
 This is equivalent to calling \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group___g_l_e_s2_gaa9d66fa2deb73aa6577716a9e3fc911c}{begin\+Profile\+Event}} and 

\mbox{\hyperlink{group___g_l_e_s2_ga5bbe15aca9033a03c1e91f8d685484a2}{end\+Profile\+Event}} back to back. 
\end{DoxySeeAlso}


Implements \mbox{\hyperlink{class_ogre_1_1_render_system_aaafa1dfb6fcf978786add8ee2b02dfb5}{Ogre\+::\+Render\+System}}.

\mbox{\Hypertarget{group___g_l_e_s2_gaf2dbe22e9aaa316d7a22892e7efcac61}\label{group___g_l_e_s2_gaf2dbe22e9aaa316d7a22892e7efcac61}} 
\index{GLES2@{GLES2}!\_copyContentsToMemory@{\_copyContentsToMemory}}
\index{\_copyContentsToMemory@{\_copyContentsToMemory}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{\_copyContentsToMemory()}{\_copyContentsToMemory()}}
{\footnotesize\ttfamily void Ogre\+::\+G\+L\+E\+S2\+Render\+System\+::\+\_\+copy\+Contents\+To\+Memory (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_viewport}{Viewport}} $\ast$}]{vp,  }\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}{Render\+Window\+::\+Frame\+Buffer}}}]{buffer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



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_g_l_render_system_common_a6ada96dc5fb6db593605aab1e6569377}{Ogre\+::\+G\+L\+Render\+System\+Common}}.



\doxysubsection{Friends}
\mbox{\Hypertarget{group___g_l_e_s2_gae3fef941757423683223183c2374e5d9}\label{group___g_l_e_s2_gae3fef941757423683223183c2374e5d9}} 
\index{GLES2@{GLES2}!ShaderGeneratorTechniqueResolverListener@{ShaderGeneratorTechniqueResolverListener}}
\index{ShaderGeneratorTechniqueResolverListener@{ShaderGeneratorTechniqueResolverListener}!GLES2@{GLES2}}
\doxysubsubsection{\texorpdfstring{ShaderGeneratorTechniqueResolverListener}{ShaderGeneratorTechniqueResolverListener}}
{\footnotesize\ttfamily friend class Shader\+Generator\+Technique\+Resolver\+Listener\hspace{0.3cm}{\ttfamily [friend]}}

