source: OGRE/trunk/ogrenew/Docs/api/html/OgreGLSupport_8h-source.html @ 657

Revision 657, 10.7 KB checked in by mattausch, 18 years ago (diff)

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>OgreGLSupport.h Source File - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>OgreGLSupport.h</h1><a href="OgreGLSupport_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef OGRE_GLSUPPORT_H</span>
1100002 <span class="preprocessor"></span><span class="preprocessor">#define OGRE_GLSUPPORT_H</span>
1200003 <span class="preprocessor"></span>
1300004 <span class="preprocessor">#include "<a class="code" href="OgreGLPrerequisites_8h.html">OgreGLPrerequisites.h</a>"</span>
1400005 <span class="preprocessor">#include "<a class="code" href="OgreGLRenderSystem_8h.html">OgreGLRenderSystem.h</a>"</span>
1500006
1600007 <span class="preprocessor">#include "<a class="code" href="OgreRenderWindow_8h.html">OgreRenderWindow.h</a>"</span>
1700008 <span class="preprocessor">#include "<a class="code" href="OgreConfigOptionMap_8h.html">OgreConfigOptionMap.h</a>"</span>
1800009
1900010 <span class="keyword">namespace </span>Ogre
2000011 {
2100012     
22<a name="l00013"></a><a class="code" href="classOgre_1_1GLSupport.html">00013</a> <span class="keyword">class </span><a class="code" href="classOgre_1_1GLSupport.html">GLSupport</a>
2300014 {
2400015 <span class="keyword">public</span>:
25<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>() { }
26<a name="l00017"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta1">00017</a>     <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta1">~GLSupport</a>() { }
2700018
2800024     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta2">addConfig</a>() = 0;
2900025
3000026     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1SDLGLSupporta9">setConfigOption</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a> &amp;name, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a> &amp;value);
3100027
3200032     <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a426">String</a> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta4">validateConfig</a>() = 0;
3300033
3400034     <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a114">ConfigOptionMap</a>&amp; <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta13">getConfigOptions</a>(<span class="keywordtype">void</span>);
3500035
3600036     <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta6">createWindow</a>(<span class="keywordtype">bool</span> autoCreateWindow, <a class="code" href="classOgre_1_1GLRenderSystem.html">GLRenderSystem</a>* renderSystem, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; windowTitle) = 0;
3700037
3800039     <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GTKGLSupporta17">newWindow</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a> &amp;name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> width, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> height,
3900040         <span class="keywordtype">bool</span> fullScreen, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a62">NameValuePairList</a> *miscParams = 0) = 0;
4000041
4100043     <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1RenderTexture.html">RenderTexture</a> * <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1SDLGLSupporta11">createRenderTexture</a>( <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a> &amp; name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> width, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> height,
4200044             TextureType texType = TEX_TYPE_2D, PixelFormat internalFormat = PF_X8R8G8B8,
4300045             <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a62">NameValuePairList</a> *miscParams = 0 );
4400046
4500050     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta9">start</a>() = 0;
4600054     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta10">stop</a>() = 0;
4700055
48<a name="l00059"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta14">00059</a>     <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta14">getGLVendor</a>(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
4900060 <span class="keyword">    </span>{
5000061         <span class="keywordflow">return</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupportr1">mVendor</a>;
5100062     }
5200063
53<a name="l00067"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta15">00067</a>     <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta15">getGLVersion</a>(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
5400068 <span class="keyword">    </span>{
5500069         <span class="keywordflow">return</span> mVersion;
5600070     }
5700071
5800075     <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta16">checkMinGLVersion</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; v) <span class="keyword">const</span>;
5900076
6000080     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta17">checkExtension</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; ext) <span class="keyword">const</span>;
6100084     <span class="keyword">virtual</span> <span class="keywordtype">void</span>* <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta15">getProcAddress</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; procname) = 0;
6200085
6300089     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1SDLGLSupporta16">initialiseExtensions</a>();
6400090
6500094     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1SDLGLSupporta17">initialiseCapabilities</a>(<a class="code" href="classOgre_1_1RenderSystemCapabilities.html">RenderSystemCapabilities</a> &amp;caps);
6600095
6700096 <span class="keyword">protected</span>:
6800097     <span class="comment">// Stored options</span>
69<a name="l00098"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupportp0">00098</a>     <a class="code" href="namespaceOgre.html#a114">ConfigOptionMap</a> mOptions;
7000099
7100100     <span class="comment">// This contains the complete list of supported extensions</span>
72<a name="l00101"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupportp1">00101</a>     std::set&lt;String&gt; <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupportp1">extensionList</a>;
7300102 <span class="keyword">private</span>:
74<a name="l00103"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupportr0">00103</a>     <a class="code" href="namespaceOgre.html#a426">String</a> mVersion;
75<a name="l00104"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupportr1">00104</a>     <a class="code" href="namespaceOgre.html#a426">String</a> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupportr1">mVendor</a>;
7600105
7700106 }; <span class="comment">// class GLSupport</span>
7800107
7900108 }; <span class="comment">// namespace Ogre</span>
8000109
8100110 <span class="preprocessor">#endif // OGRE_GLSUPPORT_H</span>
82</pre></div><hr>
83<p>
84Copyright &copy; 2000-2005 by The OGRE Team<br />
85<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>
86This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/>
87                <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
88                <Work rdf:about="">
89                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
90        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
91                </Work>
92                <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
93
94Last modified Sun Feb 12 12:59:45 2006
95</p>
96</body>
97</html>
Note: See TracBrowser for help on using the repository browser.