<html> <head> <title>Ogre::GTKGLSupport class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.2.16 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>Ogre::GTKGLSupport Class Reference</h1><code>#include <<a class="el" href="OgreGTKGLSupport_8h-source.html">OgreGTKGLSupport.h</a>></code> <p> Inheritance diagram for Ogre::GTKGLSupport:<p><center><img src="classOgre_1_1GTKGLSupport__inherit__graph.png" border="0" usemap="#Ogre_1_1GTKGLSupport__inherit__map" alt="Inheritance graph"></center> <map name="Ogre_1_1GTKGLSupport__inherit__map"> <area href="classOgre_1_1GLSupport.html" shape="rect" coords="20,36,132,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::GTKGLSupport:<p><center><img src="classOgre_1_1GTKGLSupport__coll__graph.png" border="0" usemap="#Ogre_1_1GTKGLSupport__coll__map" alt="Collaboration graph"></center> <map name="Ogre_1_1GTKGLSupport__coll__map"> <area href="classOgre_1_1GLSupport.html" shape="rect" coords="20,139,132,121" alt=""> <area href="classOgre_1_1String.html" shape="rect" coords="36,35,116,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1GTKGLSupport-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta0">GTKGLSupport</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta1">addConfig</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Add any special config values to the system.</em> <a href="#Ogre_1_1GTKGLSupporta1"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta2">setConfigOptions</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &name, const <a class="el" href="classOgre_1_1String.html">String</a> &value)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1String.html">String</a> </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta3">validateConfig</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Make sure all the extra options are valid.</em> <a href="#Ogre_1_1GTKGLSupporta3"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta4">createWindow</a> (bool autoCreateWindow, <a class="el" href="classOgre_1_1GLRenderSystem.html">GLRenderSystem</a> *renderSystem)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta5">newWindow</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &name, unsigned int width, unsigned int height, unsigned int colourDepth, bool fullScreen, int left, int top, bool depthBuffer, <a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a> *parentWindowHandle, bool vsync)</td></tr> <tr><td> </td><td><font size=-1><em>Create a specific instance of a render window.</em> <a href="#Ogre_1_1GTKGLSupporta5"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta6">start</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Start anything special.</em> <a href="#Ogre_1_1GTKGLSupporta6"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta7">stop</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Stop anything special.</em> <a href="#Ogre_1_1GTKGLSupporta7"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta8">begin_context</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Set the correct context as active.</em> <a href="#Ogre_1_1GTKGLSupporta8"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta9">end_context</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Stop the currrent context.</em> <a href="#Ogre_1_1GTKGLSupporta9"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta10">initialiseExtensions</a> (void)</td></tr> <tr><td> </td><td><font size=-1><em>Intialises GL extensions, must be done AFTER the GL context has been established.</em> <a href="#Ogre_1_1GTKGLSupporta10"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta11">checkMinGLVersion</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &v) const</td></tr> <tr><td> </td><td><font size=-1><em>compare GL version numbers</em> <a href="#Ogre_1_1GTKGLSupporta11"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta12">checkExtension</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &ext) const</td></tr> <tr><td> </td><td><font size=-1><em>Check if an extension is available.</em> <a href="#Ogre_1_1GTKGLSupporta12"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void * </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta13">getProcAddress</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &procname)</td></tr> <tr><td> </td><td><font size=-1><em>Get the address of a function.</em> <a href="#Ogre_1_1GTKGLSupporta13"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1SDLGLSupporta9">setConfigOption</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &name, const <a class="el" href="classOgre_1_1String.html">String</a> &value)</td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a122">ConfigOptionMap</a> & </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1Win32GLSupporta8">getConfigOptions</a> (void)</td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="classOgre_1_1String.html">String</a> & </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1Win32GLSupporta11">getGLVendor</a> (void) const</td></tr> <tr><td> </td><td><font size=-1><em>get vendor information</em> <a href="#Ogre_1_1Win32GLSupporta11"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>const <a class="el" href="classOgre_1_1String.html">String</a> & </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1Win32GLSupporta12">getGLVersion</a> (void) const</td></tr> <tr><td> </td><td><font size=-1><em>get version information</em> <a href="#Ogre_1_1Win32GLSupporta12"></a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a122">ConfigOptionMap</a> </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1Win32GLSupportn0">mOptions</a></td></tr> <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>Gtk::Main </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporto0">_kit</a></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporto1">_context_ref</a></td></tr> <tr><td nowrap align=right valign=top>OGREWidget * </td><td valign=bottom><a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporto2">_ogre_widget</a></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1GTKGLSupporta0" doxytag="Ogre::GTKGLSupport::GTKGLSupport"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> GTKGLSupport::GTKGLSupport </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00035">35</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1GTKGLSupporta1" doxytag="Ogre::GTKGLSupport::addConfig"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void GTKGLSupport::addConfig </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Add any special config values to the system. <p> Must have a "Full Screen" value that is a bool and a "Video Mode" value that is a string in the form of wxh <p> Implements <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta2">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00041">41</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. <p> References <a class="el" href="OgreConfigOptionMap_8h-source.html#l00044">Ogre::_ConfigOption::currentValue</a>, <a class="el" href="OgreConfigOptionMap_8h-source.html#l00046">Ogre::_ConfigOption::immutable</a>, <a class="el" href="OgreGLSupport_8h-source.html#l00103">Ogre::GLSupport::mOptions</a>, <a class="el" href="OgreConfigOptionMap_8h-source.html#l00043">Ogre::_ConfigOption::name</a>, and <a class="el" href="OgreConfigOptionMap_8h-source.html#l00045">Ogre::_ConfigOption::possibleValues</a>. </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta8" doxytag="Ogre::GTKGLSupport::begin_context"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void GTKGLSupport::begin_context </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the correct context as active. <p> <p> Reimplemented from <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta9">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00128">128</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. <p> References <a class="el" href="OgreGTKGLSupport_8h-source.html#l00061">_context_ref</a>, and <a class="el" href="OgreGTKGLSupport_8h-source.html#l00062">_ogre_widget</a>. </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta12" doxytag="Ogre::GTKGLSupport::checkExtension"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool GTKGLSupport::checkExtension </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname1" valign="top" nowrap> <em>ext</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Check if an extension is available. <p> <p> Reimplemented from <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta14">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00163">163</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta11" doxytag="Ogre::GTKGLSupport::checkMinGLVersion"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool GTKGLSupport::checkMinGLVersion </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname1" valign="top" nowrap> <em>v</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> compare GL version numbers <p> <p> Reimplemented from <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta13">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00151">151</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta4" doxytag="Ogre::GTKGLSupport::createWindow"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a> * GTKGLSupport::createWindow </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname" nowrap> <em>autoCreateWindow</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1GLRenderSystem.html">GLRenderSystem</a> * </td> <td class="mdname" nowrap> <em>renderSystem</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Implements <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta6">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00069">69</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. <p> References <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00502">Ogre::GLRenderSystem::createRenderWindow</a>(), <a class="el" href="OgreException_8h-source.html#l00033">Except</a>, and <a class="el" href="OgreGLSupport_8h-source.html#l00103">Ogre::GLSupport::mOptions</a>. </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta9" doxytag="Ogre::GTKGLSupport::end_context"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void GTKGLSupport::end_context </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Stop the currrent context. <p> <p> Reimplemented from <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta10">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00135">135</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. <p> References <a class="el" href="OgreGTKGLSupport_8h-source.html#l00061">_context_ref</a>, <a class="el" href="OgreGTKGLSupport_8h-source.html#l00062">_ogre_widget</a>, and <a class="el" href="OgreException_8h-source.html#l00033">Except</a>. </td> </tr> </table> <a name="Ogre_1_1Win32GLSupporta8" doxytag="Ogre::GTKGLSupport::getConfigOptions"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a122">ConfigOptionMap</a> & Ogre::GLSupport::getConfigOptions </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGLSupport_8cpp-source.html#l00041">41</a> of file <a class="el" href="OgreGLSupport_8cpp-source.html">OgreGLSupport.cpp</a>. <p> References <a class="el" href="OgreConfigOptionMap_8h-source.html#l00049">Ogre::ConfigOptionMap</a>, and <a class="el" href="OgreGLSupport_8h-source.html#l00103">Ogre::GLSupport::mOptions</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00209">Ogre::GLRenderSystem::getConfigOptions</a>(). </td> </tr> </table> <a name="Ogre_1_1Win32GLSupporta11" doxytag="Ogre::GTKGLSupport::getGLVendor"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1String.html">String</a>& Ogre::GLSupport::getGLVendor </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get vendor information <p> <p> Definition at line <a class="el" href="OgreGLSupport_8h-source.html#l00070">70</a> of file <a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a>. <p> References <a class="el" href="OgreGLSupport_8h-source.html#l00109">Ogre::GLSupport::mVendor</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00236">Ogre::GLRenderSystem::initGL</a>(). </td> </tr> </table> <a name="Ogre_1_1Win32GLSupporta12" doxytag="Ogre::GTKGLSupport::getGLVersion"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1String.html">String</a>& Ogre::GLSupport::getGLVersion </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> get version information <p> <p> Definition at line <a class="el" href="OgreGLSupport_8h-source.html#l00078">78</a> of file <a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a>. <p> References <a class="el" href="OgreGLSupport_8h-source.html#l00108">Ogre::GLSupport::mVersion</a>. </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta13" doxytag="Ogre::GTKGLSupport::getProcAddress"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void * GTKGLSupport::getProcAddress </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname1" valign="top" nowrap> <em>procname</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Get the address of a function. <p> <p> Implements <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta16">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00168">168</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta10" doxytag="Ogre::GTKGLSupport::initialiseExtensions"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void GTKGLSupport::initialiseExtensions </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Intialises GL extensions, must be done AFTER the GL context has been established. <p> <p> Reimplemented from <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta15">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00146">146</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta5" doxytag="Ogre::GTKGLSupport::newWindow"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a> * GTKGLSupport::newWindow </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>name</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>width</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>height</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>colourDepth</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>fullScreen</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>left</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>top</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>depthBuffer</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a> * </td> <td class="mdname" nowrap> <em>parentWindowHandle</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>vsync</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Create a specific instance of a render window. <p> <p> Implements <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta7">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00100">100</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. <p> References <a class="el" href="OgreGTKGLSupport_8h-source.html#l00062">_ogre_widget</a>. </td> </tr> </table> <a name="Ogre_1_1SDLGLSupporta9" doxytag="Ogre::GTKGLSupport::setConfigOption"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::GLSupport::setConfigOption </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>name</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Reimplemented in <a class="el" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta1">Ogre::Win32GLSupport</a>. <p> Definition at line <a class="el" href="OgreGLSupport_8cpp-source.html#l00033">33</a> of file <a class="el" href="OgreGLSupport_8cpp-source.html">OgreGLSupport.cpp</a>. <p> References <a class="el" href="OgreGLSupport_8h-source.html#l00103">Ogre::GLSupport::mOptions</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00214">Ogre::GLRenderSystem::setConfigOption</a>(). </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta2" doxytag="Ogre::GTKGLSupport::setConfigOptions"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::GTKGLSupport::setConfigOptions </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>name</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classOgre_1_1String.html">String</a> & </td> <td class="mdname" nowrap> <em>value</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta6" doxytag="Ogre::GTKGLSupport::start"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void GTKGLSupport::start </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Start anything special. <p> <p> Implements <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta8">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00112">112</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta7" doxytag="Ogre::GTKGLSupport::stop"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void GTKGLSupport::stop </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Stop anything special. <p> <p> Implements <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta9">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00120">120</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporta3" doxytag="Ogre::GTKGLSupport::validateConfig"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1String.html">String</a> GTKGLSupport::validateConfig </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Make sure all the extra options are valid. <p> <dl compact><dt><b> Returns: </b><dd> string with error message </dl> <p> Implements <a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta4">Ogre::GLSupport</a>. <p> Definition at line <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00064">64</a> of file <a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a>. </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1GTKGLSupporto1" doxytag="Ogre::GTKGLSupport::_context_ref"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Ogre::GTKGLSupport::_context_ref<code> [private]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGTKGLSupport_8h-source.html#l00061">61</a> of file <a class="el" href="OgreGTKGLSupport_8h-source.html">OgreGTKGLSupport.h</a>. <p> Referenced by <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00128">begin_context</a>(), and <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00135">end_context</a>(). </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporto0" doxytag="Ogre::GTKGLSupport::_kit"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Gtk::Main Ogre::GTKGLSupport::_kit<code> [private]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGTKGLSupport_8h-source.html#l00060">60</a> of file <a class="el" href="OgreGTKGLSupport_8h-source.html">OgreGTKGLSupport.h</a>. </td> </tr> </table> <a name="Ogre_1_1GTKGLSupporto2" doxytag="Ogre::GTKGLSupport::_ogre_widget"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OGREWidget* Ogre::GTKGLSupport::_ogre_widget<code> [private]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGTKGLSupport_8h-source.html#l00062">62</a> of file <a class="el" href="OgreGTKGLSupport_8h-source.html">OgreGTKGLSupport.h</a>. <p> Referenced by <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00128">begin_context</a>(), <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00135">end_context</a>(), and <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00100">newWindow</a>(). </td> </tr> </table> <a name="Ogre_1_1Win32GLSupportn0" doxytag="Ogre::GTKGLSupport::mOptions"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a122">ConfigOptionMap</a> Ogre::GLSupport::mOptions<code> [protected, inherited]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreGLSupport_8h-source.html#l00103">103</a> of file <a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a>. <p> Referenced by <a class="el" href="OgreWin32GLSupport_8cpp-source.html#l00021">Ogre::Win32GLSupport::addConfig</a>(), <a class="el" href="OgreSDLGLSupport_8cpp-source.html#l00021">Ogre::SDLGLSupport::addConfig</a>(), <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00041">addConfig</a>(), <a class="el" href="OgreWin32GLSupport_8cpp-source.html#l00156">Ogre::Win32GLSupport::createWindow</a>(), <a class="el" href="OgreSDLGLSupport_8cpp-source.html#l00065">Ogre::SDLGLSupport::createWindow</a>(), <a class="el" href="OgreGTKGLSupport_8cpp-source.html#l00069">createWindow</a>(), <a class="el" href="OgreGLSupport_8cpp-source.html#l00041">Ogre::GLSupport::getConfigOptions</a>(), <a class="el" href="OgreWin32GLSupport_8cpp-source.html#l00196">Ogre::Win32GLSupport::newWindow</a>(), <a class="el" href="OgreWin32GLSupport_8cpp-source.html#l00085">Ogre::Win32GLSupport::refreshConfig</a>(), <a class="el" href="OgreWin32GLSupport_8cpp-source.html#l00117">Ogre::Win32GLSupport::setConfigOption</a>(), and <a class="el" href="OgreGLSupport_8cpp-source.html#l00033">Ogre::GLSupport::setConfigOption</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgreGTKGLSupport_8h-source.html">OgreGTKGLSupport.h</a><li><a class="el" href="OgreGTKGLSupport_8cpp-source.html">OgreGTKGLSupport.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:12:44 2004 </p> </body> </html>