[657] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <title>OgreRenderSystemCapabilities.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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
| 10 | <h1>OgreRenderSystemCapabilities.h</h1><a href="OgreRenderSystemCapabilities_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span> |
---|
| 11 | 00002 <span class="comment">-----------------------------------------------------------------------------</span> |
---|
| 12 | 00003 <span class="comment">This source file is part of OGRE</span> |
---|
| 13 | 00004 <span class="comment"> (Object-oriented Graphics Rendering Engine)</span> |
---|
| 14 | 00005 <span class="comment">For the latest info, see http://www.ogre3d.org/</span> |
---|
| 15 | 00006 <span class="comment"></span> |
---|
| 16 | 00007 <span class="comment">Copyright (c) 2000-2005 The OGRE Team</span> |
---|
| 17 | 00008 <span class="comment">Also see acknowledgements in Readme.html</span> |
---|
| 18 | 00009 <span class="comment"></span> |
---|
| 19 | 00010 <span class="comment">This program is free software; you can redistribute it and/or modify it under</span> |
---|
| 20 | 00011 <span class="comment">the terms of the GNU Lesser General Public License as published by the Free Software</span> |
---|
| 21 | 00012 <span class="comment">Foundation; either version 2 of the License, or (at your option) any later</span> |
---|
| 22 | 00013 <span class="comment">version.</span> |
---|
| 23 | 00014 <span class="comment"></span> |
---|
| 24 | 00015 <span class="comment">This program is distributed in the hope that it will be useful, but WITHOUT</span> |
---|
| 25 | 00016 <span class="comment">ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS</span> |
---|
| 26 | 00017 <span class="comment">FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</span> |
---|
| 27 | 00018 <span class="comment"></span> |
---|
| 28 | 00019 <span class="comment">You should have received a copy of the GNU Lesser General Public License along with</span> |
---|
| 29 | 00020 <span class="comment">this program; if not, write to the Free Software Foundation, Inc., 59 Temple</span> |
---|
| 30 | 00021 <span class="comment">Place - Suite 330, Boston, MA 02111-1307, USA, or go to</span> |
---|
| 31 | 00022 <span class="comment">http://www.gnu.org/copyleft/lesser.txt.</span> |
---|
| 32 | 00023 <span class="comment">-----------------------------------------------------------------------------</span> |
---|
| 33 | 00024 <span class="comment">*/</span> |
---|
| 34 | 00025 <span class="preprocessor">#ifndef __RenderSystemCapabilities__</span> |
---|
| 35 | <a name="l00026"></a><a class="code" href="OgreRenderSystemCapabilities_8h.html#a0">00026</a> <span class="preprocessor"></span><span class="preprocessor">#define __RenderSystemCapabilities__ 1</span> |
---|
| 36 | 00027 <span class="preprocessor"></span> |
---|
| 37 | 00028 <span class="comment">// Precompiler options</span> |
---|
| 38 | 00029 <span class="preprocessor">#include "<a class="code" href="OgrePrerequisites_8h.html">OgrePrerequisites.h</a>"</span> |
---|
| 39 | 00030 <span class="preprocessor">#include "<a class="code" href="OgreString_8h.html">OgreString.h</a>"</span> |
---|
| 40 | 00031 |
---|
| 41 | 00032 <span class="keyword">namespace </span>Ogre { |
---|
| 42 | 00033 |
---|
| 43 | <a name="l00035"></a><a class="code" href="namespaceOgre.html#a673">00035</a> <span class="keyword">enum</span> <a class="code" href="namespaceOgre.html#a673">Capabilities</a> |
---|
| 44 | 00036 { |
---|
| 45 | 00037 <span class="comment">//RSC_MULTITEXTURE = 0x00000001,</span> |
---|
| 46 | 00039 <span class="comment"></span> <a class="code" href="namespaceOgre.html#a673a461">RSC_AUTOMIPMAP</a> = 0x00000002, |
---|
| 47 | 00040 <a class="code" href="namespaceOgre.html#a673a462">RSC_BLENDING</a> = 0x00000004, |
---|
| 48 | 00042 <a class="code" href="namespaceOgre.html#a673a463">RSC_ANISOTROPY</a> = 0x00000008, |
---|
| 49 | 00044 <a class="code" href="namespaceOgre.html#a673a464">RSC_DOT3</a> = 0x00000010, |
---|
| 50 | 00046 <a class="code" href="namespaceOgre.html#a673a465">RSC_CUBEMAPPING</a> = 0x00000020, |
---|
| 51 | 00048 <a class="code" href="namespaceOgre.html#a673a466">RSC_HWSTENCIL</a> = 0x00000040, |
---|
| 52 | 00050 <a class="code" href="namespaceOgre.html#a673a467">RSC_VBO</a> = 0x00000080, |
---|
| 53 | 00052 <a class="code" href="namespaceOgre.html#a673a468">RSC_VERTEX_PROGRAM</a> = 0x00000200, |
---|
| 54 | 00054 <a class="code" href="namespaceOgre.html#a673a469">RSC_FRAGMENT_PROGRAM</a> = 0x00000400, |
---|
| 55 | 00056 <a class="code" href="namespaceOgre.html#a673a470">RSC_TEXTURE_COMPRESSION</a> = 0x00000800, |
---|
| 56 | 00058 <a class="code" href="namespaceOgre.html#a673a471">RSC_TEXTURE_COMPRESSION_DXT</a> = 0x00001000, |
---|
| 57 | 00060 <a class="code" href="namespaceOgre.html#a673a472">RSC_TEXTURE_COMPRESSION_VTC</a> = 0x00002000, |
---|
| 58 | 00062 <a class="code" href="namespaceOgre.html#a673a473">RSC_SCISSOR_TEST</a> = 0x00004000, |
---|
| 59 | 00064 <a class="code" href="namespaceOgre.html#a673a474">RSC_TWO_SIDED_STENCIL</a> = 0x00008000, |
---|
| 60 | 00066 <a class="code" href="namespaceOgre.html#a673a475">RSC_STENCIL_WRAP</a> = 0x00010000, |
---|
| 61 | 00068 <a class="code" href="namespaceOgre.html#a673a476">RSC_HWOCCLUSION</a> = 0x00020000, |
---|
| 62 | 00070 <a class="code" href="namespaceOgre.html#a673a477">RSC_USER_CLIP_PLANES</a> = 0x00040000, |
---|
| 63 | 00072 <a class="code" href="namespaceOgre.html#a673a478">RSC_VERTEX_FORMAT_UBYTE4</a> = 0x00080000, |
---|
| 64 | 00074 <a class="code" href="namespaceOgre.html#a673a479">RSC_INFINITE_FAR_PLANE</a> = 0x00100000, |
---|
| 65 | 00076 <a class="code" href="namespaceOgre.html#a673a480">RSC_HWRENDER_TO_TEXTURE</a> = 0x00200000, |
---|
| 66 | 00078 <a class="code" href="namespaceOgre.html#a673a481">RSC_TEXTURE_FLOAT</a> = 0x00400000, |
---|
| 67 | 00080 <a class="code" href="namespaceOgre.html#a673a482">RSC_NON_POWER_OF_2_TEXTURES</a> = 0x00800000, |
---|
| 68 | 00082 <a class="code" href="namespaceOgre.html#a673a483">RSC_TEXTURE_3D</a> = 0x01000000 |
---|
| 69 | 00083 }; |
---|
| 70 | 00084 |
---|
| 71 | <a name="l00090"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html">00090</a> <span class="keyword">class </span><a class="code" href="OgrePlatform_8h.html#a16">_OgreExport</a> RenderSystemCapabilities |
---|
| 72 | 00091 { |
---|
| 73 | 00092 <span class="keyword">private</span>: |
---|
| 74 | <a name="l00094"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr0">00094</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> mNumWorldMatrices; |
---|
| 75 | <a name="l00096"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr1">00096</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> mNumTextureUnits; |
---|
| 76 | <a name="l00098"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr2">00098</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> mStencilBufferBitDepth; |
---|
| 77 | <a name="l00100"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr3">00100</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> mNumVertexBlendMatrices; |
---|
| 78 | <a name="l00102"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr4">00102</a> <span class="keywordtype">int</span> mCapabilities; |
---|
| 79 | <a name="l00104"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr5">00104</a> <a class="code" href="namespaceOgre.html#a426">String</a> mMaxVertexProgramVersion; |
---|
| 80 | <a name="l00106"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr6">00106</a> <a class="code" href="namespaceOgre.html#a426">String</a> mMaxFragmentProgramVersion; |
---|
| 81 | <a name="l00108"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr7">00108</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> mVertexProgramConstantFloatCount; |
---|
| 82 | <a name="l00110"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr8">00110</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> mVertexProgramConstantIntCount; |
---|
| 83 | <a name="l00112"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr9">00112</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> mVertexProgramConstantBoolCount; |
---|
| 84 | <a name="l00114"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr10">00114</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> mFragmentProgramConstantFloatCount; |
---|
| 85 | <a name="l00116"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr11">00116</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> mFragmentProgramConstantIntCount; |
---|
| 86 | <a name="l00118"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr12">00118</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> mFragmentProgramConstantBoolCount; |
---|
| 87 | 00119 |
---|
| 88 | 00120 <span class="keyword">public</span>: |
---|
| 89 | 00121 RenderSystemCapabilities (); |
---|
| 90 | 00122 ~RenderSystemCapabilities (); |
---|
| 91 | 00123 |
---|
| 92 | <a name="l00124"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa2">00124</a> <span class="keywordtype">void</span> setNumWorldMatricies(<a class="code" href="namespaceOgre.html#a422">ushort</a> num) |
---|
| 93 | 00125 { |
---|
| 94 | 00126 mNumWorldMatrices = num; |
---|
| 95 | 00127 } |
---|
| 96 | 00128 |
---|
| 97 | <a name="l00129"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa3">00129</a> <span class="keywordtype">void</span> setNumTextureUnits(<a class="code" href="namespaceOgre.html#a422">ushort</a> num) |
---|
| 98 | 00130 { |
---|
| 99 | 00131 mNumTextureUnits = num; |
---|
| 100 | 00132 } |
---|
| 101 | 00133 |
---|
| 102 | <a name="l00134"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa4">00134</a> <span class="keywordtype">void</span> setStencilBufferBitDepth(<a class="code" href="namespaceOgre.html#a422">ushort</a> num) |
---|
| 103 | 00135 { |
---|
| 104 | 00136 mStencilBufferBitDepth = num; |
---|
| 105 | 00137 } |
---|
| 106 | 00138 |
---|
| 107 | <a name="l00139"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa5">00139</a> <span class="keywordtype">void</span> setNumVertexBlendMatrices(<a class="code" href="namespaceOgre.html#a422">ushort</a> num) |
---|
| 108 | 00140 { |
---|
| 109 | 00141 mNumVertexBlendMatrices = num; |
---|
| 110 | 00142 } |
---|
| 111 | 00143 |
---|
| 112 | <a name="l00144"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa6">00144</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> getNumWorldMatricies(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 113 | 00145 <span class="keyword"> </span>{ |
---|
| 114 | 00146 <span class="keywordflow">return</span> mNumWorldMatrices; |
---|
| 115 | 00147 } |
---|
| 116 | 00148 |
---|
| 117 | <a name="l00159"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa7">00159</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> getNumTextureUnits(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 118 | 00160 <span class="keyword"> </span>{ |
---|
| 119 | 00161 <span class="keywordflow">return</span> mNumTextureUnits; |
---|
| 120 | 00162 } |
---|
| 121 | 00163 |
---|
| 122 | <a name="l00170"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa8">00170</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> getStencilBufferBitDepth(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 123 | 00171 <span class="keyword"> </span>{ |
---|
| 124 | 00172 <span class="keywordflow">return</span> mStencilBufferBitDepth; |
---|
| 125 | 00173 } |
---|
| 126 | 00174 |
---|
| 127 | <a name="l00177"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa9">00177</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> numVertexBlendMatrices(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 128 | 00178 <span class="keyword"> </span>{ |
---|
| 129 | 00179 <span class="keywordflow">return</span> mNumVertexBlendMatrices; |
---|
| 130 | 00180 } |
---|
| 131 | 00181 |
---|
| 132 | <a name="l00184"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa10">00184</a> <span class="keywordtype">void</span> setCapability(<span class="keyword">const</span> Capabilities c) |
---|
| 133 | 00185 { |
---|
| 134 | 00186 mCapabilities |= c; |
---|
| 135 | 00187 } |
---|
| 136 | 00188 |
---|
| 137 | <a name="l00191"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa11">00191</a> <span class="keywordtype">bool</span> hasCapability(<span class="keyword">const</span> Capabilities c)<span class="keyword"> const</span> |
---|
| 138 | 00192 <span class="keyword"> </span>{ |
---|
| 139 | 00193 <span class="keywordflow">if</span>(mCapabilities & c) |
---|
| 140 | 00194 { |
---|
| 141 | 00195 <span class="keywordflow">return</span> <span class="keyword">true</span>; |
---|
| 142 | 00196 } |
---|
| 143 | 00197 <span class="keywordflow">else</span> |
---|
| 144 | 00198 { |
---|
| 145 | 00199 <span class="keywordflow">return</span> <span class="keyword">false</span>; |
---|
| 146 | 00200 } |
---|
| 147 | 00201 } |
---|
| 148 | <a name="l00203"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa12">00203</a> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& getMaxVertexProgramVersion(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 149 | 00204 <span class="keyword"> </span>{ |
---|
| 150 | 00205 <span class="keywordflow">return</span> mMaxVertexProgramVersion; |
---|
| 151 | 00206 } |
---|
| 152 | <a name="l00208"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa13">00208</a> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& getMaxFragmentProgramVersion(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 153 | 00209 <span class="keyword"> </span>{ |
---|
| 154 | 00210 <span class="keywordflow">return</span> mMaxFragmentProgramVersion; |
---|
| 155 | 00211 } |
---|
| 156 | <a name="l00213"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa14">00213</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> getVertexProgramConstantFloatCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 157 | 00214 <span class="keyword"> </span>{ |
---|
| 158 | 00215 <span class="keywordflow">return</span> mVertexProgramConstantFloatCount; |
---|
| 159 | 00216 } |
---|
| 160 | <a name="l00218"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa15">00218</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> getVertexProgramConstantIntCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 161 | 00219 <span class="keyword"> </span>{ |
---|
| 162 | 00220 <span class="keywordflow">return</span> mVertexProgramConstantIntCount; |
---|
| 163 | 00221 } |
---|
| 164 | <a name="l00223"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa16">00223</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> getVertexProgramConstantBoolCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 165 | 00224 <span class="keyword"> </span>{ |
---|
| 166 | 00225 <span class="keywordflow">return</span> mVertexProgramConstantBoolCount; |
---|
| 167 | 00226 } |
---|
| 168 | <a name="l00228"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa17">00228</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> getFragmentProgramConstantFloatCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 169 | 00229 <span class="keyword"> </span>{ |
---|
| 170 | 00230 <span class="keywordflow">return</span> mFragmentProgramConstantFloatCount; |
---|
| 171 | 00231 } |
---|
| 172 | <a name="l00233"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa18">00233</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> getFragmentProgramConstantIntCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 173 | 00234 <span class="keyword"> </span>{ |
---|
| 174 | 00235 <span class="keywordflow">return</span> mFragmentProgramConstantIntCount; |
---|
| 175 | 00236 } |
---|
| 176 | <a name="l00238"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa19">00238</a> <a class="code" href="namespaceOgre.html#a422">ushort</a> getFragmentProgramConstantBoolCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
| 177 | 00239 <span class="keyword"> </span>{ |
---|
| 178 | 00240 <span class="keywordflow">return</span> mFragmentProgramConstantBoolCount; |
---|
| 179 | 00241 } |
---|
| 180 | 00242 |
---|
| 181 | 00243 |
---|
| 182 | 00244 |
---|
| 183 | <a name="l00246"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa20">00246</a> <span class="keywordtype">void</span> setMaxVertexProgramVersion(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& ver) |
---|
| 184 | 00247 { |
---|
| 185 | 00248 mMaxVertexProgramVersion = ver; |
---|
| 186 | 00249 } |
---|
| 187 | <a name="l00251"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa21">00251</a> <span class="keywordtype">void</span> setMaxFragmentProgramVersion(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a426">String</a>& ver) |
---|
| 188 | 00252 { |
---|
| 189 | 00253 mMaxFragmentProgramVersion = ver; |
---|
| 190 | 00254 } |
---|
| 191 | <a name="l00256"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa22">00256</a> <span class="keywordtype">void</span> setVertexProgramConstantFloatCount(<a class="code" href="namespaceOgre.html#a422">ushort</a> c) |
---|
| 192 | 00257 { |
---|
| 193 | 00258 mVertexProgramConstantFloatCount = c; |
---|
| 194 | 00259 } |
---|
| 195 | <a name="l00261"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa23">00261</a> <span class="keywordtype">void</span> setVertexProgramConstantIntCount(<a class="code" href="namespaceOgre.html#a422">ushort</a> c) |
---|
| 196 | 00262 { |
---|
| 197 | 00263 mVertexProgramConstantIntCount = c; |
---|
| 198 | 00264 } |
---|
| 199 | <a name="l00266"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa24">00266</a> <span class="keywordtype">void</span> setVertexProgramConstantBoolCount(<a class="code" href="namespaceOgre.html#a422">ushort</a> c) |
---|
| 200 | 00267 { |
---|
| 201 | 00268 mVertexProgramConstantBoolCount = c; |
---|
| 202 | 00269 } |
---|
| 203 | <a name="l00271"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa25">00271</a> <span class="keywordtype">void</span> setFragmentProgramConstantFloatCount(<a class="code" href="namespaceOgre.html#a422">ushort</a> c) |
---|
| 204 | 00272 { |
---|
| 205 | 00273 mFragmentProgramConstantFloatCount = c; |
---|
| 206 | 00274 } |
---|
| 207 | <a name="l00276"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa26">00276</a> <span class="keywordtype">void</span> setFragmentProgramConstantIntCount(<a class="code" href="namespaceOgre.html#a422">ushort</a> c) |
---|
| 208 | 00277 { |
---|
| 209 | 00278 mFragmentProgramConstantIntCount = c; |
---|
| 210 | 00279 } |
---|
| 211 | <a name="l00281"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa27">00281</a> <span class="keywordtype">void</span> setFragmentProgramConstantBoolCount(<a class="code" href="namespaceOgre.html#a422">ushort</a> c) |
---|
| 212 | 00282 { |
---|
| 213 | 00283 mFragmentProgramConstantBoolCount = c; |
---|
| 214 | 00284 } |
---|
| 215 | 00285 |
---|
| 216 | 00287 <span class="keywordtype">void</span> log(<a class="code" href="classOgre_1_1Log.html">Log</a>* pLog); |
---|
| 217 | 00288 |
---|
| 218 | 00289 |
---|
| 219 | 00290 |
---|
| 220 | 00291 |
---|
| 221 | 00292 }; |
---|
| 222 | 00293 }; |
---|
| 223 | 00294 |
---|
| 224 | 00295 <span class="preprocessor">#endif // __RenderSystemCapabilities__</span> |
---|
| 225 | 00296 <span class="preprocessor"></span> |
---|
| 226 | </pre></div><hr> |
---|
| 227 | <p> |
---|
| 228 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
| 229 | <!--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/> |
---|
| 230 | This 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/> |
---|
| 231 | <!--/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#"> |
---|
| 232 | <Work rdf:about=""> |
---|
| 233 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
| 234 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
| 235 | </Work> |
---|
| 236 | <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> --> |
---|
| 237 | |
---|
| 238 | Last modified Sun Feb 12 12:59:51 2006 |
---|
| 239 | </p> |
---|
| 240 | </body> |
---|
| 241 | </html> |
---|