File: classCEGUI_1_1Direct3D9Renderer.html

package info (click to toggle)
cegui-mk2 0.7.6-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 105,384 kB
  • sloc: cpp: 142,729; ansic: 27,984; sh: 11,010; makefile: 2,275; python: 916; xml: 17
file content (635 lines) | stat: -rw-r--r-- 54,946 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
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
<!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::Direct3D9Renderer 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_1Direct3D9Renderer.html">Direct3D9Renderer</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">CEGUI::Direct3D9Renderer Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="CEGUI::Direct3D9Renderer" --><!-- doxytag: inherits="CEGUI::Renderer" -->
<p><a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a> class to interface with Direct3D 9.  
 <a href="classCEGUI_1_1Direct3D9Renderer.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::Direct3D9Renderer:</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_1Direct3D9Renderer__inherit__graph.gif" border="0" usemap="#CEGUI_1_1Direct3D9Renderer_inherit__map" alt="Inheritance graph"/></div>
<map name="CEGUI_1_1Direct3D9Renderer_inherit__map" id="CEGUI_1_1Direct3D9Renderer_inherit__map">
<area shape="rect" id="node2" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects." alt="" coords="35,5,160,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::Direct3D9Renderer:</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_1Direct3D9Renderer__coll__graph.gif" border="0" usemap="#CEGUI_1_1Direct3D9Renderer_coll__map" alt="Collaboration graph"/></div>
<map name="CEGUI_1_1Direct3D9Renderer_coll__map" id="CEGUI_1_1Direct3D9Renderer_coll__map">
<area shape="rect" id="node2" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects." alt="" coords="5,5,131,35"/><area shape="rect" id="node4" href="classCEGUI_1_1Size.html" title="Class that holds the size (width &amp; height) of something." alt="" coords="155,5,253,35"/><area shape="rect" id="node6" href="classCEGUI_1_1RenderTarget.html" title="Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme..." alt="" coords="277,5,429,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classCEGUI_1_1Direct3D9Renderer-members.html">List of all members.</a></p>
<table class="memberdecls">
<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="a9292ac9286b890e02b63be7ff8abc941"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::preD3DReset" ref="a9292ac9286b890e02b63be7ff8abc941" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a9292ac9286b890e02b63be7ff8abc941">preD3DReset</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">support function to be called prior to a Reset on the Direct3DDevice9. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ea1f65053f069f0fe7c77fbb8a89c09"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::postD3DReset" ref="a2ea1f65053f069f0fe7c77fbb8a89c09" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a2ea1f65053f069f0fe7c77fbb8a89c09">postD3DReset</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">support function to be called after a Reset on the Direct3DDevice9. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2406fe57d0771ab2b49c2f2b9ad689dd"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::getDevice" ref="a2406fe57d0771ab2b49c2f2b9ad689dd" args="() const " -->
LPDIRECT3DDEVICE9&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a2406fe57d0771ab2b49c2f2b9ad689dd">getDevice</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return the Direct3D 9 Device interface used by this renderer object. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa22aa2a40dcda3f22715678c36515bcf"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::createTexture" ref="aa22aa2a40dcda3f22715678c36515bcf" args="(LPDIRECT3DTEXTURE9 tex)" -->
<a class="el" href="classCEGUI_1_1Texture.html">Texture</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#aa22aa2a40dcda3f22715678c36515bcf">createTexture</a> (LPDIRECT3DTEXTURE9 tex)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">create a CEGUI::texture from an existing D3D texture <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad45edff6cb75a84abaaa235f428daa15"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::supportsNonSquareTexture" ref="ad45edff6cb75a84abaaa235f428daa15" args="()" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#ad45edff6cb75a84abaaa235f428daa15">supportsNonSquareTexture</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return true if we can use non square textures. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e810d59edd84e4480a50a7e3fac1e65"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::supportsNPOTTextures" ref="a2e810d59edd84e4480a50a7e3fac1e65" args="()" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a2e810d59edd84e4480a50a7e3fac1e65">supportsNPOTTextures</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return true if we can use NPOT texture dimensions. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3bcea9df2292e61abbb2c776d9ead66a"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::getAdjustedSize" ref="a3bcea9df2292e61abbb2c776d9ead66a" args="(const Size &amp;sz)" -->
<a class="el" href="classCEGUI_1_1Size.html">Size</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a3bcea9df2292e61abbb2c776d9ead66a">getAdjustedSize</a> (const <a class="el" href="classCEGUI_1_1Size.html">Size</a> &amp;sz)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">returns <a class="el" href="classCEGUI_1_1Size.html" title="Class that holds the size (width &amp; height) of something.">Size</a> object from <em>sz</em> adjusted for hardware capabilities. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7d3b6e8eed88205626ed1967ec7cfa9"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::setupRenderingBlendMode" ref="ab7d3b6e8eed88205626ed1967ec7cfa9" args="(const BlendMode mode, const bool force=false)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#ab7d3b6e8eed88205626ed1967ec7cfa9">setupRenderingBlendMode</a> (const <a class="el" href="namespaceCEGUI.html#a83f2d6a0102fd8798109705714ff8f47">BlendMode</a> mode, const bool force=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">set the render states for the specified BlendMode. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1RenderingRoot.html">RenderingRoot</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a8e8e3a4eb5c39d11da9fbbdd65f3127a">getDefaultRenderingRoot</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the default rendering root for the renderer. The default rendering root is typically a <a class="el" href="classCEGUI_1_1RenderingRoot.html">RenderingRoot</a> that targets the entire screen (or rendering window).  <a href="#a8e8e3a4eb5c39d11da9fbbdd65f3127a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1GeometryBuffer.html">GeometryBuffer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a3d77f14c77febf0c34e45205aa497d4a">createGeometryBuffer</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> and return a reference to it. You should remove 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> from any RenderQueues and call destroyGeometryBuffer when you want to destroy 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="#a3d77f14c77febf0c34e45205aa497d4a"></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_1Direct3D9Renderer.html#a7d65b53a41a03e02fd6e4a393895d897">destroyGeometryBuffer</a> (const <a class="el" href="classCEGUI_1_1GeometryBuffer.html">GeometryBuffer</a> &amp;buffer)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy a <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> that was returned when calling the createGeometryBuffer function. Before destroying any <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> you should ensure that it has been removed from any <a class="el" href="classCEGUI_1_1RenderQueue.html" title="Class that represents a queue of GeometryBuffer objects to be rendered.">RenderQueue</a> that was using it.  <a href="#a7d65b53a41a03e02fd6e4a393895d897"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85dee28740a53af372c9600f1896533e"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::destroyAllGeometryBuffers" ref="a85dee28740a53af372c9600f1896533e" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a85dee28740a53af372c9600f1896533e">destroyAllGeometryBuffers</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy all <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> objects created by this <a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1TextureTarget.html">TextureTarget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a3d9e927aefc431cb8fa174076e3208a6">createTextureTarget</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> that can be used to cache imagery; this is a <a class="el" href="classCEGUI_1_1RenderTarget.html" title="Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme...">RenderTarget</a> that does not lose it's content from one frame to another.  <a href="#a3d9e927aefc431cb8fa174076e3208a6"></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_1Direct3D9Renderer.html#adbadc810ed51f13d8c80397176d40f2e">destroyTextureTarget</a> (<a class="el" href="classCEGUI_1_1TextureTarget.html">TextureTarget</a> *target)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that cleans up <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> objects created with the createTextureTarget function.  <a href="#adbadc810ed51f13d8c80397176d40f2e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a0a3fffeae96a6c78390977b027c9cd"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::destroyAllTextureTargets" ref="a9a0a3fffeae96a6c78390977b027c9cd" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a9a0a3fffeae96a6c78390977b027c9cd">destroyAllTextureTargets</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destory all <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> objects created by this <a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1Texture.html">Texture</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#afd53113f715875bcfe274c2d5e00bf41">createTexture</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a 'null' <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object.  <a href="#afd53113f715875bcfe274c2d5e00bf41"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1Texture.html">Texture</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a6feb5961e4fd84205de0324752327041">createTexture</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;filename, const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;resourceGroup)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object using the given image file.  <a href="#a6feb5961e4fd84205de0324752327041"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1Texture.html">Texture</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#aa5d7af1f9c11765fa6502fe09ae9ab01">createTexture</a> (const <a class="el" href="classCEGUI_1_1Size.html">Size</a> &amp;size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object with the given pixel dimensions as specified by <em>size</em>.  <a href="#aa5d7af1f9c11765fa6502fe09ae9ab01"></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_1Direct3D9Renderer.html#a4ee47d4edc3473678cd0a319bb8bfacc">destroyTexture</a> (<a class="el" href="classCEGUI_1_1Texture.html">Texture</a> &amp;texture)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy a <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object that was previously created by calling the createTexture functions.  <a href="#a4ee47d4edc3473678cd0a319bb8bfacc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e982c68ec033de44dc8c3a0caabf0a4"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::destroyAllTextures" ref="a1e982c68ec033de44dc8c3a0caabf0a4" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a1e982c68ec033de44dc8c3a0caabf0a4">destroyAllTextures</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy all <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> objects created by this <a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa70630c9c8ad3987d02e249245020a79"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::beginRendering" ref="aa70630c9c8ad3987d02e249245020a79" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#aa70630c9c8ad3987d02e249245020a79">beginRendering</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform any operations required to put the system into a state ready for rendering operations to begin. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="affd4a8fda146b58a1149f61255b9e48d"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::endRendering" ref="affd4a8fda146b58a1149f61255b9e48d" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#affd4a8fda146b58a1149f61255b9e48d">endRendering</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform any operations required to finalise rendering. <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_1Direct3D9Renderer.html#ae084350f9264f9f2b872d029b4c45619">setDisplaySize</a> (const <a class="el" href="classCEGUI_1_1Size.html">Size</a> &amp;sz)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the size of the display or host window in pixels for this <a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a> object.  <a href="#ae084350f9264f9f2b872d029b4c45619"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classCEGUI_1_1Size.html">Size</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#ae73b617927586a007c530836c7062109">getDisplaySize</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the size of the display or host window in pixels.  <a href="#ae73b617927586a007c530836c7062109"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classCEGUI_1_1Vector2.html">Vector2</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a6b04433339a346591c847d0ff51d4a9b">getDisplayDPI</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the resolution of the display or host window in dots per inch.  <a href="#a6b04433339a346591c847d0ff51d4a9b"></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_1Direct3D9Renderer.html#a3452d65ab908f138e19e768dd9ec8f4c">getMaxTextureSize</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the pixel size of the maximum supported texture.  <a href="#a3452d65ab908f138e19e768dd9ec8f4c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#aa6e4814bb53e27ceca5595106b730843">getIdentifierString</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return identification string for the renderer module.  <a href="#aa6e4814bb53e27ceca5595106b730843"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCEGUI_1_1Direct3D9Renderer.html">Direct3D9Renderer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a005af97e9667611e4d86bd74250c763e">bootstrapSystem</a> (LPDIRECT3DDEVICE9 device)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function that creates the required objects to initialise the <a class="el" href="namespaceCEGUI.html" title="Main namespace for Crazy Eddie&#39;s GUI Library.">CEGUI</a> system.  <a href="#a005af97e9667611e4d86bd74250c763e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#abebbdb38f2c9e533035c4cbb2daf310f">destroySystem</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function to cleanup the <a class="el" href="namespaceCEGUI.html" title="Main namespace for Crazy Eddie&#39;s GUI Library.">CEGUI</a> system and related objects that were created by calling the bootstrapSystem function.  <a href="#abebbdb38f2c9e533035c4cbb2daf310f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a249b304696daa5d476945b20d7da7d72"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::create" ref="a249b304696daa5d476945b20d7da7d72" args="(LPDIRECT3DDEVICE9 device)" -->
static <a class="el" href="classCEGUI_1_1Direct3D9Renderer.html">Direct3D9Renderer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a249b304696daa5d476945b20d7da7d72">create</a> (LPDIRECT3DDEVICE9 device)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an <a class="el" href="classCEGUI_1_1Direct3D9Renderer.html" title="Renderer class to interface with Direct3D 9.">Direct3D9Renderer</a> object. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html#a78c0e68ee6e3ad79058f1ccda0e214a0">destroy</a> (<a class="el" href="classCEGUI_1_1Direct3D9Renderer.html">Direct3D9Renderer</a> &amp;renderer)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy an <a class="el" href="classCEGUI_1_1Direct3D9Renderer.html" title="Renderer class to interface with Direct3D 9.">Direct3D9Renderer</a> object.  <a href="#a78c0e68ee6e3ad79058f1ccda0e214a0"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a> class to interface with Direct3D 9. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a005af97e9667611e4d86bd74250c763e"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::bootstrapSystem" ref="a005af97e9667611e4d86bd74250c763e" args="(LPDIRECT3DDEVICE9 device)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classCEGUI_1_1Direct3D9Renderer.html">Direct3D9Renderer</a>&amp; CEGUI::Direct3D9Renderer::bootstrapSystem </td>
          <td>(</td>
          <td class="paramtype">LPDIRECT3DDEVICE9&#160;</td>
          <td class="paramname"><em>device</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience function that creates the required objects to initialise the <a class="el" href="namespaceCEGUI.html" title="Main namespace for Crazy Eddie&#39;s GUI Library.">CEGUI</a> system. </p>
<p>This will create and initialise the following objects for you:</p>
<ul>
<li><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html" title="Renderer class to interface with Direct3D 9.">CEGUI::Direct3D9Renderer</a></li>
<li><a class="el" href="classCEGUI_1_1DefaultResourceProvider.html">CEGUI::DefaultResourceProvider</a></li>
<li><a class="el" href="classCEGUI_1_1System.html" title="The System class is the CEGUI class that provides access to all other elements in this system...">CEGUI::System</a></li>
</ul>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">device</td><td>LPDIRECT3DDEVICE9 of the device that is to be used for <a class="el" href="namespaceCEGUI.html" title="Main namespace for Crazy Eddie&#39;s GUI Library.">CEGUI</a> rendering operations.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Reference to the <a class="el" href="classCEGUI_1_1Direct3D9Renderer.html" title="Renderer class to interface with Direct3D 9.">CEGUI::Direct3D9Renderer</a> object that was created. </dd></dl>

</div>
</div>
<a class="anchor" id="a3d77f14c77febf0c34e45205aa497d4a"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::createGeometryBuffer" ref="a3d77f14c77febf0c34e45205aa497d4a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCEGUI_1_1GeometryBuffer.html">GeometryBuffer</a>&amp; CEGUI::Direct3D9Renderer::createGeometryBuffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a new <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> and return a reference to it. You should remove 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> from any RenderQueues and call destroyGeometryBuffer when you want to destroy 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 class="return"><dt><b>Returns:</b></dt><dd><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. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#a681976af0bc86c5f18d471324837fa89">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="afd53113f715875bcfe274c2d5e00bf41"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::createTexture" ref="afd53113f715875bcfe274c2d5e00bf41" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCEGUI_1_1Texture.html">Texture</a>&amp; CEGUI::Direct3D9Renderer::createTexture </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a 'null' <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly created <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object. The returned <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object has no size or imagery associated with it. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#a70a7afa2b1a47cee8a3239883044e42c">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="a6feb5961e4fd84205de0324752327041"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::createTexture" ref="a6feb5961e4fd84205de0324752327041" args="(const String &amp;filename, const String &amp;resourceGroup)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCEGUI_1_1Texture.html">Texture</a>&amp; CEGUI::Direct3D9Renderer::createTexture </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>resourceGroup</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object using the given image file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> object that specifies the path and filename of the image file to use when creating the texture.</td></tr>
    <tr><td class="paramname">resourceGroup</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> objet that specifies the resource group identifier to be passed to the resource provider when loading the texture file <em>filename</em>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly created <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object. The initial content of the texture memory is the requested image file.</dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>Due to possible limitations of the underlying hardware, API or engine, the final size of the texture may not match the size of the loaded file. You can check the ultimate sizes by querying the <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object after creation. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#a3ff8322cddfcdfba8d26a109772979cb">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="aa5d7af1f9c11765fa6502fe09ae9ab01"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::createTexture" ref="aa5d7af1f9c11765fa6502fe09ae9ab01" args="(const Size &amp;size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCEGUI_1_1Texture.html">Texture</a>&amp; CEGUI::Direct3D9Renderer::createTexture </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1Size.html">Size</a> &amp;&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object with the given pixel dimensions as specified by <em>size</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td><a class="el" href="classCEGUI_1_1Size.html" title="Class that holds the size (width &amp; height) of something.">Size</a> object that describes the desired texture size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly created <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object. The initial contents of the texture memory is undefined.</dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>Due to possible limitations of the underlying hardware, API or engine, the final size of the texture may not match the requested size. You can check the ultimate sizes by querying the <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object after creation. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#a2125c8ac401f9ae7c87a85ccd3807222">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="a3d9e927aefc431cb8fa174076e3208a6"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::createTextureTarget" ref="a3d9e927aefc431cb8fa174076e3208a6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCEGUI_1_1TextureTarget.html">TextureTarget</a>* CEGUI::Direct3D9Renderer::createTextureTarget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> that can be used to cache imagery; this is a <a class="el" href="classCEGUI_1_1RenderTarget.html" title="Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme...">RenderTarget</a> that does not lose it's content from one frame to another. </p>
<p>If the renderer is unable to offer such a thing, 0 should be returned.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to a <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> object that is suitable for caching imagery, or 0 if the renderer is unable to offer such a thing. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#a19ae724f3d4c2da8bdbcaba4cb8b22e1">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="a78c0e68ee6e3ad79058f1ccda0e214a0"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::destroy" ref="a78c0e68ee6e3ad79058f1ccda0e214a0" args="(Direct3D9Renderer &amp;renderer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void CEGUI::Direct3D9Renderer::destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html">Direct3D9Renderer</a> &amp;&#160;</td>
          <td class="paramname"><em>renderer</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destroy an <a class="el" href="classCEGUI_1_1Direct3D9Renderer.html" title="Renderer class to interface with Direct3D 9.">Direct3D9Renderer</a> object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>The <a class="el" href="classCEGUI_1_1Direct3D9Renderer.html" title="Renderer class to interface with Direct3D 9.">Direct3D9Renderer</a> object to be destroyed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7d65b53a41a03e02fd6e4a393895d897"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::destroyGeometryBuffer" ref="a7d65b53a41a03e02fd6e4a393895d897" args="(const GeometryBuffer &amp;buffer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::Direct3D9Renderer::destroyGeometryBuffer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1GeometryBuffer.html">GeometryBuffer</a> &amp;&#160;</td>
          <td class="paramname"><em>buffer</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destroy a <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> that was returned when calling the createGeometryBuffer function. Before destroying any <a class="el" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a> you should ensure that it has been removed from any <a class="el" href="classCEGUI_1_1RenderQueue.html" title="Class that represents a queue of GeometryBuffer objects to be rendered.">RenderQueue</a> that was using it. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">buffer</td><td>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> object to be destroyed. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#a5f450c0981829896b211501af95f8ecf">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="abebbdb38f2c9e533035c4cbb2daf310f"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::destroySystem" ref="abebbdb38f2c9e533035c4cbb2daf310f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void CEGUI::Direct3D9Renderer::destroySystem </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience function to cleanup the <a class="el" href="namespaceCEGUI.html" title="Main namespace for Crazy Eddie&#39;s GUI Library.">CEGUI</a> system and related objects that were created by calling the bootstrapSystem function. </p>
<p>This function will destroy the following objects for you:</p>
<ul>
<li><a class="el" href="classCEGUI_1_1System.html" title="The System class is the CEGUI class that provides access to all other elements in this system...">CEGUI::System</a></li>
<li><a class="el" href="classCEGUI_1_1DefaultResourceProvider.html">CEGUI::DefaultResourceProvider</a></li>
<li><a class="el" href="classCEGUI_1_1Direct3D9Renderer.html" title="Renderer class to interface with Direct3D 9.">CEGUI::Direct3D9Renderer</a></li>
</ul>
<dl class="note"><dt><b>Note:</b></dt><dd>If you did not initialise <a class="el" href="namespaceCEGUI.html" title="Main namespace for Crazy Eddie&#39;s GUI Library.">CEGUI</a> by calling the bootstrapSystem function, you should <em>not</em> call this, but rather delete any objects you created manually. </dd></dl>

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

<p>Destroy a <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object that was previously created by calling the createTexture functions. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td><a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object to be destroyed. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#a7c204e7aba8bbf01b247e9c9b6b5ffb5">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="adbadc810ed51f13d8c80397176d40f2e"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::destroyTextureTarget" ref="adbadc810ed51f13d8c80397176d40f2e" args="(TextureTarget *target)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::Direct3D9Renderer::destroyTextureTarget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCEGUI_1_1TextureTarget.html">TextureTarget</a> *&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Function that cleans up <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> objects created with the createTextureTarget function. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>A pointer to a <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> object that was previously returned from a call to createTextureTarget. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#afda7da404865481200da3611b0289f46">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="a8e8e3a4eb5c39d11da9fbbdd65f3127a"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::getDefaultRenderingRoot" ref="a8e8e3a4eb5c39d11da9fbbdd65f3127a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCEGUI_1_1RenderingRoot.html">RenderingRoot</a>&amp; CEGUI::Direct3D9Renderer::getDefaultRenderingRoot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the default rendering root for the renderer. The default rendering root is typically a <a class="el" href="classCEGUI_1_1RenderingRoot.html">RenderingRoot</a> that targets the entire screen (or rendering window). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCEGUI_1_1RenderingRoot.html">RenderingRoot</a> object that is the default <a class="el" href="classCEGUI_1_1RenderingSurface.html" title="Class that represents a surface that can have geometry based imagery drawn to it.">RenderingSurface</a> provided by the <a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a>. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#a5a0ad73b6f37ddca022598ec27fe96c1">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="a6b04433339a346591c847d0ff51d4a9b"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::getDisplayDPI" ref="a6b04433339a346591c847d0ff51d4a9b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classCEGUI_1_1Vector2.html">Vector2</a>&amp; CEGUI::Direct3D9Renderer::getDisplayDPI </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the resolution of the display or host window in dots per inch. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCEGUI_1_1Vector2.html" title="Class used as a two dimensional vector (aka a Point)">Vector2</a> object that describes the resolution of the display or host window in DPI. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#abafbc484a8ef468970d801acc4094175">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="ae73b617927586a007c530836c7062109"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::getDisplaySize" ref="ae73b617927586a007c530836c7062109" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classCEGUI_1_1Size.html">Size</a>&amp; CEGUI::Direct3D9Renderer::getDisplaySize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the size of the display or host window in pixels. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCEGUI_1_1Size.html" title="Class that holds the size (width &amp; height) of something.">Size</a> object describing the pixel dimesntions of the current display or host window. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#ad4e9a3ef4088b0bada3a5e2e19f7d4a7">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="aa6e4814bb53e27ceca5595106b730843"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::getIdentifierString" ref="aa6e4814bb53e27ceca5595106b730843" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classCEGUI_1_1String.html">String</a>&amp; CEGUI::Direct3D9Renderer::getIdentifierString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return identification string for the renderer module. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> object holding text that identifies the <a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a> in use. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#af3d5e2caa01be3117c220a591e10d72d">CEGUI::Renderer</a>.</p>

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

<p>Return the pixel size of the maximum supported texture. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCEGUI_1_1Size.html" title="Class that holds the size (width &amp; height) of something.">Size</a> of the maximum supported texture in pixels. </dd></dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#af978f8a138518f613d4ea76db33c7101">CEGUI::Renderer</a>.</p>

</div>
</div>
<a class="anchor" id="ae084350f9264f9f2b872d029b4c45619"></a><!-- doxytag: member="CEGUI::Direct3D9Renderer::setDisplaySize" ref="ae084350f9264f9f2b872d029b4c45619" args="(const Size &amp;sz)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::Direct3D9Renderer::setDisplaySize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1Size.html">Size</a> &amp;&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the size of the display or host window in pixels for this <a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a> object. </p>
<p>This is intended to be called by the <a class="el" href="classCEGUI_1_1System.html" title="The System class is the CEGUI class that provides access to all other elements in this system...">System</a> as part of the notification process when display size changes are notified to it via the <a class="el" href="classCEGUI_1_1System.html#a259ef239fb65e93bafd6c777a93dbfb1" title="Notification function to be called when the main display changes size. Client code should call this f...">System::notifyDisplaySizeChanged</a> function.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>The <a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a> implementation should not use this function other than to perform internal state updates on the <a class="el" href="classCEGUI_1_1Renderer.html" title="Abstract class defining the basic required interface for Renderer objects.">Renderer</a> and related objects.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td><a class="el" href="classCEGUI_1_1Size.html" title="Class that holds the size (width &amp; height) of something.">Size</a> object describing the dimesions of the current or host window in pixels. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classCEGUI_1_1Renderer.html#a7f359f7c73091bed8e8b35b90779929c">CEGUI::Renderer</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>