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

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

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>OgreWin32GLSupport.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>OgreWin32GLSupport.h</h1><a href="OgreWin32GLSupport_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __OgreWin32GLSupport_H__</span>
1100002 <span class="preprocessor"></span><span class="preprocessor">#define __OgreWin32GLSupport_H__</span>
1200003 <span class="preprocessor"></span>
1300004 <span class="preprocessor">#include "<a class="code" href="RenderSystems_2GL_2include_2OgreWin32Prerequisites_8h.html">OgreWin32Prerequisites.h</a>"</span>
1400005 <span class="preprocessor">#include "<a class="code" href="OgreGLSupport_8h.html">OgreGLSupport.h</a>"</span>
1500006 <span class="preprocessor">#include "<a class="code" href="OgreGLRenderSystem_8h.html">OgreGLRenderSystem.h</a>"</span>
1600007
1700008 <span class="keyword">namespace </span>Ogre
1800009 {
1900010     
20<a name="l00011"></a><a class="code" href="classOgre_1_1Win32GLSupport.html">00011</a>     <span class="keyword">class </span><a class="code" href="classOgre_1_1Win32GLSupport.html">Win32GLSupport</a> : <span class="keyword">public</span> <a class="code" href="classOgre_1_1GLSupport.html">GLSupport</a>
2100012     {
2200013     <span class="keyword">public</span>:
2300014         <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta0">Win32GLSupport</a>();
2400020         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta1">addConfig</a>();
2500021
2600022         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta2">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);
2700023
2800027         <a class="code" href="namespaceOgre.html#a426">String</a> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta3">validateConfig</a>();
2900028
3000029         <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta4">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 = <span class="stringliteral">"OGRE Render Window"</span>);
3100030
3200032         <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta5">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,
3300033             <span class="keywordtype">bool</span> fullScreen, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a62">NameValuePairList</a> *miscParams = 0);
3400034
3500036         <span class="keyword">virtual</span> <a class="code" href="classOgre_1_1RenderTexture.html">RenderTexture</a> * <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta6">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,
3600037                 <a class="code" href="namespaceOgre.html#a681">TextureType</a> texType = <a class="code" href="namespaceOgre.html#a681a547">TEX_TYPE_2D</a>, <a class="code" href="namespaceOgre.html#a667">PixelFormat</a> internalFormat = <a class="code" href="namespaceOgre.html#a667a382">PF_X8R8G8B8</a>,
3700038                 <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a62">NameValuePairList</a> *miscParams = 0 );
3800039
3900043         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta7">start</a>();
4000047         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta8">stop</a>();
4100048
4200052         <span class="keywordtype">void</span>* <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta9">getProcAddress</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; procname);
4300053
4400057         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta10">initialiseExtensions</a>();
4500061         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta11">initialiseCapabilities</a>(<a class="code" href="classOgre_1_1RenderSystemCapabilities.html">RenderSystemCapabilities</a> &amp;caps);
4600062
4700063         <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporta12">selectPixelFormat</a>(HDC hdc, <span class="keywordtype">int</span> colourDepth, <span class="keywordtype">int</span> multisample = 0);
4800064
4900065     <span class="keyword">private</span>:
5000066         <span class="comment">// Allowed video modes</span>
51<a name="l00067"></a><a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupportr0">00067</a>         std::vector&lt;DEVMODE&gt; <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupportr0">mDevModes</a>;
52<a name="l00068"></a><a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupportr1">00068</a>         <a class="code" href="classOgre_1_1Win32Window.html">Win32Window</a> *<a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupportr1">mInitialWindow</a>;
53<a name="l00069"></a><a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupportr2">00069</a>         std::vector&lt;int&gt; <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupportr2">mFSAALevels</a>;
54<a name="l00070"></a><a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupportr3">00070</a>         <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupportr3">mHasPixelFormatARB</a>;
5500071
5600072         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupportd0">refreshConfig</a>();
5700073         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupportd1">initialiseWGL</a>();
5800074         <span class="keyword">static</span> LRESULT CALLBACK <a class="code" href="classOgre_1_1Win32GLSupport.html#Ogre_1_1Win32GLSupporth0">dummyWndProc</a>(HWND hwnd, UINT umsg, WPARAM wp, LPARAM lp);
5900075     };
6000076
6100077 }
6200078
6300079 <span class="preprocessor">#endif</span>
64</pre></div><hr>
65<p>
66Copyright &copy; 2000-2005 by The OGRE Team<br />
67<!--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/>
68This 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/>
69                <!--/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#">
70                <Work rdf:about="">
71                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
72        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
73                </Work>
74                <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> -->
75
76Last modified Sun Feb 12 12:59:54 2006
77</p>
78</body>
79</html>
Note: See TracBrowser for help on using the repository browser.