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

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

added ogre dependencies and patched ogre sources

Line 
1<html>
2<head>
3<title>OgreD3D7RenderSystem.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>OgreD3D7RenderSystem.h</h1><a href="OgreD3D7RenderSystem_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
1100002 <span class="comment">-----------------------------------------------------------------------------</span>
1200003 <span class="comment">This source file is part of OGRE</span>
1300004 <span class="comment">    (Object-oriented Graphics Rendering Engine)</span>
1400005 <span class="comment">For the latest info, see http://ogre.sourceforge.net/</span>
1500006 <span class="comment"></span>
1600007 <span class="comment">Copyright (c) 2000-2005 The OGRE Team</span>
1700008 <span class="comment">Also see acknowledgements in Readme.html</span>
1800009 <span class="comment"></span>
1900010 <span class="comment">This program is free software; you can redistribute it and/or modify it under</span>
2000011 <span class="comment">the terms of the GNU Lesser General Public License as published by the Free Software</span>
2100012 <span class="comment">Foundation; either version 2 of the License, or (at your option) any later</span>
2200013 <span class="comment">version.</span>
2300014 <span class="comment"></span>
2400015 <span class="comment">This program is distributed in the hope that it will be useful, but WITHOUT</span>
2500016 <span class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS</span>
2600017 <span class="comment">FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</span>
2700018 <span class="comment"></span>
2800019 <span class="comment">You should have received a copy of the GNU Lesser General Public License along with</span>
2900020 <span class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple</span>
3000021 <span class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to</span>
3100022 <span class="comment">http://www.gnu.org/copyleft/lesser.txt.</span>
3200023 <span class="comment">-----------------------------------------------------------------------------</span>
3300024 <span class="comment">*/</span>
3400025 <span class="preprocessor">#ifndef __D3DRENDERSYSTEM_H__</span>
3500026 <span class="preprocessor"></span><span class="preprocessor">#define __D3DRENDERSYSTEM_H__</span>
3600027 <span class="preprocessor"></span>
3700028 <span class="comment">// Precompiler options</span>
3800029 <span class="preprocessor">#include "<a class="code" href="OgreD3D7Prerequisites_8h.html">OgreD3D7Prerequisites.h</a>"</span>
3900030 <span class="preprocessor">#include "<a class="code" href="OgreString_8h.html">OgreString.h</a>"</span>
4000031
4100032
4200033
4300034 <span class="preprocessor">#include "<a class="code" href="OgreRenderSystem_8h.html">OgreRenderSystem.h</a>"</span>
4400035 <span class="preprocessor">#include "<a class="code" href="OgreD3D7HardwareBufferManager_8h.html">OgreD3D7HardwareBufferManager.h</a>"</span>
4500036
4600037 <span class="keyword">namespace </span>Ogre {
4700038
4800039     <span class="keyword">class </span>DDDriverList;
4900040     <span class="keyword">class </span>DDDriver;
5000041
51<a name="l00045"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html">00045</a>     <span class="keyword">class </span><a class="code" href="classOgre_1_1D3DRenderSystem.html">D3DRenderSystem</a> : <span class="keyword">public</span> <a class="code" href="classOgre_1_1RenderSystem.html">RenderSystem</a>
5200046     {
5300047     <span class="keyword">private</span>:
5400048         <span class="comment">// Direct3D rendering device</span>
5500049         <span class="comment">// Only created after top-level window created</span>
56<a name="l00050"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr0">00050</a>         LPDIRECT3DDEVICE7 <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr0">mlpD3DDevice</a>;
57<a name="l00051"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr1">00051</a>         D3DDEVICEDESC7 mD3DDeviceDesc;
5800052
5900053         <span class="comment">// List of DD drivers installed (video cards)</span>
6000054         <span class="comment">// Enumerates itself</span>
61<a name="l00055"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr2">00055</a>         <a class="code" href="classOgre_1_1DDDriverList.html">DDDriverList</a>* <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr2">mDriverList</a>;
6200056         <span class="comment">// Currently active driver</span>
63<a name="l00057"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr3">00057</a>         <a class="code" href="classOgre_1_1DDDriver.html">DDDriver</a>* <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr3">mActiveDDDriver</a>;
6400058
6500059
66<a name="l00060"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr4">00060</a>         HINSTANCE <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr4">mhInstance</a>;
67<a name="l00061"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr5">00061</a>         <span class="keywordtype">bool</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr5">mDeviceLost</a>;
6800062
6900063
7000064
7100065         <span class="comment">// Stored options</span>
72<a name="l00066"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr6">00066</a>         <a class="code" href="namespaceOgre.html#a114">ConfigOptionMap</a> mOptions;
7300067
7400068         <span class="comment">// Private utilities</span>
7500069         <a class="code" href="classOgre_1_1DDDriverList.html">DDDriverList</a>* <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd0">getDirectDrawDrivers</a>(<span class="keywordtype">void</span>);
7600070         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd1">refreshDDSettings</a>(<span class="keywordtype">void</span>);
7700071
78<a name="l00073"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemy3">00073</a>         <span class="keyword">enum</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemy3">eD3DTexType</a>
7900074         {
8000076             <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemy3Ogre_1_1D3DRenderSystemy0">D3D_TEX_TYPE_NORMAL</a>,
8100078             <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemy3Ogre_1_1D3DRenderSystemy1">D3D_TEX_TYPE_CUBE</a>,
8200080             <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemy3Ogre_1_1D3DRenderSystemy2">D3D_TEX_TYPE_VOLUME</a>
8300081         };
8400082 
85<a name="l00084"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd2">00084</a>         <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemy3">eD3DTexType</a> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd2">_ogreTexTypeToD3DTexType</a>(TextureType ogreTexType)
8600085         {
8700086             <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemy3">eD3DTexType</a> ret;
8800087             <span class="keywordflow">switch</span> (ogreTexType)
8900088             {
9000089             <span class="keywordflow">case</span> <a class="code" href="namespaceOgre.html#a681a546">TEX_TYPE_1D</a> :
9100090             <span class="keywordflow">case</span> <a class="code" href="namespaceOgre.html#a681a547">TEX_TYPE_2D</a> :
9200091                 ret = <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemy3Ogre_1_1D3DRenderSystemy0">D3D_TEX_TYPE_NORMAL</a>;
9300092                 <span class="keywordflow">break</span>;
9400093             <span class="keywordflow">case</span> <a class="code" href="namespaceOgre.html#a681a549">TEX_TYPE_CUBE_MAP</a> :
9500094                 ret = <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemy3Ogre_1_1D3DRenderSystemy1">D3D_TEX_TYPE_CUBE</a>;
9600095                 <span class="keywordflow">break</span>;
9700096             <span class="keywordflow">default</span> :
9800097                 <a class="code" href="OgreException_8h.html#a0">OGRE_EXCEPT</a>( Exception::ERR_INVALIDPARAMS, <span class="stringliteral">"Invalid tex.type"</span>, <span class="stringliteral">"D3D9RenderSystem::_ogreTexTypeToD3DTexType"</span> );
9900098                 <span class="keywordflow">break</span>;
10000099             }
10100100             <span class="keywordflow">return</span> ret;
10200101         }
10300102 
104<a name="l00104"></a><a class="code" href="structOgre_1_1D3DRenderSystem_1_1sD3DTextureStageDesc.html">00104</a>         <span class="keyword">struct </span><a class="code" href="structOgre_1_1D3DRenderSystem_1_1sD3DTextureStageDesc.html">sD3DTextureStageDesc</a>
10500105         {
106<a name="l00107"></a><a class="code" href="structOgre_1_1D3DRenderSystem_1_1sD3DTextureStageDesc.html#Ogre_1_1D3DRenderSystem_1_1sD3DTextureStageDesco0">00107</a>             eD3DTexType <a class="code" href="structOgre_1_1D3DRenderSystem_1_1sD3DTextureStageDesc.html#Ogre_1_1D3DRenderSystem_1_1sD3DTextureStageDesco0">texType</a>;
107<a name="l00109"></a><a class="code" href="structOgre_1_1D3DRenderSystem_1_1sD3DTextureStageDesc.html#Ogre_1_1D3DRenderSystem_1_1sD3DTextureStageDesco1">00109</a>             size_t <a class="code" href="structOgre_1_1D3DRenderSystem_1_1sD3DTextureStageDesc.html#Ogre_1_1D3DRenderSystem_1_1sD3DTextureStageDesco1">coordIndex</a>;
108<a name="l00111"></a><a class="code" href="structOgre_1_1D3DRenderSystem_1_1sD3DTextureStageDesc.html#Ogre_1_1D3DRenderSystem_1_1sD3DTextureStageDesco2">00111</a>             <a class="code" href="namespaceOgre.html#a670">TexCoordCalcMethod</a> <a class="code" href="structOgre_1_1D3DRenderSystem_1_1sD3DTextureStageDesc.html#Ogre_1_1D3DRenderSystem_1_1sD3DTextureStageDesco2">autoTexCoordType</a>;
109<a name="l00113"></a><a class="code" href="structOgre_1_1D3DRenderSystem_1_1sD3DTextureStageDesc.html#Ogre_1_1D3DRenderSystem_1_1sD3DTextureStageDesco3">00113</a>             <span class="keyword">const</span> <a class="code" href="classOgre_1_1Frustum.html">Frustum</a>* frustum;
110<a name="l00115"></a><a class="code" href="structOgre_1_1D3DRenderSystem_1_1sD3DTextureStageDesc.html#Ogre_1_1D3DRenderSystem_1_1sD3DTextureStageDesco4">00115</a>             LPDIRECTDRAWSURFACE7 <a class="code" href="structOgre_1_1D3DRenderSystem_1_1sD3DTextureStageDesc.html#Ogre_1_1D3DRenderSystem_1_1sD3DTextureStageDesco4">pTex</a>;
11100116         } <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr7">mTexStageDesc</a>[<a class="code" href="OgreConfig_8h.html#a7">OGRE_MAX_TEXTURE_LAYERS</a>];
11200117
11300118
11400119         <span class="comment">// Matrix conversion</span>
11500120         D3DMATRIX <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd3">makeD3DMatrix</a>(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a>&amp; mat);
11600121         <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd4">convertD3DMatrix</a>(<span class="keyword">const</span> D3DMATRIX&amp; mat);
11700122
11800123         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd5">initConfigOptions</a>(<span class="keywordtype">void</span>);
11900124         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd6">initInputDevices</a>(<span class="keywordtype">void</span>);
12000125         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd7">processInputDevices</a>(<span class="keywordtype">void</span>);
12100126         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd8">setD3DLight</a>(size_t index, <a class="code" href="classOgre_1_1Light.html">Light</a>* light);
12200127
12300128         D3DCMPFUNC <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd9">convertCompareFunction</a>(CompareFunction func);
12400129         D3DSTENCILOP <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd10">convertStencilOp</a>(StencilOperation op);
12500130
12600131         <span class="comment">// state management methods, very primitive !!!</span>
12700132         HRESULT <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd11">__SetRenderState</a>(D3DRENDERSTATETYPE state, DWORD value);
12800133         HRESULT <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd12">__SetTextureStageState</a>(DWORD stage, D3DTEXTURESTAGESTATETYPE type, DWORD value);
12900134
13000135
13100136         D3DTEXTURESTAGESTATETYPE <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd13">_getFilterCode</a>(FilterType ft) <span class="keyword">const</span>;
13200137         DWORD <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd14">_getFilter</a>(FilterType ft, FilterOptions fo) <span class="keyword">const</span>;
13300138         DWORD <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemd15">_getCurrentAnisotropy</a>(size_t unit);
13400139
135<a name="l00140"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr8">00140</a>         <a class="code" href="classOgre_1_1HardwareBufferManager.html">HardwareBufferManager</a>* <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr8">mHardwareBufferManager</a>;
136<a name="l00141"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr9">00141</a>         <a class="code" href="classOgre_1_1GpuProgramManager.html">GpuProgramManager</a>* <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr9">mGpuProgramManager</a>;
13700142
13800143
139<a name="l00144"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr10">00144</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr10">mCurrentLights</a>;
140<a name="l00145"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr11">00145</a>         <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a> mViewMatrix;
14100146         <span class="comment">// saved scene blending factors</span>
142<a name="l00147"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr12">00147</a>         <a class="code" href="namespaceOgre.html#a636">SceneBlendFactor</a> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr12">mSavedSrcFactor</a>, <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystemr13">mSavedDestFactor</a>;
14300148
14400149
14500150     <span class="keyword">public</span>:
14600151         <span class="comment">// Default constructor / destructor</span>
14700152         <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema0">D3DRenderSystem</a>(HINSTANCE hInstance);
14800153         <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema1">~D3DRenderSystem</a>();
14900154
15000155
15100156
15200157         <span class="comment">// ----------------------------------</span>
15300158         <span class="comment">// Overridden RenderSystem functions</span>
15400159         <span class="comment">// ----------------------------------</span>
15500163 <span class="comment"></span>        <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema2">getName</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
15600167         <a class="code" href="namespaceOgre.html#a114">ConfigOptionMap</a>&amp; <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema3">getConfigOptions</a>(<span class="keywordtype">void</span>);
15700171         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema4">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);
15800175         <a class="code" href="namespaceOgre.html#a426">String</a> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema5">validateConfigOptions</a>(<span class="keywordtype">void</span>);
15900179         <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema6">initialise</a>(<span class="keywordtype">bool</span> autoCreateWindow, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>&amp; windowTitle = <span class="stringliteral">"OGRE Render Window"</span>);
16000183         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema7">reinitialise</a>(<span class="keywordtype">void</span>); <span class="comment">// Used if settings changed mid-rendering</span>
16100187 <span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema8">shutdown</a>(<span class="keywordtype">void</span>);
16200188
16300192         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema9">setAmbientLight</a>(<span class="keywordtype">float</span> r, <span class="keywordtype">float</span> g, <span class="keywordtype">float</span> b);
16400196         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema10">setShadingType</a>(ShadeOptions so);
16500200         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema11">setLightingEnabled</a>(<span class="keywordtype">bool</span> enabled);
16600201         
16700203         <a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema12">createRenderWindow</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,
16800204             <span class="keywordtype">bool</span> fullScreen, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a62">NameValuePairList</a> *miscParams = 0);
16900205
17000207         <a class="code" href="classOgre_1_1RenderTexture.html">RenderTexture</a> * <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema13">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,
17100208             TextureType texType = TEX_TYPE_2D, PixelFormat internalFormat = PF_X8R8G8B8,
17200209             <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a62">NameValuePairList</a> *miscParams = 0 );
17300210
17400214         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema14">destroyRenderWindow</a>(<a class="code" href="classOgre_1_1RenderWindow.html">RenderWindow</a>* pWin);
17500215
17600219         <a class="code" href="namespaceOgre.html#a426">String</a> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema15">getErrorDescription</a>(<span class="keywordtype">long</span> errorNumber) <span class="keyword">const</span>;
17700220
17800224         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema16">convertColourValue</a>(<span class="keyword">const</span> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a>&amp; colour, <a class="code" href="namespaceOgre.html#a412">uint32</a>* pDest);
17900225
18000227         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema17">_notifyDeviceLost</a>(<span class="keywordtype">void</span>);
18100229         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema18">_restoreLostDevice</a>(<span class="keywordtype">void</span>);
18200231         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema19">_restoreSurfaces</a>(<span class="keywordtype">void</span>);
18300233         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema20">_recreateContext</a>(<span class="keywordtype">void</span>);
18400234
18500235         <span class="comment">// -----------------------------</span>
18600236         <span class="comment">// Low-level overridden members</span>
18700237         <span class="comment">// -----------------------------</span>
18800241 <span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema21">_useLights</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a59">LightList</a>&amp; lights, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> limit);
18900245         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema22">_setWorldMatrix</a>(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a> &amp;m);
19000249         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema23">_setViewMatrix</a>(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a> &amp;m);
19100253         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema24">_setProjectionMatrix</a>(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a> &amp;m);
19200257         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema25">_setSurfaceParams</a>(<span class="keyword">const</span> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a> &amp;ambient,
19300258             <span class="keyword">const</span> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a> &amp;diffuse, <span class="keyword">const</span> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a> &amp;specular,
19400259             <span class="keyword">const</span> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a> &amp;emissive, <a class="code" href="namespaceOgre.html#a420">Real</a> shininess, <a class="code" href="namespaceOgre.html#a58">TrackVertexColourType</a> tracking);
19500263         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema26">_setTexture</a>(size_t unit, <span class="keywordtype">bool</span> enabled, <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a> &amp;texname);
19600267         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema27">_setTextureBlendMode</a>(size_t unit, <span class="keyword">const</span> <a class="code" href="classOgre_1_1LayerBlendModeEx.html">LayerBlendModeEx</a>&amp; bm);
19700271         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema28">_setTextureAddressingMode</a>(size_t unit, TextureUnitState::TextureAddressingMode tam);
19800275         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema29">_setTextureMatrix</a>(size_t unit, <span class="keyword">const</span> <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a>&amp; xform);
19900279         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema30">_setTextureCoordSet</a>( size_t unit, size_t index );
20000283         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema31">_setTextureCoordCalculation</a>(size_t unit, TexCoordCalcMethod m,
20100284             <span class="keyword">const</span> <a class="code" href="classOgre_1_1Frustum.html">Frustum</a>* frustum = 0);
20200288         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema32">_setSceneBlending</a>(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor);
20300292         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema33">_setAlphaRejectSettings</a>(CompareFunction func, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> value);
20400296         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema34">_setViewport</a>(<a class="code" href="classOgre_1_1Viewport.html">Viewport</a> *vp);
20500300         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema35">_beginFrame</a>(<span class="keywordtype">void</span>);
20600304         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema36">_render</a>(<span class="keyword">const</span> <a class="code" href="classOgre_1_1RenderOperation.html">RenderOperation</a>&amp; op);
20700308         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema37">_endFrame</a>(<span class="keywordtype">void</span>);
20800312         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema38">_setCullingMode</a>(CullingMode mode);
20900316         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema39">_setDepthBufferParams</a>(<span class="keywordtype">bool</span> depthTest = <span class="keyword">true</span>, <span class="keywordtype">bool</span> depthWrite = <span class="keyword">true</span>, CompareFunction depthFunction = CMPF_LESS_EQUAL);
21000320         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema40">_setDepthBufferCheckEnabled</a>(<span class="keywordtype">bool</span> enabled = <span class="keyword">true</span>);
21100324         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema41">_setDepthBufferWriteEnabled</a>(<span class="keywordtype">bool</span> enabled = <span class="keyword">true</span>);
21200328         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema42">_setDepthBufferFunction</a>(CompareFunction func = CMPF_LESS_EQUAL);
21300332         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema43">_setDepthBias</a>(<a class="code" href="namespaceOgre.html#a422">ushort</a> bias);
21400339         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema44">_setColourBufferWriteEnabled</a>(<span class="keywordtype">bool</span> red, <span class="keywordtype">bool</span> green, <span class="keywordtype">bool</span> blue, <span class="keywordtype">bool</span> alpha);
21500340         
21600344         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema45">_setFog</a>(FogMode mode, <span class="keyword">const</span> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a>&amp; colour, <a class="code" href="namespaceOgre.html#a420">Real</a> density, <a class="code" href="namespaceOgre.html#a420">Real</a> start, <a class="code" href="namespaceOgre.html#a420">Real</a> end);
21700348         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema46">_makeProjectionMatrix</a>(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>&amp; fovy, <a class="code" href="namespaceOgre.html#a420">Real</a> aspect, <a class="code" href="namespaceOgre.html#a420">Real</a> nearPlane,
21800349             <a class="code" href="namespaceOgre.html#a420">Real</a> farPlane, <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a>&amp; dest, <span class="keywordtype">bool</span> forGpuProgram = <span class="keyword">false</span>);
21900353         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema46">_makeProjectionMatrix</a>(<a class="code" href="namespaceOgre.html#a420">Real</a> left, <a class="code" href="namespaceOgre.html#a420">Real</a> right, <a class="code" href="namespaceOgre.html#a420">Real</a> bottom, <a class="code" href="namespaceOgre.html#a420">Real</a> top,
22000354             <a class="code" href="namespaceOgre.html#a420">Real</a> nearPlane, <a class="code" href="namespaceOgre.html#a420">Real</a> farPlane, <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a>&amp; dest, <span class="keywordtype">bool</span> forGpuProgram = <span class="keyword">false</span>);
22100358         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema48">_makeOrthoMatrix</a>(<span class="keyword">const</span> <a class="code" href="classOgre_1_1Radian.html">Radian</a>&amp; fovy, <a class="code" href="namespaceOgre.html#a420">Real</a> aspect, <a class="code" href="namespaceOgre.html#a420">Real</a> nearPlane, <a class="code" href="namespaceOgre.html#a420">Real</a> farPlane,
22200359             <a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a>&amp; dest, <span class="keywordtype">bool</span> forGpuProgram = <span class="keyword">false</span>);
22300363         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema49">_applyObliqueDepthProjection</a>(<a class="code" href="classOgre_1_1Matrix4.html">Matrix4</a>&amp; matrix, <span class="keyword">const</span> <a class="code" href="classOgre_1_1Plane.html">Plane</a>&amp; plane,
22400364             <span class="keywordtype">bool</span> forGpuProgram);
22500368         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema50">_setRasterisationMode</a>(SceneDetailLevel level);
22600372         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema51">setStencilCheckEnabled</a>(<span class="keywordtype">bool</span> enabled);
22700376         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema52">setStencilBufferParams</a>(CompareFunction func = CMPF_ALWAYS_PASS,
22800377             <a class="code" href="namespaceOgre.html#a412">uint32</a> refValue = 0, <a class="code" href="namespaceOgre.html#a412">uint32</a> mask = 0xFFFFFFFF,
22900378             StencilOperation stencilFailOp = SOP_KEEP,
23000379             StencilOperation depthFailOp = SOP_KEEP,
23100380             StencilOperation passOp = SOP_KEEP,
23200381             <span class="keywordtype">bool</span> twoSidedOperation = <span class="keyword">false</span>);
23300382         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema53">_setTextureUnitFiltering</a>(size_t unit, FilterType ftype, FilterOptions filter);
23400386         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema54">_setTextureLayerAnisotropy</a>(size_t unit, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> maxAnisotropy);
23500390         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema55">setVertexDeclaration</a>(<a class="code" href="classOgre_1_1VertexDeclaration.html">VertexDeclaration</a>* decl);
23600394         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema56">setVertexBufferBinding</a>(<a class="code" href="classOgre_1_1VertexBufferBinding.html">VertexBufferBinding</a>* binding);
23700398         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema57">setNormaliseNormals</a>(<span class="keywordtype">bool</span> normalise);
238<a name="l00402"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema58">00402</a>         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema58">bindGpuProgram</a>(<a class="code" href="classOgre_1_1GpuProgram.html">GpuProgram</a>* prg) { <span class="comment">/* do nothing */</span>}
239<a name="l00406"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema59">00406</a>         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema59">unbindGpuProgram</a>(GpuProgramType gptype){ <span class="comment">/* do nothing */</span>}
240<a name="l00410"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema60">00410</a>         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema60">bindGpuProgramParameters</a>(GpuProgramType gptype, <a class="code" href="classOgre_1_1SharedPtr.html">GpuProgramParametersSharedPtr</a> <a class="code" href="OgreGLPrerequisites_8h.html#a74">params</a>) { <span class="comment">/* do nothing */</span>}   
24100414         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema61">setClipPlanes</a>(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a410">PlaneList</a>&amp; clipPlanes);
242<a name="l00418"></a><a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema62">00418</a>         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema62">setScissorTest</a>(<span class="keywordtype">bool</span> enabled, size_t left = 0, size_t top = 0, size_t right = 800, size_t bottom = 600)
24300419         { <span class="comment">/* do nothing, d3d7 does not support scissor rect */</span> }
24400423         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema63">clearFrameBuffer</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> buffers,
24500424             <span class="keyword">const</span> <a class="code" href="classOgre_1_1ColourValue.html">ColourValue</a>&amp; colour = ColourValue::Black,
24600425             <a class="code" href="namespaceOgre.html#a420">Real</a> depth = 1.0f, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> stencil = 0);
24700426
24800427         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema64">setClipPlane</a> (<a class="code" href="namespaceOgre.html#a422">ushort</a> index, <a class="code" href="namespaceOgre.html#a420">Real</a> A, <a class="code" href="namespaceOgre.html#a420">Real</a> B, <a class="code" href="namespaceOgre.html#a420">Real</a> C, <a class="code" href="namespaceOgre.html#a420">Real</a> D);
24900428         <span class="keywordtype">void</span> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema65">enableClipPlane</a> (<a class="code" href="namespaceOgre.html#a422">ushort</a> index, <span class="keywordtype">bool</span> enable);
25000432         <a class="code" href="classOgre_1_1HardwareOcclusionQuery.html">HardwareOcclusionQuery</a>* <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema66">createHardwareOcclusionQuery</a>(<span class="keywordtype">void</span>);
25100433         <a class="code" href="namespaceOgre.html#a420">Real</a> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema67">getHorizontalTexelOffset</a>(<span class="keywordtype">void</span>);
25200434         <a class="code" href="namespaceOgre.html#a420">Real</a> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema68">getVerticalTexelOffset</a>(<span class="keywordtype">void</span>);
25300435         <a class="code" href="namespaceOgre.html#a420">Real</a> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema69">getMinimumDepthInputValue</a>(<span class="keywordtype">void</span>);
25400436         <a class="code" href="namespaceOgre.html#a420">Real</a> <a class="code" href="classOgre_1_1D3DRenderSystem.html#Ogre_1_1D3DRenderSystema70">getMaximumDepthInputValue</a>(<span class="keywordtype">void</span>);
25500437         <span class="comment">// ----------------------------------</span>
25600438         <span class="comment">// End Overridden members</span>
25700439         <span class="comment">// ----------------------------------</span>
25800440     };
25900441 }
26000442 <span class="preprocessor">#endif</span>
26100443 <span class="preprocessor"></span>
262</pre></div><hr>
263<p>
264Copyright &copy; 2000-2005 by The OGRE Team<br />
265<!--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/>
266This 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/>
267                <!--/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#">
268                <Work rdf:about="">
269                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
270        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
271                </Work>
272                <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> -->
273
274Last modified Sun Feb 12 12:59:43 2006
275</p>
276</body>
277</html>
Note: See TracBrowser for help on using the repository browser.