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

Revision 692, 10.2 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

RevLine 
[692]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 <span class="preprocessor">#include "<a class="code" href="OgreGLPBuffer_8h.html">OgreGLPBuffer.h</a>"</span>
1900010
2000011 <span class="keyword">namespace </span>Ogre
2100012 {
2200013     
23<a name="l00014"></a><a class="code" href="classOgre_1_1GLSupport.html">00014</a> <span class="keyword">class </span><a class="code" href="classOgre_1_1GLSupport.html">GLSupport</a>
2400015 {
2500016 <span class="keyword">public</span>:
26<a name="l00017"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta0">00017</a>     <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta0">GLSupport</a>() { }
27<a name="l00018"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta1">00018</a>     <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta1">~GLSupport</a>() { }
2800019
2900025     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta2">addConfig</a>() = 0;
3000026
3100027     <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#a471">String</a> &amp;name, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a> &amp;value);
3200028
3300033     <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a471">String</a> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta4">validateConfig</a>() = 0;
3400034
3500035     <span class="keyword">virtual</span> <a class="code" href="namespaceOgre.html#a143">ConfigOptionMap</a>&amp; <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta13">getConfigOptions</a>(<span class="keywordtype">void</span>);
3600036
3700037     <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#a471">String</a>&amp; windowTitle) = 0;
3800038
3900040     <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#a471">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,
4000041         <span class="keywordtype">bool</span> fullScreen, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a76">NameValuePairList</a> *miscParams = 0) = 0;
4100042
4200043     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1SDLGLSupporta11">supportsPBuffers</a>();
4300044     <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1GLPBuffer.html">GLPBuffer</a> *<a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1SDLGLSupporta12">createPBuffer</a>(PixelComponentType format, size_t width, size_t height);
4400045
4500049     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta10">start</a>() = 0;
4600053     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta11">stop</a>() = 0;
4700054
48<a name="l00058"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta14">00058</a>     <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">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>
4900059 <span class="keyword">    </span>{
5000060         <span class="keywordflow">return</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupportr1">mVendor</a>;
5100061     }
5200062
53<a name="l00066"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupporta15">00066</a>     <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">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>
5400067 <span class="keyword">    </span>{
5500068         <span class="keywordflow">return</span> mVersion;
5600069     }
5700070
5800074     <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#a471">String</a>&amp; v) <span class="keyword">const</span>;
5900075
6000079     <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#a471">String</a>&amp; ext) <span class="keyword">const</span>;
6100083     <span class="keyword">virtual</span> <span class="keywordtype">void</span>* <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupporta16">getProcAddress</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>&amp; procname) = 0;
6200084
6300088     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1SDLGLSupporta17">initialiseExtensions</a>();
6400089
6500090 <span class="keyword">protected</span>:
6600091     <span class="comment">// Stored options</span>
67<a name="l00092"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupportp0">00092</a>     <a class="code" href="namespaceOgre.html#a143">ConfigOptionMap</a> mOptions;
6800093
6900094     <span class="comment">// This contains the complete list of supported extensions</span>
70<a name="l00095"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupportp1">00095</a>     std::set&lt;String&gt; <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1Win32GLSupportp1">extensionList</a>;
7100096 <span class="keyword">private</span>:
72<a name="l00097"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupportr0">00097</a>     <a class="code" href="namespaceOgre.html#a471">String</a> mVersion;
73<a name="l00098"></a><a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupportr1">00098</a>     <a class="code" href="namespaceOgre.html#a471">String</a> <a class="code" href="classOgre_1_1GLSupport.html#Ogre_1_1GLSupportr1">mVendor</a>;
7400099
7500100 }; <span class="comment">// class GLSupport</span>
7600101
7700102 }; <span class="comment">// namespace Ogre</span>
7800103
7900104 <span class="preprocessor">#endif // OGRE_GLSUPPORT_H</span>
80</pre></div><hr>
81<p>
82Copyright &copy; 2000-2005 by The OGRE Team<br />
83<!--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/>
84This 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/>
85                <!--/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#">
86                <Work rdf:about="">
87                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
88        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
89                </Work>
90                <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> -->
91
92Last modified Sun Mar 12 14:37:41 2006
93</p>
94</body>
95</html>
Note: See TracBrowser for help on using the repository browser.