<html> <head> <title>Ogre::GLSupport 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::GLSupport Class Reference</h1><code>#include <<a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a>></code> <p> Inheritance diagram for Ogre::GLSupport:<p><center><img src="classOgre_1_1GLSupport__inherit__graph.png" border="0" usemap="#Ogre_1_1GLSupport__inherit__map" alt="Inheritance graph"></center> <map name="Ogre_1_1GLSupport__inherit__map"> <area href="classOgre_1_1GTKGLSupport.html" shape="rect" coords="7,105,145,87" alt=""> <area href="classOgre_1_1SDLGLSupport.html" shape="rect" coords="169,105,308,87" alt=""> <area href="classOgre_1_1Win32GLSupport.html" shape="rect" coords="332,105,481,87" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::GLSupport:<p><center><img src="classOgre_1_1GLSupport__coll__graph.png" border="0" usemap="#Ogre_1_1GLSupport__coll__map" alt="Collaboration graph"></center> <map name="Ogre_1_1GLSupport__coll__map"> <area href="classOgre_1_1String.html" shape="rect" coords="23,35,103,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1GLSupport-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_1GLSupport.html#Ogre_1_1GLSupporta0">GLSupport</a> ()</td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta1">~GLSupport</a> ()</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta2">addConfig</a> ()=0</td></tr> <tr><td> </td><td><font size=-1><em>Add any special config values to the system.</em> <a href="#Ogre_1_1GLSupporta2"></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_1GLSupport.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="classOgre_1_1String.html">String</a> </td><td valign=bottom><a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta4">validateConfig</a> ()=0</td></tr> <tr><td> </td><td><font size=-1><em>Make sure all the extra options are valid.</em> <a href="#Ogre_1_1GLSupporta4"></a><em></em></font><br><br></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_1GLSupport.html#Ogre_1_1Win32GLSupporta8">getConfigOptions</a> (void)</td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta6">createWindow</a> (bool autoCreateWindow, <a class="el" href="classOgre_1_1GLRenderSystem.html">GLRenderSystem</a> *renderSystem)=0</td></tr> <tr><td nowrap align=right valign=top>virtual <a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta7">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)=0</td></tr> <tr><td> </td><td><font size=-1><em>Create a specific instance of a render window.</em> <a href="#Ogre_1_1GLSupporta7"></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_1GLSupport.html#Ogre_1_1GLSupporta8">start</a> ()=0</td></tr> <tr><td> </td><td><font size=-1><em>Start anything special.</em> <a href="#Ogre_1_1GLSupporta8"></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_1GLSupport.html#Ogre_1_1GLSupporta9">stop</a> ()=0</td></tr> <tr><td> </td><td><font size=-1><em>Stop anything special.</em> <a href="#Ogre_1_1GLSupporta9"></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_1GLSupport.html#Ogre_1_1Win32GLSupporta9">begin_context</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Set the correct context as active.</em> <a href="#Ogre_1_1Win32GLSupporta9"></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_1GLSupport.html#Ogre_1_1Win32GLSupporta10">end_context</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Stop the currrent context.</em> <a href="#Ogre_1_1Win32GLSupporta10"></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_1GLSupport.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_1GLSupport.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 nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta13">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_1Win32GLSupporta13"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta14">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_1Win32GLSupporta14"></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_1GLSupport.html#Ogre_1_1GLSupporta16">getProcAddress</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &procname)=0</td></tr> <tr><td> </td><td><font size=-1><em>Get the address of a function.</em> <a href="#Ogre_1_1GLSupporta16"></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_1GLSupport.html#Ogre_1_1Win32GLSupporta15">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_1Win32GLSupporta15"></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_1GLSupport.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>std::set< <a class="el" href="classOgre_1_1String.html">String</a> > </td><td valign=bottom><a class="el" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporto0">extensionList</a></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_1GLSupport.html#Ogre_1_1GLSupporto1">mVersion</a></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_1GLSupport.html#Ogre_1_1GLSupporto2">mVendor</a></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1GLSupporta0" doxytag="Ogre::GLSupport::GLSupport"></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"> Ogre::GLSupport::GLSupport </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="OgreGLSupport_8h-source.html#l00016">16</a> of file <a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a>. </td> </tr> </table> <a name="Ogre_1_1GLSupporta1" doxytag="Ogre::GLSupport::~GLSupport"></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"> virtual Ogre::GLSupport::~GLSupport </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> <p> Definition at line <a class="el" href="OgreGLSupport_8h-source.html#l00017">17</a> of file <a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1GLSupporta2" doxytag="Ogre::GLSupport::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"> virtual void Ogre::GLSupport::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> [pure 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> Implemented in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta1">Ogre::GTKGLSupport</a>, <a class="el" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta2">Ogre::SDLGLSupport</a>, and <a class="el" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta0">Ogre::Win32GLSupport</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00202">Ogre::GLRenderSystem::initConfigOptions</a>(). </td> </tr> </table> <a name="Ogre_1_1Win32GLSupporta9" doxytag="Ogre::GLSupport::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"> virtual void Ogre::GLSupport::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 in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta8">Ogre::GTKGLSupport</a>. <p> Definition at line <a class="el" href="OgreGLSupport_8h-source.html#l00058">58</a> of file <a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a>. <p> Referenced by <a class="el" href="OgreGLTexture_8cpp-source.html#l00137">Ogre::GLTexture::blitToTexture</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00274">Ogre::GLTexture::createRenderTexture</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00372">Ogre::GLTexture::generateMipMaps</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00207">Ogre::GLTexture::loadImages</a>(), and <a class="el" href="OgreGLTexture_8cpp-source.html#l00155">Ogre::GLTexture::rescaleNPower2</a>(). </td> </tr> </table> <a name="Ogre_1_1Win32GLSupporta14" doxytag="Ogre::GLSupport::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 Ogre::GLSupport::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 in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta12">Ogre::GTKGLSupport</a>. <p> Definition at line <a class="el" href="OgreGLSupport_8cpp-source.html#l00120">120</a> of file <a class="el" href="OgreGLSupport_8cpp-source.html">OgreGLSupport.cpp</a>. <p> References <a class="el" href="OgreGLSupport_8h-source.html#l00107">extensionList</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00236">Ogre::GLRenderSystem::initGL</a>(). </td> </tr> </table> <a name="Ogre_1_1Win32GLSupporta13" doxytag="Ogre::GLSupport::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 Ogre::GLSupport::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 in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta11">Ogre::GTKGLSupport</a>. <p> Definition at line <a class="el" href="OgreGLSupport_8cpp-source.html#l00083">83</a> of file <a class="el" href="OgreGLSupport_8cpp-source.html">OgreGLSupport.cpp</a>. <p> References <a class="el" href="OgreGLSupport_8h-source.html#l00108">mVersion</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00236">Ogre::GLRenderSystem::initGL</a>(). </td> </tr> </table> <a name="Ogre_1_1GLSupporta6" doxytag="Ogre::GLSupport::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"> virtual <a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* Ogre::GLSupport::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> [pure virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Implemented in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta4">Ogre::GTKGLSupport</a>, <a class="el" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta4">Ogre::SDLGLSupport</a>, and <a class="el" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta3">Ogre::Win32GLSupport</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00225">Ogre::GLRenderSystem::initialise</a>(). </td> </tr> </table> <a name="Ogre_1_1Win32GLSupporta10" doxytag="Ogre::GLSupport::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"> virtual void Ogre::GLSupport::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 in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta9">Ogre::GTKGLSupport</a>. <p> Definition at line <a class="el" href="OgreGLSupport_8h-source.html#l00064">64</a> of file <a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a>. <p> Referenced by <a class="el" href="OgreGLTexture_8cpp-source.html#l00137">Ogre::GLTexture::blitToTexture</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00274">Ogre::GLTexture::createRenderTexture</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00372">Ogre::GLTexture::generateMipMaps</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00207">Ogre::GLTexture::loadImages</a>(), and <a class="el" href="OgreGLTexture_8cpp-source.html#l00155">Ogre::GLTexture::rescaleNPower2</a>(). </td> </tr> </table> <a name="Ogre_1_1Win32GLSupporta8" doxytag="Ogre::GLSupport::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]</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">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::GLSupport::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</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">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::GLSupport::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</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">mVersion</a>. </td> </tr> </table> <a name="Ogre_1_1GLSupporta16" doxytag="Ogre::GLSupport::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"> virtual void* Ogre::GLSupport::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> [pure 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> Implemented in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta13">Ogre::GTKGLSupport</a>, <a class="el" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta8">Ogre::SDLGLSupport</a>, and <a class="el" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta7">Ogre::Win32GLSupport</a>. <p> Referenced by <a class="el" href="OgreGLATIFSInit_8cpp-source.html#l00035">InitATIFragmentShaderExtensions</a>(), and <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00236">Ogre::GLRenderSystem::initGL</a>(). </td> </tr> </table> <a name="Ogre_1_1Win32GLSupporta15" doxytag="Ogre::GLSupport::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 Ogre::GLSupport::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 in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta10">Ogre::GTKGLSupport</a>. <p> Definition at line <a class="el" href="OgreGLSupport_8cpp-source.html#l00046">46</a> of file <a class="el" href="OgreGLSupport_8cpp-source.html">OgreGLSupport.cpp</a>. <p> References <a class="el" href="OgreGLSupport_8h-source.html#l00107">extensionList</a>, <a class="el" href="OgreGLSupport_8h-source.html#l00109">mVendor</a>, and <a class="el" href="OgreGLSupport_8h-source.html#l00108">mVersion</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00236">Ogre::GLRenderSystem::initGL</a>(). </td> </tr> </table> <a name="Ogre_1_1GLSupporta7" doxytag="Ogre::GLSupport::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"> virtual <a class="el" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* Ogre::GLSupport::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> [pure 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> Implemented in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta5">Ogre::GTKGLSupport</a>, <a class="el" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta5">Ogre::SDLGLSupport</a>, and <a class="el" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta4">Ogre::Win32GLSupport</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00502">Ogre::GLRenderSystem::createRenderWindow</a>(). </td> </tr> </table> <a name="Ogre_1_1SDLGLSupporta9" doxytag="Ogre::GLSupport::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]</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">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_1GLSupporta8" doxytag="Ogre::GLSupport::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"> virtual void Ogre::GLSupport::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> [pure 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> Implemented in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta6">Ogre::GTKGLSupport</a>, <a class="el" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta6">Ogre::SDLGLSupport</a>, and <a class="el" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta5">Ogre::Win32GLSupport</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00225">Ogre::GLRenderSystem::initialise</a>(). </td> </tr> </table> <a name="Ogre_1_1GLSupporta9" doxytag="Ogre::GLSupport::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"> virtual void Ogre::GLSupport::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> [pure 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> Implemented in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta7">Ogre::GTKGLSupport</a>, <a class="el" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta7">Ogre::SDLGLSupport</a>, and <a class="el" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta6">Ogre::Win32GLSupport</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00474">Ogre::GLRenderSystem::shutdown</a>(). </td> </tr> </table> <a name="Ogre_1_1GLSupporta4" doxytag="Ogre::GLSupport::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"> virtual <a class="el" href="classOgre_1_1String.html">String</a> Ogre::GLSupport::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> [pure 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> Implemented in <a class="el" href="classOgre_1_1GTKGLSupport.html#Ogre_1_1GTKGLSupporta3">Ogre::GTKGLSupport</a>, <a class="el" href="classOgre_1_1SDLGLSupport.html#Ogre_1_1SDLGLSupporta3">Ogre::SDLGLSupport</a>, and <a class="el" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta2">Ogre::Win32GLSupport</a>. <p> Referenced by <a class="el" href="OgreGLRenderSystem_8cpp-source.html#l00219">Ogre::GLRenderSystem::validateConfigOptions</a>(). </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1GLSupporto0" doxytag="Ogre::GLSupport::extensionList"></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"> std::set<<a class="el" href="classOgre_1_1String.html">String</a>> Ogre::GLSupport::extensionList<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="OgreGLSupport_8h-source.html#l00107">107</a> of file <a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a>. <p> Referenced by <a class="el" href="OgreGLSupport_8cpp-source.html#l00120">checkExtension</a>(), and <a class="el" href="OgreGLSupport_8cpp-source.html#l00046">initialiseExtensions</a>(). </td> </tr> </table> <a name="Ogre_1_1Win32GLSupportn0" doxytag="Ogre::GLSupport::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]</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">Ogre::GTKGLSupport::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">Ogre::GTKGLSupport::createWindow</a>(), <a class="el" href="OgreGLSupport_8cpp-source.html#l00041">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">setConfigOption</a>(). </td> </tr> </table> <a name="Ogre_1_1GLSupporto2" doxytag="Ogre::GLSupport::mVendor"></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> Ogre::GLSupport::mVendor<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="OgreGLSupport_8h-source.html#l00109">109</a> of file <a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a>. <p> Referenced by <a class="el" href="OgreGLSupport_8h-source.html#l00070">getGLVendor</a>(), and <a class="el" href="OgreGLSupport_8cpp-source.html#l00046">initialiseExtensions</a>(). </td> </tr> </table> <a name="Ogre_1_1GLSupporto1" doxytag="Ogre::GLSupport::mVersion"></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> Ogre::GLSupport::mVersion<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="OgreGLSupport_8h-source.html#l00108">108</a> of file <a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a>. <p> Referenced by <a class="el" href="OgreGLSupport_8cpp-source.html#l00083">checkMinGLVersion</a>(), <a class="el" href="OgreGLSupport_8h-source.html#l00078">getGLVersion</a>(), and <a class="el" href="OgreGLSupport_8cpp-source.html#l00046">initialiseExtensions</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgreGLSupport_8h-source.html">OgreGLSupport.h</a><li><a class="el" href="OgreGLSupport_8cpp-source.html">OgreGLSupport.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:12:42 2004 </p> </body> </html>