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#a677">00035</a> <span class="keyword">enum</span> <a class="code" href="namespaceOgre.html#a677">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#a677a505">RSC_AUTOMIPMAP</a> = 0x00000002, |
---|
47 | 00040 <a class="code" href="namespaceOgre.html#a677a506">RSC_BLENDING</a> = 0x00000004, |
---|
48 | 00042 <a class="code" href="namespaceOgre.html#a677a507">RSC_ANISOTROPY</a> = 0x00000008, |
---|
49 | 00044 <a class="code" href="namespaceOgre.html#a677a508">RSC_DOT3</a> = 0x00000010, |
---|
50 | 00046 <a class="code" href="namespaceOgre.html#a677a509">RSC_CUBEMAPPING</a> = 0x00000020, |
---|
51 | 00048 <a class="code" href="namespaceOgre.html#a677a510">RSC_HWSTENCIL</a> = 0x00000040, |
---|
52 | 00050 <a class="code" href="namespaceOgre.html#a677a511">RSC_VBO</a> = 0x00000080, |
---|
53 | 00052 <a class="code" href="namespaceOgre.html#a677a512">RSC_VERTEX_PROGRAM</a> = 0x00000200, |
---|
54 | 00054 <a class="code" href="namespaceOgre.html#a677a513">RSC_FRAGMENT_PROGRAM</a> = 0x00000400, |
---|
55 | 00056 <a class="code" href="namespaceOgre.html#a677a514">RSC_TEXTURE_COMPRESSION</a> = 0x00000800, |
---|
56 | 00058 <a class="code" href="namespaceOgre.html#a677a515">RSC_TEXTURE_COMPRESSION_DXT</a> = 0x00001000, |
---|
57 | 00060 <a class="code" href="namespaceOgre.html#a677a516">RSC_TEXTURE_COMPRESSION_VTC</a> = 0x00002000, |
---|
58 | 00062 <a class="code" href="namespaceOgre.html#a677a517">RSC_SCISSOR_TEST</a> = 0x00004000, |
---|
59 | 00064 <a class="code" href="namespaceOgre.html#a677a518">RSC_TWO_SIDED_STENCIL</a> = 0x00008000, |
---|
60 | 00066 <a class="code" href="namespaceOgre.html#a677a519">RSC_STENCIL_WRAP</a> = 0x00010000, |
---|
61 | 00068 <a class="code" href="namespaceOgre.html#a677a520">RSC_HWOCCLUSION</a> = 0x00020000, |
---|
62 | 00070 <a class="code" href="namespaceOgre.html#a677a521">RSC_USER_CLIP_PLANES</a> = 0x00040000, |
---|
63 | 00072 <a class="code" href="namespaceOgre.html#a677a522">RSC_VERTEX_FORMAT_UBYTE4</a> = 0x00080000, |
---|
64 | 00074 <a class="code" href="namespaceOgre.html#a677a523">RSC_INFINITE_FAR_PLANE</a> = 0x00100000, |
---|
65 | 00076 <a class="code" href="namespaceOgre.html#a677a524">RSC_HWRENDER_TO_TEXTURE</a> = 0x00200000, |
---|
66 | 00078 <a class="code" href="namespaceOgre.html#a677a525">RSC_TEXTURE_FLOAT</a> = 0x00400000, |
---|
67 | 00080 <a class="code" href="namespaceOgre.html#a677a526">RSC_NON_POWER_OF_2_TEXTURES</a> = 0x00800000, |
---|
68 | 00082 <a class="code" href="namespaceOgre.html#a677a527">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#a467">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#a467">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#a467">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#a467">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#a471">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#a471">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#a467">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#a467">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#a467">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#a467">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#a467">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#a467">ushort</a> mFragmentProgramConstantBoolCount; |
---|
87 | <a name="l00120"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr13">00120</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> mNumMultiRenderTargets; |
---|
88 | <a name="l00122"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesr14">00122</a> <a class="code" href="namespaceOgre.html#a465">Real</a> mMaxPointSize; |
---|
89 | 00123 |
---|
90 | 00124 <span class="keyword">public</span>: |
---|
91 | 00125 RenderSystemCapabilities (); |
---|
92 | 00126 ~RenderSystemCapabilities (); |
---|
93 | 00127 |
---|
94 | <a name="l00128"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa2">00128</a> <span class="keywordtype">void</span> setNumWorldMatricies(<a class="code" href="namespaceOgre.html#a467">ushort</a> num) |
---|
95 | 00129 { |
---|
96 | 00130 mNumWorldMatrices = num; |
---|
97 | 00131 } |
---|
98 | 00132 |
---|
99 | <a name="l00133"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa3">00133</a> <span class="keywordtype">void</span> setNumTextureUnits(<a class="code" href="namespaceOgre.html#a467">ushort</a> num) |
---|
100 | 00134 { |
---|
101 | 00135 mNumTextureUnits = num; |
---|
102 | 00136 } |
---|
103 | 00137 |
---|
104 | <a name="l00138"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa4">00138</a> <span class="keywordtype">void</span> setStencilBufferBitDepth(<a class="code" href="namespaceOgre.html#a467">ushort</a> num) |
---|
105 | 00139 { |
---|
106 | 00140 mStencilBufferBitDepth = num; |
---|
107 | 00141 } |
---|
108 | 00142 |
---|
109 | <a name="l00143"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa5">00143</a> <span class="keywordtype">void</span> setNumVertexBlendMatrices(<a class="code" href="namespaceOgre.html#a467">ushort</a> num) |
---|
110 | 00144 { |
---|
111 | 00145 mNumVertexBlendMatrices = num; |
---|
112 | 00146 } |
---|
113 | 00147 |
---|
114 | <a name="l00149"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa6">00149</a> <span class="keywordtype">void</span> setNumMultiRenderTargets(<a class="code" href="namespaceOgre.html#a467">ushort</a> num) |
---|
115 | 00150 { |
---|
116 | 00151 mNumMultiRenderTargets = num; |
---|
117 | 00152 } |
---|
118 | 00153 |
---|
119 | <a name="l00154"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa7">00154</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> getNumWorldMatricies(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
120 | 00155 <span class="keyword"> </span>{ |
---|
121 | 00156 <span class="keywordflow">return</span> mNumWorldMatrices; |
---|
122 | 00157 } |
---|
123 | 00158 |
---|
124 | <a name="l00169"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa8">00169</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> getNumTextureUnits(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
125 | 00170 <span class="keyword"> </span>{ |
---|
126 | 00171 <span class="keywordflow">return</span> mNumTextureUnits; |
---|
127 | 00172 } |
---|
128 | 00173 |
---|
129 | <a name="l00180"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa9">00180</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> getStencilBufferBitDepth(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
130 | 00181 <span class="keyword"> </span>{ |
---|
131 | 00182 <span class="keywordflow">return</span> mStencilBufferBitDepth; |
---|
132 | 00183 } |
---|
133 | 00184 |
---|
134 | <a name="l00187"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa10">00187</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> numVertexBlendMatrices(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
135 | 00188 <span class="keyword"> </span>{ |
---|
136 | 00189 <span class="keywordflow">return</span> mNumVertexBlendMatrices; |
---|
137 | 00190 } |
---|
138 | 00191 |
---|
139 | <a name="l00193"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa11">00193</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> numMultiRenderTargets(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
140 | 00194 <span class="keyword"> </span>{ |
---|
141 | 00195 <span class="keywordflow">return</span> mNumMultiRenderTargets; |
---|
142 | 00196 } |
---|
143 | 00197 |
---|
144 | <a name="l00200"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa12">00200</a> <span class="keywordtype">void</span> setCapability(<span class="keyword">const</span> Capabilities c) |
---|
145 | 00201 { |
---|
146 | 00202 mCapabilities |= c; |
---|
147 | 00203 } |
---|
148 | 00204 |
---|
149 | <a name="l00207"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa13">00207</a> <span class="keywordtype">bool</span> hasCapability(<span class="keyword">const</span> Capabilities c)<span class="keyword"> const</span> |
---|
150 | 00208 <span class="keyword"> </span>{ |
---|
151 | 00209 <span class="keywordflow">if</span>(mCapabilities & c) |
---|
152 | 00210 { |
---|
153 | 00211 <span class="keywordflow">return</span> <span class="keyword">true</span>; |
---|
154 | 00212 } |
---|
155 | 00213 <span class="keywordflow">else</span> |
---|
156 | 00214 { |
---|
157 | 00215 <span class="keywordflow">return</span> <span class="keyword">false</span>; |
---|
158 | 00216 } |
---|
159 | 00217 } |
---|
160 | <a name="l00219"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa14">00219</a> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& getMaxVertexProgramVersion(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
161 | 00220 <span class="keyword"> </span>{ |
---|
162 | 00221 <span class="keywordflow">return</span> mMaxVertexProgramVersion; |
---|
163 | 00222 } |
---|
164 | <a name="l00224"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa15">00224</a> <span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& getMaxFragmentProgramVersion(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
165 | 00225 <span class="keyword"> </span>{ |
---|
166 | 00226 <span class="keywordflow">return</span> mMaxFragmentProgramVersion; |
---|
167 | 00227 } |
---|
168 | <a name="l00229"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa16">00229</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> getVertexProgramConstantFloatCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
169 | 00230 <span class="keyword"> </span>{ |
---|
170 | 00231 <span class="keywordflow">return</span> mVertexProgramConstantFloatCount; |
---|
171 | 00232 } |
---|
172 | <a name="l00234"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa17">00234</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> getVertexProgramConstantIntCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
173 | 00235 <span class="keyword"> </span>{ |
---|
174 | 00236 <span class="keywordflow">return</span> mVertexProgramConstantIntCount; |
---|
175 | 00237 } |
---|
176 | <a name="l00239"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa18">00239</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> getVertexProgramConstantBoolCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
177 | 00240 <span class="keyword"> </span>{ |
---|
178 | 00241 <span class="keywordflow">return</span> mVertexProgramConstantBoolCount; |
---|
179 | 00242 } |
---|
180 | <a name="l00244"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa19">00244</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> getFragmentProgramConstantFloatCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
181 | 00245 <span class="keyword"> </span>{ |
---|
182 | 00246 <span class="keywordflow">return</span> mFragmentProgramConstantFloatCount; |
---|
183 | 00247 } |
---|
184 | <a name="l00249"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa20">00249</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> getFragmentProgramConstantIntCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
185 | 00250 <span class="keyword"> </span>{ |
---|
186 | 00251 <span class="keywordflow">return</span> mFragmentProgramConstantIntCount; |
---|
187 | 00252 } |
---|
188 | <a name="l00254"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa21">00254</a> <a class="code" href="namespaceOgre.html#a467">ushort</a> getFragmentProgramConstantBoolCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
189 | 00255 <span class="keyword"> </span>{ |
---|
190 | 00256 <span class="keywordflow">return</span> mFragmentProgramConstantBoolCount; |
---|
191 | 00257 } |
---|
192 | 00258 |
---|
193 | 00259 |
---|
194 | 00260 |
---|
195 | <a name="l00262"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa22">00262</a> <span class="keywordtype">void</span> setMaxVertexProgramVersion(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& ver) |
---|
196 | 00263 { |
---|
197 | 00264 mMaxVertexProgramVersion = ver; |
---|
198 | 00265 } |
---|
199 | <a name="l00267"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa23">00267</a> <span class="keywordtype">void</span> setMaxFragmentProgramVersion(<span class="keyword">const</span> <a class="code" href="namespaceOgre.html#a471">String</a>& ver) |
---|
200 | 00268 { |
---|
201 | 00269 mMaxFragmentProgramVersion = ver; |
---|
202 | 00270 } |
---|
203 | <a name="l00272"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa24">00272</a> <span class="keywordtype">void</span> setVertexProgramConstantFloatCount(<a class="code" href="namespaceOgre.html#a467">ushort</a> c) |
---|
204 | 00273 { |
---|
205 | 00274 mVertexProgramConstantFloatCount = c; |
---|
206 | 00275 } |
---|
207 | <a name="l00277"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa25">00277</a> <span class="keywordtype">void</span> setVertexProgramConstantIntCount(<a class="code" href="namespaceOgre.html#a467">ushort</a> c) |
---|
208 | 00278 { |
---|
209 | 00279 mVertexProgramConstantIntCount = c; |
---|
210 | 00280 } |
---|
211 | <a name="l00282"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa26">00282</a> <span class="keywordtype">void</span> setVertexProgramConstantBoolCount(<a class="code" href="namespaceOgre.html#a467">ushort</a> c) |
---|
212 | 00283 { |
---|
213 | 00284 mVertexProgramConstantBoolCount = c; |
---|
214 | 00285 } |
---|
215 | <a name="l00287"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa27">00287</a> <span class="keywordtype">void</span> setFragmentProgramConstantFloatCount(<a class="code" href="namespaceOgre.html#a467">ushort</a> c) |
---|
216 | 00288 { |
---|
217 | 00289 mFragmentProgramConstantFloatCount = c; |
---|
218 | 00290 } |
---|
219 | <a name="l00292"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa28">00292</a> <span class="keywordtype">void</span> setFragmentProgramConstantIntCount(<a class="code" href="namespaceOgre.html#a467">ushort</a> c) |
---|
220 | 00293 { |
---|
221 | 00294 mFragmentProgramConstantIntCount = c; |
---|
222 | 00295 } |
---|
223 | <a name="l00297"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa29">00297</a> <span class="keywordtype">void</span> setFragmentProgramConstantBoolCount(<a class="code" href="namespaceOgre.html#a467">ushort</a> c) |
---|
224 | 00298 { |
---|
225 | 00299 mFragmentProgramConstantBoolCount = c; |
---|
226 | 00300 } |
---|
227 | <a name="l00302"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa30">00302</a> <span class="keywordtype">void</span> setMaxPointSize(<a class="code" href="namespaceOgre.html#a465">Real</a> s) |
---|
228 | 00303 { |
---|
229 | 00304 mMaxPointSize = s; |
---|
230 | 00305 } |
---|
231 | <a name="l00307"></a><a class="code" href="classOgre_1_1RenderSystemCapabilities.html#Ogre_1_1RenderSystemCapabilitiesa31">00307</a> <a class="code" href="namespaceOgre.html#a465">Real</a> getMaxPointSize(<span class="keywordtype">void</span>)<span class="keyword"> const</span> |
---|
232 | 00308 <span class="keyword"> </span>{ |
---|
233 | 00309 <span class="keywordflow">return</span> mMaxPointSize; |
---|
234 | 00310 } |
---|
235 | 00311 |
---|
236 | 00312 |
---|
237 | 00314 <span class="keywordtype">void</span> log(<a class="code" href="classOgre_1_1Log.html">Log</a>* pLog); |
---|
238 | 00315 |
---|
239 | 00316 |
---|
240 | 00317 |
---|
241 | 00318 |
---|
242 | 00319 }; |
---|
243 | 00320 }; |
---|
244 | 00321 |
---|
245 | 00322 <span class="preprocessor">#endif // __RenderSystemCapabilities__</span> |
---|
246 | 00323 <span class="preprocessor"></span> |
---|
247 | </pre></div><hr> |
---|
248 | <p> |
---|
249 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
250 | <!--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/> |
---|
251 | 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/> |
---|
252 | <!--/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#"> |
---|
253 | <Work rdf:about=""> |
---|
254 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
255 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
256 | </Work> |
---|
257 | <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> --> |
---|
258 | |
---|
259 | Last modified Sun Mar 12 14:37:48 2006 |
---|
260 | </p> |
---|
261 | </body> |
---|
262 | </html> |
---|