Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 703

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>OgreGLSupport.h Source File - 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> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>OgreGLSupport.h</h1><a href="OgreGLSupport_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="preprocessor">#ifndef OGRE_GLSUPPORT_H</font>
00002 <font class="preprocessor"></font><font class="preprocessor">#define OGRE_GLSUPPORT_H</font>
00003 <font class="preprocessor"></font>
00004 <font class="preprocessor">#include "<a class="code" href="OgreGLPrerequisites_8h.html">OgreGLPrerequisites.h</a>"</font>
00005 <font class="preprocessor">#include "<a class="code" href="OgreGLRenderSystem_8h.html">OgreGLRenderSystem.h</a>"</font>
00006 
00007 <font class="preprocessor">#include "<a class="code" href="OgreRenderWindow_8h.html">OgreRenderWindow.h</a>"</font>
00008 <font class="preprocessor">#include "<a class="code" href="OgreConfigOptionMap_8h.html">OgreConfigOptionMap.h</a>"</font>
00009 
00010 <font class="keyword">namespace </font>Ogre
00011 {
00012     
<a name="l00013"></a><a class="code" href="classOgre_1_1GLSupport.html">00013</a> <font class="keyword">class </font><a class="code" href="classOgre_1_1GLSupport.html">GLSupport</a>
00014 {
00015 <font class="keyword">public</font>:
<a name="l00016"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta0">00016</a>     <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta0">GLSupport</a>() { }
<a name="l00017"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta1">00017</a>     <font class="keyword">virtual</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta1">~GLSupport</a>() { }
00018 
00024     <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta2">addConfig</a>() = 0;
00025 
00026     <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1SDLGLSupporta9">setConfigOption</a>(<font class="keyword">const</font> String &amp;name, <font class="keyword">const</font> String &amp;value);
00027 
00032     <font class="keyword">virtual</font> String <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta4">validateConfig</a>() = 0;
00033 
00034     <font class="keyword">virtual</font> <a class="code" href="namespaceOgre.html#a122">ConfigOptionMap</a>&amp; <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta8">getConfigOptions</a>(<font class="keywordtype">void</font>);
00035 
00036     
00037     <font class="keyword">virtual</font> RenderWindow* <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta6">createWindow</a>(<font class="keywordtype">bool</font> autoCreateWindow, GLRenderSystem* renderSystem) = 0;
00038 
00042     <font class="keyword">virtual</font> RenderWindow* <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta7">newWindow</a>(<font class="keyword">const</font> String&amp; name, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> width, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> height, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> colourDepth,
00043             <font class="keywordtype">bool</font> fullScreen, <font class="keywordtype">int</font> left, <font class="keywordtype">int</font> top, <font class="keywordtype">bool</font> depthBuffer, RenderWindow* parentWindowHandle,
00044             <font class="keywordtype">bool</font> vsync) = 0;
00045 
00049     <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta8">start</a>() = 0;
00053     <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta9">stop</a>() = 0;
00054 
<a name="l00058"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta9">00058</a>     <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta9">begin_context</a>()
00059     { }
00060 
<a name="l00064"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta10">00064</a>     <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta10">end_context</a>()
00065     { }
00066 
<a name="l00070"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta11">00070</a>     <font class="keyword">const</font> <a class="code" href="classOgre_1_1String.html">String</a>&amp; <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta11">getGLVendor</a>(<font class="keywordtype">void</font>)<font class="keyword"> const</font>
00071 <font class="keyword">    </font>{
00072         <font class="keywordflow">return</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporto2">mVendor</a>;
00073     }
00074 
<a name="l00078"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta12">00078</a>     <font class="keyword">const</font> <a class="code" href="classOgre_1_1String.html">String</a>&amp; <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta12">getGLVersion</a>(<font class="keywordtype">void</font>)<font class="keyword"> const</font>
00079 <font class="keyword">    </font>{
00080         <font class="keywordflow">return</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporto1">mVersion</a>;
00081     }
00082 
00086     <font class="keywordtype">bool</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta13">checkMinGLVersion</a>(<font class="keyword">const</font> String&amp; v) <font class="keyword">const</font>;
00087 
00091     <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta14">checkExtension</a>(<font class="keyword">const</font> String&amp; ext) <font class="keyword">const</font>;
00095     <font class="keyword">virtual</font> <font class="keywordtype">void</font>* <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta16">getProcAddress</a>(<font class="keyword">const</font> String&amp; procname) = 0;
00099     <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta15">initialiseExtensions</a>(<font class="keywordtype">void</font>);
00100 
00101 <font class="keyword">protected</font>:
00102     <font class="comment">// Stored options</font>
<a name="l00103"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupportn0">00103</a>     <a class="code" href="namespaceOgre.html#a122">ConfigOptionMap</a> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupportn0">mOptions</a>;
00104 
00105 <font class="keyword">private</font>:
00106     <font class="comment">// This contains the complete list of supported extensions</font>
<a name="l00107"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporto0">00107</a>     std::set&lt;String&gt; <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporto0">extensionList</a>;
<a name="l00108"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporto1">00108</a>     <a class="code" href="classOgre_1_1String.html">String</a> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporto1">mVersion</a>;
<a name="l00109"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporto2">00109</a>     <a class="code" href="classOgre_1_1String.html">String</a> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporto2">mVendor</a>;
00110 
00111 }; <font class="comment">// class GLSupport</font>
00112 
00113 }; <font class="comment">// namespace Ogre</font>
00114 
00115 <font class="preprocessor">#endif // OGRE_GLSUPPORT_H</font>
</pre></div><p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:10:12 2004
</p>
</body>
</html>