File: classCEGUI_1_1OgreGeometryBuffer.html

package info (click to toggle)
cegui-mk2 0.7.6-3.3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 105,388 kB
  • ctags: 82,178
  • sloc: cpp: 142,729; ansic: 27,984; sh: 11,010; makefile: 2,275; python: 916; xml: 17
file content (516 lines) | stat: -rw-r--r-- 48,314 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Crazy Eddies GUI System: CEGUI::OgreGeometryBuffer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Crazy Eddies GUI System&#160;<span id="projectnumber">0.7.6</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceCEGUI.html">CEGUI</a>      </li>
      <li class="navelem"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html">OgreGeometryBuffer</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">CEGUI::OgreGeometryBuffer Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="CEGUI::OgreGeometryBuffer" --><!-- doxytag: inherits="CEGUI::GeometryBuffer" -->
<p>Implementation of <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">CEGUI::GeometryBuffer</a> for the Ogre engine.  
 <a href="classCEGUI_1_1OgreGeometryBuffer.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Inheritance diagram for CEGUI::OgreGeometryBuffer:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classCEGUI_1_1OgreGeometryBuffer__inherit__graph.gif" border="0" usemap="#CEGUI_1_1OgreGeometryBuffer_inherit__map" alt="Inheritance graph"/></div>
<map name="CEGUI_1_1OgreGeometryBuffer_inherit__map" id="CEGUI_1_1OgreGeometryBuffer_inherit__map">
<area shape="rect" id="node2" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering." alt="" coords="19,5,184,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png"/> Collaboration diagram for CEGUI::OgreGeometryBuffer:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classCEGUI_1_1OgreGeometryBuffer__coll__graph.gif" border="0" usemap="#CEGUI_1_1OgreGeometryBuffer_coll__map" alt="Collaboration graph"/></div>
<map name="CEGUI_1_1OgreGeometryBuffer_coll__map" id="CEGUI_1_1OgreGeometryBuffer_coll__map">
<area shape="rect" id="node2" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering." alt="" coords="5,5,171,35"/><area shape="rect" id="node4" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle." alt="" coords="195,5,296,35"/><area shape="rect" id="node6" href="classCEGUI_1_1RenderEffect.html" title="Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved." alt="" coords="320,5,469,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classCEGUI_1_1OgreGeometryBuffer-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCEGUI_1_1OgreGeometryBuffer_1_1OgreVertex.html">OgreVertex</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">vertex structure used internally and also by Ogre.  <a href="structCEGUI_1_1OgreGeometryBuffer_1_1OgreVertex.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab0ad3a16f95ac42f63af710af5e7147c"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::OgreGeometryBuffer" ref="ab0ad3a16f95ac42f63af710af5e7147c" args="(OgreRenderer &amp;owner, Ogre::RenderSystem &amp;rs)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#ab0ad3a16f95ac42f63af710af5e7147c">OgreGeometryBuffer</a> (<a class="el" href="classCEGUI_1_1OgreRenderer.html">OgreRenderer</a> &amp;owner, Ogre::RenderSystem &amp;rs)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab39ef16c796ec9c642a9ac423c3b5774"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::~OgreGeometryBuffer" ref="ab39ef16c796ec9c642a9ac423c3b5774" args="()" -->
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#ab39ef16c796ec9c642a9ac423c3b5774">~OgreGeometryBuffer</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af94ed3ec5d07cd09f6bcefeaa9ea1a5f"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::getMatrix" ref="af94ed3ec5d07cd09f6bcefeaa9ea1a5f" args="() const " -->
const Ogre::Matrix4 &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#af94ed3ec5d07cd09f6bcefeaa9ea1a5f">getMatrix</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return the transformation matrix used for this buffer. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae8602eb5cde713c3da379e9aa58e859"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::draw" ref="aae8602eb5cde713c3da379e9aa58e859" args="() const " -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#aae8602eb5cde713c3da379e9aa58e859">draw</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the geometry buffered within this <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> object. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#ac2d6fa5f0f3ba9977467b8c90a764491">setTranslation</a> (const <a class="el" href="classCEGUI_1_1Vector3.html">Vector3</a> &amp;v)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the translation to be applied to the geometry in the buffer when it is subsequently rendered.  <a href="#ac2d6fa5f0f3ba9977467b8c90a764491"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a24ee85c6b49c3eca52942c5dd84c6c11">setRotation</a> (const <a class="el" href="classCEGUI_1_1Vector3.html">Vector3</a> &amp;r)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the rotations to be applied to the geometry in the buffer when it is subsequently rendered.  <a href="#a24ee85c6b49c3eca52942c5dd84c6c11"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a01b0008da463f44788c05b2ce3604cfc">setPivot</a> (const <a class="el" href="classCEGUI_1_1Vector3.html">Vector3</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the pivot point to be used when applying the rotations.  <a href="#a01b0008da463f44788c05b2ce3604cfc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6a68d8e3773009ae8d60b52eea74e7a"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::setClippingRegion" ref="af6a68d8e3773009ae8d60b52eea74e7a" args="(const Rect &amp;region)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#af6a68d8e3773009ae8d60b52eea74e7a">setClippingRegion</a> (const <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> &amp;region)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the clipping region to be used when rendering this buffer. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#ab494d688151f189f4ec19e6d50c724b9">appendVertex</a> (const <a class="el" href="structCEGUI_1_1Vertex.html">Vertex</a> &amp;vertex)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Append a single vertex to the buffer.  <a href="#ab494d688151f189f4ec19e6d50c724b9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#afef586349bd25987807cf52c6a988ccf">appendGeometry</a> (const <a class="el" href="structCEGUI_1_1Vertex.html">Vertex</a> *const vbuff, uint vertex_count)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Append a number of vertices from an array to the <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>.  <a href="#afef586349bd25987807cf52c6a988ccf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a22d04630e8417cc16c56253e72cdcc1a">setActiveTexture</a> (<a class="el" href="classCEGUI_1_1Texture.html">Texture</a> *texture)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the active texture to be used with all subsequently added vertices.  <a href="#a22d04630e8417cc16c56253e72cdcc1a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4bbacf1dc01ae026758e1b947de5880"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::reset" ref="ac4bbacf1dc01ae026758e1b947de5880" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#ac4bbacf1dc01ae026758e1b947de5880">reset</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear all buffered data and reset the <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> to the default state. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1Texture.html">Texture</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a41b5be50355d9f1315ac04e81ba7b54c">getActiveTexture</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a pointer to the currently active <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object. This may return 0 if no texture is set.  <a href="#a41b5be50355d9f1315ac04e81ba7b54c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#ae32d6054a44b9df412df857e813908e2">getVertexCount</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the total number of vertices currently held by this <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> object.  <a href="#ae32d6054a44b9df412df857e813908e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a1e398ec3a163591430d7526b7e863f36">getBatchCount</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of batches of geometry that this <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> has split the vertices into.  <a href="#a1e398ec3a163591430d7526b7e863f36"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a05d21bdb6a8860ebe7b91addb9c94bd8">setRenderEffect</a> (<a class="el" href="classCEGUI_1_1RenderEffect.html">RenderEffect</a> *effect)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the <a class="el" href="classCEGUI_1_1RenderEffect.html" title="Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.">RenderEffect</a> to be used by this <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>.  <a href="#a05d21bdb6a8860ebe7b91addb9c94bd8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef64361d3f0bc527fc9999e6ec6f203c"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::getRenderEffect" ref="aef64361d3f0bc527fc9999e6ec6f203c" args="()" -->
<a class="el" href="classCEGUI_1_1RenderEffect.html">RenderEffect</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#aef64361d3f0bc527fc9999e6ec6f203c">getRenderEffect</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the <a class="el" href="classCEGUI_1_1RenderEffect.html" title="Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.">RenderEffect</a> object that is assigned to this <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> or 0 if none. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a947ab185cd2da3d8c5e28b3fb277754d"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::BatchInfo" ref="a947ab185cd2da3d8c5e28b3fb277754d" args="" -->
typedef std::pair<br class="typebreak"/>
&lt; Ogre::TexturePtr, uint &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a947ab185cd2da3d8c5e28b3fb277754d">BatchInfo</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">type to track info for per-texture sub batches of geometry <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5aecfd76fc5b23091e2fa7c7021544fe"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::BatchList" ref="a5aecfd76fc5b23091e2fa7c7021544fe" args="" -->
typedef std::vector&lt; <a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a947ab185cd2da3d8c5e28b3fb277754d">BatchInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a5aecfd76fc5b23091e2fa7c7021544fe">BatchList</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">type of container that tracks BatchInfos. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a087d09f7cd3f542300f59348489f3f55"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::VertexList" ref="a087d09f7cd3f542300f59348489f3f55" args="" -->
typedef std::vector&lt; <a class="el" href="structCEGUI_1_1OgreGeometryBuffer_1_1OgreVertex.html">OgreVertex</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a087d09f7cd3f542300f59348489f3f55">VertexList</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">type of container used to queue the geometry <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0f3662462d1a2c7dea365e7421795e0"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::colourToOgre" ref="af0f3662462d1a2c7dea365e7421795e0" args="(const colour &amp;col) const " -->
Ogre::RGBA&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#af0f3662462d1a2c7dea365e7421795e0">colourToOgre</a> (const <a class="el" href="classCEGUI_1_1colour.html">colour</a> &amp;col) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">convert <a class="el" href="classCEGUI_1_1colour.html" title="Class representing colour values within the system.">CEGUI::colour</a> into something Ogre can use <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0d17f4b4898d2e8933ac4174d4bfa720"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::updateMatrix" ref="a0d17f4b4898d2e8933ac4174d4bfa720" args="() const " -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a0d17f4b4898d2e8933ac4174d4bfa720">updateMatrix</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">update cached matrix <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8408750b74122f6656d18649d385e76e"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::syncHardwareBuffer" ref="a8408750b74122f6656d18649d385e76e" args="() const " -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a8408750b74122f6656d18649d385e76e">syncHardwareBuffer</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Synchronise data in the hardware buffer with what's been added. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b72ccf990b4ea2bb77f10f7d93bfe68"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::initialiseTextureStates" ref="a8b72ccf990b4ea2bb77f10f7d93bfe68" args="() const " -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a8b72ccf990b4ea2bb77f10f7d93bfe68">initialiseTextureStates</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">set up texture related states <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6cf12498137eec587ddcc49ee411e2a6"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_owner" ref="a6cf12498137eec587ddcc49ee411e2a6" args="" -->
<a class="el" href="classCEGUI_1_1OgreRenderer.html">OgreRenderer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a6cf12498137eec587ddcc49ee411e2a6">d_owner</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a> object that owns this <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1dd0178ae8dba6eee4612f42456adefe"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_renderSystem" ref="a1dd0178ae8dba6eee4612f42456adefe" args="" -->
Ogre::RenderSystem &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a1dd0178ae8dba6eee4612f42456adefe">d_renderSystem</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Ogre render system we're to use. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac638b5eb1d127a4a95b0a4468584cea9"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_activeTexture" ref="ac638b5eb1d127a4a95b0a4468584cea9" args="" -->
<a class="el" href="classCEGUI_1_1OgreTexture.html">OgreTexture</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#ac638b5eb1d127a4a95b0a4468584cea9">d_activeTexture</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> that is set as active. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9164aaec89890c5d09a6e0c471e19b89"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_clipRect" ref="a9164aaec89890c5d09a6e0c471e19b89" args="" -->
<a class="el" href="classCEGUI_1_1Rect.html">Rect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a9164aaec89890c5d09a6e0c471e19b89">d_clipRect</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">rectangular clip region <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5914365e67a6e791310f311acfb2de46"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_translation" ref="a5914365e67a6e791310f311acfb2de46" args="" -->
<a class="el" href="classCEGUI_1_1Vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a5914365e67a6e791310f311acfb2de46">d_translation</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">translation vector <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb5ef62d39cb7da6dda7ca944235444f"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_rotation" ref="afb5ef62d39cb7da6dda7ca944235444f" args="" -->
<a class="el" href="classCEGUI_1_1Vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#afb5ef62d39cb7da6dda7ca944235444f">d_rotation</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">rotation vector <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f7ff7bb5203c5986dcedf6ace4e8cc0"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_pivot" ref="a5f7ff7bb5203c5986dcedf6ace4e8cc0" args="" -->
<a class="el" href="classCEGUI_1_1Vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a5f7ff7bb5203c5986dcedf6ace4e8cc0">d_pivot</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">pivot point for rotation <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a86e3e2482a12a86da6b7809ce0d53449"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_effect" ref="a86e3e2482a12a86da6b7809ce0d53449" args="" -->
<a class="el" href="classCEGUI_1_1RenderEffect.html">RenderEffect</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a86e3e2482a12a86da6b7809ce0d53449">d_effect</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classCEGUI_1_1RenderEffect.html" title="Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.">RenderEffect</a> that will be used by the <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a68b6175c4297c58e326fa73e0c5a3466"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_texelOffset" ref="a68b6175c4297c58e326fa73e0c5a3466" args="" -->
<a class="el" href="classCEGUI_1_1Vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a68b6175c4297c58e326fa73e0c5a3466">d_texelOffset</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">offset to be applied to all geometry <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd38633887df12a4bae49afeec8f853d"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_matrix" ref="afd38633887df12a4bae49afeec8f853d" args="" -->
Ogre::Matrix4&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#afd38633887df12a4bae49afeec8f853d">d_matrix</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">model matrix cache <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae28fc84df500e8b47477c7d012abf4ca"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_matrixValid" ref="ae28fc84df500e8b47477c7d012abf4ca" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#ae28fc84df500e8b47477c7d012abf4ca">d_matrixValid</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">true when d_matrix is valid and up to date <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d0a9864d9d3c9ab1b50bdf3c90508d0"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_renderOp" ref="a8d0a9864d9d3c9ab1b50bdf3c90508d0" args="" -->
Ogre::RenderOperation&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a8d0a9864d9d3c9ab1b50bdf3c90508d0">d_renderOp</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Render operation for this buffer. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6aeb32d76c608ebb4448fdd886b9b8f8"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_hwBuffer" ref="a6aeb32d76c608ebb4448fdd886b9b8f8" args="" -->
Ogre::HardwareVertexBufferSharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a6aeb32d76c608ebb4448fdd886b9b8f8">d_hwBuffer</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">H/W buffer where the vertices are rendered from. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc1deb62f0ac204e6aef9741d5293abf"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_sync" ref="abc1deb62f0ac204e6aef9741d5293abf" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#abc1deb62f0ac204e6aef9741d5293abf">d_sync</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">whether the h/w buffer is in sync with the added geometry <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab96b9bf4c40f62c408c9faf13270737f"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_batches" ref="ab96b9bf4c40f62c408c9faf13270737f" args="" -->
<a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a5aecfd76fc5b23091e2fa7c7021544fe">BatchList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#ab96b9bf4c40f62c408c9faf13270737f">d_batches</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">list of texture batches added to the geometry buffer <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44ebf98ed08f75c07a79d1e3ece621c1"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::d_vertices" ref="a44ebf98ed08f75c07a79d1e3ece621c1" args="" -->
<a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a087d09f7cd3f542300f59348489f3f55">VertexList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1OgreGeometryBuffer.html#a44ebf98ed08f75c07a79d1e3ece621c1">d_vertices</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">container where added geometry is stored. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Implementation of <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">CEGUI::GeometryBuffer</a> for the Ogre engine. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="afef586349bd25987807cf52c6a988ccf"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::appendGeometry" ref="afef586349bd25987807cf52c6a988ccf" args="(const Vertex *const vbuff, uint vertex_count)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::OgreGeometryBuffer::appendGeometry </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structCEGUI_1_1Vertex.html">Vertex</a> *const&#160;</td>
          <td class="paramname"><em>vbuff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>vertex_count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Append a number of vertices from an array to the <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vbuff</td><td>Pointer to an array of <a class="el" href="structCEGUI_1_1Vertex.html" title="structure that is used to hold details of a single vertex in 3D space.">Vertex</a> objects that describe the vertices that are to be added to the <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>.</td></tr>
    <tr><td class="paramname">vertex_count</td><td>The number of <a class="el" href="structCEGUI_1_1Vertex.html" title="structure that is used to hold details of a single vertex in 3D space.">Vertex</a> objects from the array <em>vbuff</em> that are to be added to the <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classCEGUI_1_1GeometryBuffer.html#a7f849394dd746444efea150961aa7466">CEGUI::GeometryBuffer</a>.</p>

</div>
</div>
<a class="anchor" id="ab494d688151f189f4ec19e6d50c724b9"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::appendVertex" ref="ab494d688151f189f4ec19e6d50c724b9" args="(const Vertex &amp;vertex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::OgreGeometryBuffer::appendVertex </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structCEGUI_1_1Vertex.html">Vertex</a> &amp;&#160;</td>
          <td class="paramname"><em>vertex</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Append a single vertex to the buffer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vertex</td><td><a class="el" href="structCEGUI_1_1Vertex.html" title="structure that is used to hold details of a single vertex in 3D space.">Vertex</a> object describing the vertex to be added to the <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classCEGUI_1_1GeometryBuffer.html#adc4f38132a2618b4abc2732408a60678">CEGUI::GeometryBuffer</a>.</p>

</div>
</div>
<a class="anchor" id="a41b5be50355d9f1315ac04e81ba7b54c"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::getActiveTexture" ref="a41b5be50355d9f1315ac04e81ba7b54c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCEGUI_1_1Texture.html">Texture</a>* CEGUI::OgreGeometryBuffer::getActiveTexture </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a pointer to the currently active <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object. This may return 0 if no texture is set. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer the <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object that is currently active, or 0 if texturing is not being used. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1GeometryBuffer.html#a7920d54045c57f5e45503eff012c6129">CEGUI::GeometryBuffer</a>.</p>

</div>
</div>
<a class="anchor" id="a1e398ec3a163591430d7526b7e863f36"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::getBatchCount" ref="a1e398ec3a163591430d7526b7e863f36" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint CEGUI::OgreGeometryBuffer::getBatchCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the number of batches of geometry that this <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> has split the vertices into. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>How batching is done will be largely implementation specific, although it would be reasonable to expect that you will have <em>at least</em> one batch of geometry per texture switch.</dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of batches of geometry held by the <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1GeometryBuffer.html#ab811d6e950ed6e0aa6c7f4bf71eb93ff">CEGUI::GeometryBuffer</a>.</p>

</div>
</div>
<a class="anchor" id="ae32d6054a44b9df412df857e813908e2"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::getVertexCount" ref="ae32d6054a44b9df412df857e813908e2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint CEGUI::OgreGeometryBuffer::getVertexCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the total number of vertices currently held by this <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> object. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of vertices that have been appended to this <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1GeometryBuffer.html#ab240b1fce8b6023c62116d52c83b0d92">CEGUI::GeometryBuffer</a>.</p>

</div>
</div>
<a class="anchor" id="a22d04630e8417cc16c56253e72cdcc1a"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::setActiveTexture" ref="a22d04630e8417cc16c56253e72cdcc1a" args="(Texture *texture)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::OgreGeometryBuffer::setActiveTexture </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCEGUI_1_1Texture.html">Texture</a> *&#160;</td>
          <td class="paramname"><em>texture</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the active texture to be used with all subsequently added vertices. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>Pointer to a <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object that shall be used for subsequently added vertices. This may be 0, in which case texturing will be disabled for subsequently added vertices. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classCEGUI_1_1GeometryBuffer.html#accee3c41c5c559b5694ab436b7b376d9">CEGUI::GeometryBuffer</a>.</p>

</div>
</div>
<a class="anchor" id="a01b0008da463f44788c05b2ce3604cfc"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::setPivot" ref="a01b0008da463f44788c05b2ce3604cfc" args="(const Vector3 &amp;p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::OgreGeometryBuffer::setPivot </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1Vector3.html">Vector3</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the pivot point to be used when applying the rotations. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td><a class="el" href="classCEGUI_1_1Vector3.html" title="Class used as a three dimensional vector.">Vector3</a> describing the location of the pivot point to be used when applying the rotation to the geometry. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classCEGUI_1_1GeometryBuffer.html#ab2d0aeee1f347e1f25e884ed3e386278">CEGUI::GeometryBuffer</a>.</p>

</div>
</div>
<a class="anchor" id="a05d21bdb6a8860ebe7b91addb9c94bd8"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::setRenderEffect" ref="a05d21bdb6a8860ebe7b91addb9c94bd8" args="(RenderEffect *effect)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::OgreGeometryBuffer::setRenderEffect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCEGUI_1_1RenderEffect.html">RenderEffect</a> *&#160;</td>
          <td class="paramname"><em>effect</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the <a class="el" href="classCEGUI_1_1RenderEffect.html" title="Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.">RenderEffect</a> to be used by this <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">effect</td><td>Pointer to the <a class="el" href="classCEGUI_1_1RenderEffect.html" title="Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.">RenderEffect</a> to be used during renderng of the <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>. May be 0 to remove a previously added <a class="el" href="classCEGUI_1_1RenderEffect.html" title="Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.">RenderEffect</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="note"><dt><b>Note:</b></dt><dd>When adding a <a class="el" href="classCEGUI_1_1RenderEffect.html" title="Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.">RenderEffect</a>, the <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> <em>does not</em> take ownership of, nor make a copy of, the passed <a class="el" href="classCEGUI_1_1RenderEffect.html" title="Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.">RenderEffect</a> - this means you need to be careful not to delete the <a class="el" href="classCEGUI_1_1RenderEffect.html" title="Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.">RenderEffect</a> if it might still be in use! </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1GeometryBuffer.html#a60c5c385ed7797451c4e2f7099ce18a1">CEGUI::GeometryBuffer</a>.</p>

</div>
</div>
<a class="anchor" id="a24ee85c6b49c3eca52942c5dd84c6c11"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::setRotation" ref="a24ee85c6b49c3eca52942c5dd84c6c11" args="(const Vector3 &amp;r)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::OgreGeometryBuffer::setRotation </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1Vector3.html">Vector3</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the rotations to be applied to the geometry in the buffer when it is subsequently rendered. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td><a class="el" href="classCEGUI_1_1Vector3.html" title="Class used as a three dimensional vector.">Vector3</a> describing the rotation factors to be used. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classCEGUI_1_1GeometryBuffer.html#a4e47f52a029d6ad2249fe657d0b0e871">CEGUI::GeometryBuffer</a>.</p>

</div>
</div>
<a class="anchor" id="ac2d6fa5f0f3ba9977467b8c90a764491"></a><!-- doxytag: member="CEGUI::OgreGeometryBuffer::setTranslation" ref="ac2d6fa5f0f3ba9977467b8c90a764491" args="(const Vector3 &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::OgreGeometryBuffer::setTranslation </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1Vector3.html">Vector3</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the translation to be applied to the geometry in the buffer when it is subsequently rendered. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">v</td><td><a class="el" href="classCEGUI_1_1Vector3.html" title="Class used as a three dimensional vector.">Vector3</a> describing the three axis translation vector to be used. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classCEGUI_1_1GeometryBuffer.html#a5a70264732a5f15b7b96398a6650edea">CEGUI::GeometryBuffer</a>.</p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Jan 22 2012 16:07:42 for Crazy Eddies GUI System by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>