aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_mesh.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_mesh.html')
-rw-r--r--src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_mesh.html394
1 files changed, 394 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_mesh.html b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_mesh.html
new file mode 100644
index 0000000..7435b1d
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_mesh.html
@@ -0,0 +1,394 @@
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<title>Irrlicht 3D Engine: irr::scene::IMesh Class Reference</title>
6
7<link href="tabs.css" rel="stylesheet" type="text/css"/>
8<link href="doxygen.css" rel="stylesheet" type="text/css" />
9<link href="navtree.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="resize.js"></script>
12<script type="text/javascript" src="navtree.js"></script>
13<script type="text/javascript">
14 $(document).ready(initResizable);
15</script>
16<link href="search/search.css" rel="stylesheet" type="text/css"/>
17<script type="text/javascript" src="search/search.js"></script>
18<script type="text/javascript">
19 $(document).ready(function() { searchBox.OnSelectItem(0); });
20</script>
21
22</head>
23<body>
24<div id="top"><!-- do not remove this div! -->
25
26
27<div id="titlearea">
28<table cellspacing="0" cellpadding="0">
29 <tbody>
30 <tr style="height: 56px;">
31
32 <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
33
34
35 <td style="padding-left: 0.5em;">
36 <div id="projectname">Irrlicht 3D Engine
37
38 </div>
39
40 </td>
41
42
43
44
45 <td> <div id="MSearchBox" class="MSearchBoxInactive">
46 <span class="left">
47 <img id="MSearchSelect" src="search/mag_sel.png"
48 onmouseover="return searchBox.OnSearchSelectShow()"
49 onmouseout="return searchBox.OnSearchSelectHide()"
50 alt=""/>
51 <input type="text" id="MSearchField" value="Search" accesskey="S"
52 onfocus="searchBox.OnSearchFieldFocus(true)"
53 onblur="searchBox.OnSearchFieldFocus(false)"
54 onkeyup="searchBox.OnSearchFieldChange(event)"/>
55 </span><span class="right">
56 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
57 </span>
58 </div>
59</td>
60
61
62 </tr>
63 </tbody>
64</table>
65</div>
66
67<!-- Generated by Doxygen 1.7.5.1 -->
68<script type="text/javascript">
69var searchBox = new SearchBox("searchBox", "search",false,'Search');
70</script>
71<script type="text/javascript" src="dynsections.js"></script>
72</div>
73<div id="side-nav" class="ui-resizable side-nav-resizable">
74 <div id="nav-tree">
75 <div id="nav-tree-contents">
76 </div>
77 </div>
78 <div id="splitbar" style="-moz-user-select:none;"
79 class="ui-resizable-handle">
80 </div>
81</div>
82<script type="text/javascript">
83 initNavTree('classirr_1_1scene_1_1_i_mesh.html','');
84</script>
85<div id="doc-content">
86<div class="header">
87 <div class="summary">
88<a href="#pub-methods">Public Member Functions</a> </div>
89 <div class="headertitle">
90<div class="title">irr::scene::IMesh Class Reference</div> </div>
91</div>
92<div class="contents">
93<!-- doxytag: class="irr::scene::IMesh" --><!-- doxytag: inherits="irr::IReferenceCounted" -->
94<p>Class which holds the geometry of an object.
95 <a href="classirr_1_1scene_1_1_i_mesh.html#details">More...</a></p>
96
97<p><code>#include &lt;<a class="el" href="_i_mesh_8h_source.html">IMesh.h</a>&gt;</code></p>
98<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
99 <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for irr::scene::IMesh:</div>
100<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
101</div>
102<div id="dynsection-0-content" class="dyncontent" style="display:none;">
103 <div class="center">
104 <img src="classirr_1_1scene_1_1_i_mesh.png" usemap="#irr::scene::IMesh_map" alt=""/>
105 <map id="irr::scene::IMesh_map" name="irr::scene::IMesh_map">
106<area href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine." alt="irr::IReferenceCounted" shape="rect" coords="485,0,669,24"/>
107<area href="classirr_1_1scene_1_1_i_animated_mesh.html" title="Interface for an animated mesh." alt="irr::scene::IAnimatedMesh" shape="rect" coords="388,112,572,136"/>
108<area href="structirr_1_1scene_1_1_s_mesh.html" title="Simple implementation of the IMesh interface." alt="irr::scene::SMesh" shape="rect" coords="582,112,766,136"/>
109<area href="classirr_1_1scene_1_1_i_animated_mesh_m_d2.html" title="Interface for using some special functions of MD2 meshes." alt="irr::scene::IAnimatedMeshMD2" shape="rect" coords="0,168,184,192"/>
110<area href="classirr_1_1scene_1_1_i_animated_mesh_m_d3.html" title="Interface for using some special functions of MD3 meshes." alt="irr::scene::IAnimatedMeshMD3" shape="rect" coords="194,168,378,192"/>
111<area href="classirr_1_1scene_1_1_i_q3_level_mesh.html" title="Interface for a Mesh which can be loaded directly from a Quake3 .bsp-file." alt="irr::scene::IQ3LevelMesh" shape="rect" coords="388,168,572,192"/>
112<area href="classirr_1_1scene_1_1_i_skinned_mesh.html" title="Interface for using some special functions of Skinned meshes." alt="irr::scene::ISkinnedMesh" shape="rect" coords="582,168,766,192"/>
113<area href="structirr_1_1scene_1_1_s_animated_mesh.html" title="Simple implementation of the IAnimatedMesh interface." alt="irr::scene::SAnimatedMesh" shape="rect" coords="776,168,960,192"/>
114</map>
115 </div></div>
116
117<p><a href="classirr_1_1scene_1_1_i_mesh-members.html">List of all members.</a></p>
118<h2><a name="pub-methods"></a>
119Public Member Functions</h2>
120<ul>
121<li>virtual const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a><br class="typebreak"/>
122&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp; <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#ada6ecee9cbebed8bb67fd92872552ea0">getBoundingBox</a> () const =0
123<dl class="el"><dd class="mdescRight">Get an axis aligned bounding box of the mesh. <a href="#ada6ecee9cbebed8bb67fd92872552ea0"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a> * <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a2cd1a04b396235101f426befba0c5b82">getMeshBuffer</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> nr) const =0
124<dl class="el"><dd class="mdescRight">Get pointer to a mesh buffer. <a href="#a2cd1a04b396235101f426befba0c5b82"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a> * <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a9573dace82efb01ba1f35f9cc28a4ced">getMeshBuffer</a> (const <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &amp;material) const =0
125<dl class="el"><dd class="mdescRight">Get pointer to a mesh buffer which fits a material. <a href="#a9573dace82efb01ba1f35f9cc28a4ced"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a2ebed0bdae2d6537c36b0b7ac831edb8">getMeshBufferCount</a> () const =0
126<dl class="el"><dd class="mdescRight">Get the amount of mesh buffers. <a href="#a2ebed0bdae2d6537c36b0b7ac831edb8"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a0aee3b5bc5d31ce996becc069f65e642">setBoundingBox</a> (const <a class="el" href="namespaceirr_1_1core.html#adfc8fa01b30044c55f3332a1d6c1aa19">core::aabbox3df</a> &amp;box)=0
127<dl class="el"><dd class="mdescRight">Set user-defined axis aligned bounding box. <a href="#a0aee3b5bc5d31ce996becc069f65e642"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a496534cd4813d520d887785720f66c9b">setDirty</a> (<a class="el" href="namespaceirr_1_1scene.html#a8f59a89ffef0ad8e5b2c2cb874a93e8c">E_BUFFER_TYPE</a> buffer=EBT_VERTEX_AND_INDEX)=0
128<dl class="el"><dd class="mdescRight">Flag the meshbuffer as changed, reloads hardware buffers. <a href="#a496534cd4813d520d887785720f66c9b"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a1de908b8e67c28bdac546e8599043dfe">setHardwareMappingHint</a> (<a class="el" href="namespaceirr_1_1scene.html#ac7d8ee8d77da75f2580bb9bb17231c27">E_HARDWARE_MAPPING</a> newMappingHint, <a class="el" href="namespaceirr_1_1scene.html#a8f59a89ffef0ad8e5b2c2cb874a93e8c">E_BUFFER_TYPE</a> buffer=EBT_VERTEX_AND_INDEX)=0
129<dl class="el"><dd class="mdescRight">Set the hardware mapping hint. <a href="#a1de908b8e67c28bdac546e8599043dfe"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a56e034b671f52653d6c91e0ffa42febd">setMaterialFlag</a> (<a class="el" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3">video::E_MATERIAL_FLAG</a> flag, bool newvalue)=0
130<dl class="el"><dd class="mdescRight">Sets a flag of all contained materials to a new value. <a href="#a56e034b671f52653d6c91e0ffa42febd"></a><br/></dl></ul>
131<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
132<div class="textblock"><p>Class which holds the geometry of an object. </p>
133<p>An <a class="el" href="classirr_1_1scene_1_1_i_mesh.html" title="Class which holds the geometry of an object.">IMesh</a> is nothing more than a collection of some mesh buffers (<a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html" title="Struct for holding a mesh with a single material.">IMeshBuffer</a>). <a class="el" href="structirr_1_1scene_1_1_s_mesh.html" title="Simple implementation of the IMesh interface.">SMesh</a> is a simple implementation of an <a class="el" href="classirr_1_1scene_1_1_i_mesh.html" title="Class which holds the geometry of an object.">IMesh</a>. A mesh is usually added to an <a class="el" href="classirr_1_1scene_1_1_i_mesh_scene_node.html" title="A scene node displaying a static mesh.">IMeshSceneNode</a> in order to be rendered. </p>
134
135<p>Definition at line <a class="el" href="_i_mesh_8h_source.html#l00023">23</a> of file <a class="el" href="_i_mesh_8h_source.html">IMesh.h</a>.</p>
136</div><hr/><h2>Member Function Documentation</h2>
137<a class="anchor" id="ada6ecee9cbebed8bb67fd92872552ea0"></a><!-- doxytag: member="irr::scene::IMesh::getBoundingBox" ref="ada6ecee9cbebed8bb67fd92872552ea0" args="() const =0" -->
138<div class="memitem">
139<div class="memproto">
140 <table class="memname">
141 <tr>
142 <td class="memname">virtual const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&gt;&amp; irr::scene::IMesh::getBoundingBox </td>
143 <td>(</td>
144 <td class="paramname"></td><td>)</td>
145 <td> const<code> [pure virtual]</code></td>
146 </tr>
147 </table>
148</div>
149<div class="memdoc">
150
151<p>Get an axis aligned bounding box of the mesh. </p>
152<dl class="return"><dt><b>Returns:</b></dt><dd>Bounding box of this mesh. </dd></dl>
153
154<p>Implemented in <a class="el" href="structirr_1_1scene_1_1_s_animated_mesh.html#ab5b3e38ba9d5ef7aab309c28d51e11cb">irr::scene::SAnimatedMesh</a>, and <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a2161ec060656217d3891cbbe625a2839">irr::scene::SMesh</a>.</p>
155
156</div>
157</div>
158<a class="anchor" id="a2cd1a04b396235101f426befba0c5b82"></a><!-- doxytag: member="irr::scene::IMesh::getMeshBuffer" ref="a2cd1a04b396235101f426befba0c5b82" args="(u32 nr) const =0" -->
159<div class="memitem">
160<div class="memproto">
161 <table class="memname">
162 <tr>
163 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a>* irr::scene::IMesh::getMeshBuffer </td>
164 <td>(</td>
165 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
166 <td class="paramname"><em>nr</em></td><td>)</td>
167 <td> const<code> [pure virtual]</code></td>
168 </tr>
169 </table>
170</div>
171<div class="memdoc">
172
173<p>Get pointer to a mesh buffer. </p>
174<dl><dt><b>Parameters:</b></dt><dd>
175 <table class="params">
176 <tr><td class="paramname">nr,:</td><td>Zero based index of the mesh buffer. The maximum value is <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a2ebed0bdae2d6537c36b0b7ac831edb8" title="Get the amount of mesh buffers.">getMeshBufferCount()</a> - 1; </td></tr>
177 </table>
178 </dd>
179</dl>
180<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the mesh buffer or 0 if there is no such mesh buffer. </dd></dl>
181
182<p>Implemented in <a class="el" href="structirr_1_1scene_1_1_s_animated_mesh.html#a7ea9786952fc2822c9ca2ddb9af796f1">irr::scene::SAnimatedMesh</a>, and <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#aa09a0337548c05cf18ba5d0f074683ec">irr::scene::SMesh</a>.</p>
183
184<p>Referenced by <a class="el" href="_i_mesh_manipulator_8h_source.html#l00316">irr::scene::IMeshManipulator::apply()</a>.</p>
185
186</div>
187</div>
188<a class="anchor" id="a9573dace82efb01ba1f35f9cc28a4ced"></a><!-- doxytag: member="irr::scene::IMesh::getMeshBuffer" ref="a9573dace82efb01ba1f35f9cc28a4ced" args="(const video::SMaterial &amp;material) const =0" -->
189<div class="memitem">
190<div class="memproto">
191 <table class="memname">
192 <tr>
193 <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a>* irr::scene::IMesh::getMeshBuffer </td>
194 <td>(</td>
195 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &amp;&#160;</td>
196 <td class="paramname"><em>material</em></td><td>)</td>
197 <td> const<code> [pure virtual]</code></td>
198 </tr>
199 </table>
200</div>
201<div class="memdoc">
202
203<p>Get pointer to a mesh buffer which fits a material. </p>
204<dl><dt><b>Parameters:</b></dt><dd>
205 <table class="params">
206 <tr><td class="paramname">material,:</td><td>material to search for </td></tr>
207 </table>
208 </dd>
209</dl>
210<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the mesh buffer or 0 if there is no such mesh buffer. </dd></dl>
211
212<p>Implemented in <a class="el" href="structirr_1_1scene_1_1_s_animated_mesh.html#a5fda99ba5d2bf85703a7fee81450dfc0">irr::scene::SAnimatedMesh</a>, and <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#aac4d15c3ad968d2963b298ce70cc84a3">irr::scene::SMesh</a>.</p>
213
214</div>
215</div>
216<a class="anchor" id="a2ebed0bdae2d6537c36b0b7ac831edb8"></a><!-- doxytag: member="irr::scene::IMesh::getMeshBufferCount" ref="a2ebed0bdae2d6537c36b0b7ac831edb8" args="() const =0" -->
217<div class="memitem">
218<div class="memproto">
219 <table class="memname">
220 <tr>
221 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::scene::IMesh::getMeshBufferCount </td>
222 <td>(</td>
223 <td class="paramname"></td><td>)</td>
224 <td> const<code> [pure virtual]</code></td>
225 </tr>
226 </table>
227</div>
228<div class="memdoc">
229
230<p>Get the amount of mesh buffers. </p>
231<dl class="return"><dt><b>Returns:</b></dt><dd>Amount of mesh buffers (<a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html" title="Struct for holding a mesh with a single material.">IMeshBuffer</a>) in this mesh. </dd></dl>
232
233<p>Implemented in <a class="el" href="structirr_1_1scene_1_1_s_animated_mesh.html#acbfd1e2b16b10daf65ffffe0769fdd41">irr::scene::SAnimatedMesh</a>, and <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#ab20af5f5abef96554caad912b0e12388">irr::scene::SMesh</a>.</p>
234
235<p>Referenced by <a class="el" href="_i_mesh_manipulator_8h_source.html#l00316">irr::scene::IMeshManipulator::apply()</a>.</p>
236
237</div>
238</div>
239<a class="anchor" id="a0aee3b5bc5d31ce996becc069f65e642"></a><!-- doxytag: member="irr::scene::IMesh::setBoundingBox" ref="a0aee3b5bc5d31ce996becc069f65e642" args="(const core::aabbox3df &amp;box)=0" -->
240<div class="memitem">
241<div class="memproto">
242 <table class="memname">
243 <tr>
244 <td class="memname">virtual void irr::scene::IMesh::setBoundingBox </td>
245 <td>(</td>
246 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#adfc8fa01b30044c55f3332a1d6c1aa19">core::aabbox3df</a> &amp;&#160;</td>
247 <td class="paramname"><em>box</em></td><td>)</td>
248 <td><code> [pure virtual]</code></td>
249 </tr>
250 </table>
251</div>
252<div class="memdoc">
253
254<p>Set user-defined axis aligned bounding box. </p>
255<dl><dt><b>Parameters:</b></dt><dd>
256 <table class="params">
257 <tr><td class="paramname">box</td><td>New bounding box to use for the mesh. </td></tr>
258 </table>
259 </dd>
260</dl>
261
262<p>Implemented in <a class="el" href="structirr_1_1scene_1_1_s_animated_mesh.html#ab33614f8ef158c79260d555f69055bf5">irr::scene::SAnimatedMesh</a>, and <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a636e4df4054b2ed2911808cfb6df5cb3">irr::scene::SMesh</a>.</p>
263
264<p>Referenced by <a class="el" href="_i_mesh_manipulator_8h_source.html#l00316">irr::scene::IMeshManipulator::apply()</a>.</p>
265
266</div>
267</div>
268<a class="anchor" id="a496534cd4813d520d887785720f66c9b"></a><!-- doxytag: member="irr::scene::IMesh::setDirty" ref="a496534cd4813d520d887785720f66c9b" args="(E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX)=0" -->
269<div class="memitem">
270<div class="memproto">
271 <table class="memname">
272 <tr>
273 <td class="memname">virtual void irr::scene::IMesh::setDirty </td>
274 <td>(</td>
275 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a8f59a89ffef0ad8e5b2c2cb874a93e8c">E_BUFFER_TYPE</a>&#160;</td>
276 <td class="paramname"><em>buffer</em> = <code>EBT_VERTEX_AND_INDEX</code></td><td>)</td>
277 <td><code> [pure virtual]</code></td>
278 </tr>
279 </table>
280</div>
281<div class="memdoc">
282
283<p>Flag the meshbuffer as changed, reloads hardware buffers. </p>
284<p>This method has to be called every time the vertices or indices have changed. Otherwise, changes won't be updated on the GPU in the next render cycle. </p>
285
286<p>Implemented in <a class="el" href="structirr_1_1scene_1_1_s_animated_mesh.html#a415b9404cee43f2f460ebb32724d7793">irr::scene::SAnimatedMesh</a>, and <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a3ffa0e6294be831ca5be6e6ff9829ca9">irr::scene::SMesh</a>.</p>
287
288</div>
289</div>
290<a class="anchor" id="a1de908b8e67c28bdac546e8599043dfe"></a><!-- doxytag: member="irr::scene::IMesh::setHardwareMappingHint" ref="a1de908b8e67c28bdac546e8599043dfe" args="(E_HARDWARE_MAPPING newMappingHint, E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX)=0" -->
291<div class="memitem">
292<div class="memproto">
293 <table class="memname">
294 <tr>
295 <td class="memname">virtual void irr::scene::IMesh::setHardwareMappingHint </td>
296 <td>(</td>
297 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#ac7d8ee8d77da75f2580bb9bb17231c27">E_HARDWARE_MAPPING</a>&#160;</td>
298 <td class="paramname"><em>newMappingHint</em>, </td>
299 </tr>
300 <tr>
301 <td class="paramkey"></td>
302 <td></td>
303 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a8f59a89ffef0ad8e5b2c2cb874a93e8c">E_BUFFER_TYPE</a>&#160;</td>
304 <td class="paramname"><em>buffer</em> = <code>EBT_VERTEX_AND_INDEX</code>&#160;</td>
305 </tr>
306 <tr>
307 <td></td>
308 <td>)</td>
309 <td></td><td><code> [pure virtual]</code></td>
310 </tr>
311 </table>
312</div>
313<div class="memdoc">
314
315<p>Set the hardware mapping hint. </p>
316<p>This methods allows to define optimization hints for the hardware. This enables, e.g., the use of hardware buffers on pltforms that support this feature. This can lead to noticeable performance gains. </p>
317
318<p>Implemented in <a class="el" href="structirr_1_1scene_1_1_s_animated_mesh.html#a69448fa91bd1c6316d11d9ae3b8b88e6">irr::scene::SAnimatedMesh</a>, and <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a79839b08062bfcd283e441056bf846e6">irr::scene::SMesh</a>.</p>
319
320</div>
321</div>
322<a class="anchor" id="a56e034b671f52653d6c91e0ffa42febd"></a><!-- doxytag: member="irr::scene::IMesh::setMaterialFlag" ref="a56e034b671f52653d6c91e0ffa42febd" args="(video::E_MATERIAL_FLAG flag, bool newvalue)=0" -->
323<div class="memitem">
324<div class="memproto">
325 <table class="memname">
326 <tr>
327 <td class="memname">virtual void irr::scene::IMesh::setMaterialFlag </td>
328 <td>(</td>
329 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3">video::E_MATERIAL_FLAG</a>&#160;</td>
330 <td class="paramname"><em>flag</em>, </td>
331 </tr>
332 <tr>
333 <td class="paramkey"></td>
334 <td></td>
335 <td class="paramtype">bool&#160;</td>
336 <td class="paramname"><em>newvalue</em>&#160;</td>
337 </tr>
338 <tr>
339 <td></td>
340 <td>)</td>
341 <td></td><td><code> [pure virtual]</code></td>
342 </tr>
343 </table>
344</div>
345<div class="memdoc">
346
347<p>Sets a flag of all contained materials to a new value. </p>
348<dl><dt><b>Parameters:</b></dt><dd>
349 <table class="params">
350 <tr><td class="paramname">flag,:</td><td>Flag to set in all materials. </td></tr>
351 <tr><td class="paramname">newvalue,:</td><td>New value to set in all materials. </td></tr>
352 </table>
353 </dd>
354</dl>
355
356<p>Implemented in <a class="el" href="structirr_1_1scene_1_1_s_animated_mesh.html#aefe38066b9c38c6d4ea522b5d988769e">irr::scene::SAnimatedMesh</a>, and <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a0ca30440aef6ca66dfc177b2a0e41e52">irr::scene::SMesh</a>.</p>
357
358</div>
359</div>
360<hr/>The documentation for this class was generated from the following file:<ul>
361<li><a class="el" href="_i_mesh_8h_source.html">IMesh.h</a></li>
362</ul>
363</div>
364</div>
365 <div id="nav-path" class="navpath">
366 <ul>
367 <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li>
368 <li class="navelem"><a class="el" href="namespaceirr_1_1scene.html">scene</a> </li>
369 <li class="navelem"><a class="el" href="classirr_1_1scene_1_1_i_mesh.html">IMesh</a> </li>
370<!-- window showing the filter options -->
371<div id="MSearchSelectWindow"
372 onmouseover="return searchBox.OnSearchSelectShow()"
373 onmouseout="return searchBox.OnSearchSelectHide()"
374 onkeydown="return searchBox.OnSearchSelectKey(event)">
375<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>
376
377<!-- iframe showing the search results (closed by default) -->
378<div id="MSearchResultsWindow">
379<iframe src="javascript:void(0)" frameborder="0"
380 name="MSearchResults" id="MSearchResults">
381</iframe>
382</div>
383
384
385 <li class="footer">
386<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht
387Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:46 for Irrlicht 3D Engine by
388<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
389 </ul>
390 </div>
391
392
393</body>
394</html>