aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/doc/html/_s_material_8h_source.html
blob: fad581a3b851b8d15cda645e54256af65ab60196 (plain)
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
636
637
638
639
640
641
642
643
644
645
646
647
648
<!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>Irrlicht 3D Engine: SMaterial.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Irrlicht 3D Engine
   
   </div>
   
  </td>
  
  
  
   
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
   
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_s_material_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">SMaterial.h</div>  </div>
</div>
<div class="contents">
<a href="_s_material_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2002-2012 Nikolaus Gebhardt</span>
<a name="l00002"></a>00002 <span class="comment">// This file is part of the &quot;Irrlicht Engine&quot;.</span>
<a name="l00003"></a>00003 <span class="comment">// For conditions of distribution and use, see copyright notice in irrlicht.h</span>
<a name="l00004"></a>00004 
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef __S_MATERIAL_H_INCLUDED__</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __S_MATERIAL_H_INCLUDED__</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="_s_color_8h.html">SColor.h</a>&quot;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &quot;<a class="code" href="matrix4_8h.html">matrix4.h</a>&quot;</span>
<a name="l00010"></a>00010 <span class="preprocessor">#include &quot;<a class="code" href="irr_array_8h.html">irrArray.h</a>&quot;</span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &quot;<a class="code" href="irr_math_8h.html">irrMath.h</a>&quot;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &quot;<a class="code" href="_e_material_types_8h.html">EMaterialTypes.h</a>&quot;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &quot;<a class="code" href="_e_material_flags_8h.html">EMaterialFlags.h</a>&quot;</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &quot;<a class="code" href="_s_material_layer_8h.html">SMaterialLayer.h</a>&quot;</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="keyword">namespace </span>irr
<a name="l00017"></a>00017 {
<a name="l00018"></a>00018 <span class="keyword">namespace </span>video
<a name="l00019"></a>00019 {
<a name="l00020"></a>00020     <span class="keyword">class </span>ITexture;
<a name="l00021"></a>00021 
<a name="l00023"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bc">00023</a>     <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bc" title="Flag for EMT_ONETEXTURE_BLEND, ( BlendFactor ) BlendFunc = source * sourceFactor + dest * destFactor...">E_BLEND_FACTOR</a>
<a name="l00024"></a>00024     {
<a name="l00025"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca540abc7dd9e36d4e9ab1bd800ff0cabb">00025</a>         <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca540abc7dd9e36d4e9ab1bd800ff0cabb" title="src &amp; dest (0, 0, 0, 0)">EBF_ZERO</a>    = 0,            
<a name="l00026"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca1e0d8b9190c96495eab3a6e6967d687f">00026</a>         <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca1e0d8b9190c96495eab3a6e6967d687f" title="src &amp; dest (1, 1, 1, 1)">EBF_ONE</a>,                    
<a name="l00027"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca8f6471362a6f2c661601d1d1b2c9428d">00027</a>         <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca8f6471362a6f2c661601d1d1b2c9428d" title="src (destR, destG, destB, destA)">EBF_DST_COLOR</a>,              
<a name="l00028"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca0a8fb8fd43ebe39be3b742e6aee81936">00028</a>         <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca0a8fb8fd43ebe39be3b742e6aee81936" title="src (1-destR, 1-destG, 1-destB, 1-destA)">EBF_ONE_MINUS_DST_COLOR</a>,    
<a name="l00029"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca2aeff4b6a46a6689bae3e5c71c4f3e95">00029</a>         <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca2aeff4b6a46a6689bae3e5c71c4f3e95" title="dest (srcR, srcG, srcB, srcA)">EBF_SRC_COLOR</a>,              
<a name="l00030"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bcaecb612040083c2007d5dcd280892de94">00030</a>         <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bcaecb612040083c2007d5dcd280892de94" title="dest (1-srcR, 1-srcG, 1-srcB, 1-srcA)">EBF_ONE_MINUS_SRC_COLOR</a>,    
<a name="l00031"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca1ac42d35dd7883099dfb5be8f6300a2b">00031</a>         <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca1ac42d35dd7883099dfb5be8f6300a2b" title="src &amp; dest (srcA, srcA, srcA, srcA)">EBF_SRC_ALPHA</a>,              
<a name="l00032"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca7e6c99e4803094ff5bb9fd85f77d02b9">00032</a>         <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca7e6c99e4803094ff5bb9fd85f77d02b9" title="src &amp; dest (1-srcA, 1-srcA, 1-srcA, 1-srcA)">EBF_ONE_MINUS_SRC_ALPHA</a>,    
<a name="l00033"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca404186d241278bbea7d8c69e7aa190d8">00033</a>         <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca404186d241278bbea7d8c69e7aa190d8" title="src &amp; dest (destA, destA, destA, destA)">EBF_DST_ALPHA</a>,              
<a name="l00034"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca2648632cc055728f76f78ae2c5b58071">00034</a>         <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca2648632cc055728f76f78ae2c5b58071" title="src &amp; dest (1-destA, 1-destA, 1-destA, 1-destA)">EBF_ONE_MINUS_DST_ALPHA</a>,    
<a name="l00035"></a><a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca124e79631dfb3fca9d212aaf7bc9b802">00035</a>         <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca124e79631dfb3fca9d212aaf7bc9b802" title="src (min(srcA, 1-destA), idem, ...)">EBF_SRC_ALPHA_SATURATE</a>      
<a name="l00036"></a>00036     };
<a name="l00037"></a>00037 
<a name="l00039"></a><a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2f">00039</a>     <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2f" title="Values defining the blend operation used when blend is enabled.">E_BLEND_OPERATION</a>
<a name="l00040"></a>00040     {
<a name="l00041"></a><a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa0eae3da7a67fbce9190da69e23e1adce">00041</a>         <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa0eae3da7a67fbce9190da69e23e1adce" title="No blending happens.">EBO_NONE</a> = 0,   
<a name="l00042"></a><a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fac1bcb9f240765e34102c22b6bab0ffea">00042</a>         <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fac1bcb9f240765e34102c22b6bab0ffea" title="Default blending adds the color values.">EBO_ADD</a>,        
<a name="l00043"></a><a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa90e4c0c0d003e1da0c27106835ca2f9f">00043</a>         <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa90e4c0c0d003e1da0c27106835ca2f9f" title="This mode subtracts the color values.">EBO_SUBTRACT</a>,   
<a name="l00044"></a><a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa470edec17573e74840c296343c8311e1">00044</a>         <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa470edec17573e74840c296343c8311e1" title="This modes subtracts destination from source.">EBO_REVSUBTRACT</a>,
<a name="l00045"></a><a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa443b00c00065df1c21066b21726d5ecb">00045</a>         <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa443b00c00065df1c21066b21726d5ecb" title="Choose minimum value of each color channel.">EBO_MIN</a>,        
<a name="l00046"></a><a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fae681d878e276ef201946cf1dcebbd6a4">00046</a>         <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fae681d878e276ef201946cf1dcebbd6a4" title="Choose maximum value of each color channel.">EBO_MAX</a>,        
<a name="l00047"></a><a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa4c04a9d2b8aeedd64bee6852d53eaf00">00047</a>         <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa4c04a9d2b8aeedd64bee6852d53eaf00" title="Choose minimum value of each color channel after applying blend factors, not widely supported...">EBO_MIN_FACTOR</a>, 
<a name="l00048"></a><a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fab29de3584befb42eb0366f9a252b017d">00048</a>         <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fab29de3584befb42eb0366f9a252b017d" title="Choose maximum value of each color channel after applying blend factors, not widely supported...">EBO_MAX_FACTOR</a>, 
<a name="l00049"></a><a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fae3a17242783b97991a0fe87a3834a602">00049</a>         <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fae3a17242783b97991a0fe87a3834a602" title="Choose minimum value of each color channel based on alpha value, not widely supported.">EBO_MIN_ALPHA</a>,  
<a name="l00050"></a><a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2faaff74cfa9463e02759bcd5606e2e0e63">00050</a>         <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2faaff74cfa9463e02759bcd5606e2e0e63" title="Choose maximum value of each color channel based on alpha value, not widely supported.">EBO_MAX_ALPHA</a>   
<a name="l00051"></a>00051     };
<a name="l00052"></a>00052 
<a name="l00054"></a><a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843">00054</a>     <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843" title="MaterialTypeParam: e.g. DirectX: D3DTOP_MODULATE, D3DTOP_MODULATE2X, D3DTOP_MODULATE4X.">E_MODULATE_FUNC</a>
<a name="l00055"></a>00055     {
<a name="l00056"></a><a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843a58cc346f344fb488d403a3783675e5d7">00056</a>         <a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843a58cc346f344fb488d403a3783675e5d7">EMFN_MODULATE_1X</a>    = 1,
<a name="l00057"></a><a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843a55186f7a29487a3b75eda15274f6d6bd">00057</a>         <a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843a55186f7a29487a3b75eda15274f6d6bd">EMFN_MODULATE_2X</a>    = 2,
<a name="l00058"></a><a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843afa19322c677d65bf90ad20d873caeac8">00058</a>         <a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843afa19322c677d65bf90ad20d873caeac8">EMFN_MODULATE_4X</a>    = 4
<a name="l00059"></a>00059     };
<a name="l00060"></a>00060 
<a name="l00062"></a><a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878">00062</a>     <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878" title="Comparison function, e.g. for depth buffer test.">E_COMPARISON_FUNC</a>
<a name="l00063"></a>00063     {
<a name="l00065"></a><a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a506fee7d9b0132be08b01b28495ed63c">00065</a>         <a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a506fee7d9b0132be08b01b28495ed63c" title="Test never succeeds, this equals disable.">ECFN_NEVER</a>=0,
<a name="l00067"></a><a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a7d2ba60c17f30a8cc461da4f5f955ea5">00067</a>         <a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a7d2ba60c17f30a8cc461da4f5f955ea5" title="&lt;= test, default for e.g. depth test">ECFN_LESSEQUAL</a>=1,
<a name="l00069"></a><a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878aa5ae12d8040a20df7f4bd8c3a2aa9079">00069</a>         <a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878aa5ae12d8040a20df7f4bd8c3a2aa9079" title="Exact equality.">ECFN_EQUAL</a>=2,
<a name="l00071"></a><a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a214d9e4f7275ac53bc5b9dd4384b0021">00071</a>         <a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a214d9e4f7275ac53bc5b9dd4384b0021" title="exclusive less comparison, i.e. &lt;">ECFN_LESS</a>,
<a name="l00073"></a><a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878add191a828e770427149a699fdddb5a40">00073</a>         <a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878add191a828e770427149a699fdddb5a40" title="Succeeds almost always, except for exact equality.">ECFN_NOTEQUAL</a>,
<a name="l00075"></a><a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a4f417c9c480573b16e05d75274c34360">00075</a>         <a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a4f417c9c480573b16e05d75274c34360" title="&gt;= test">ECFN_GREATEREQUAL</a>,
<a name="l00077"></a><a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a44207d136fffb644ef8743b739b71e99">00077</a>         <a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a44207d136fffb644ef8743b739b71e99" title="inverse of &lt;=">ECFN_GREATER</a>,
<a name="l00079"></a><a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a8d14ef9c1e84519f2b16a6d8c19ae56d">00079</a>         <a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a8d14ef9c1e84519f2b16a6d8c19ae56d" title="test succeeds always">ECFN_ALWAYS</a>
<a name="l00080"></a>00080     };
<a name="l00081"></a>00081 
<a name="l00083"></a><a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21">00083</a>     <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21" title="Enum values for enabling/disabling color planes for rendering.">E_COLOR_PLANE</a>
<a name="l00084"></a>00084     {
<a name="l00086"></a><a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21aa5afe366b19c967f884d0bd4ca083df9">00086</a>         <a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21aa5afe366b19c967f884d0bd4ca083df9" title="No color enabled.">ECP_NONE</a>=0,
<a name="l00088"></a><a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21ad345f3072dec27d31bedb82f1f3011a7">00088</a>         <a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21ad345f3072dec27d31bedb82f1f3011a7" title="Alpha enabled.">ECP_ALPHA</a>=1,
<a name="l00090"></a><a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a36263a436337ff10be86fc9b5ae2f6d0">00090</a>         <a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a36263a436337ff10be86fc9b5ae2f6d0" title="Red enabled.">ECP_RED</a>=2,
<a name="l00092"></a><a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a1e712fd8781a461da6f0a293a3e7180f">00092</a>         <a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a1e712fd8781a461da6f0a293a3e7180f" title="Green enabled.">ECP_GREEN</a>=4,
<a name="l00094"></a><a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a31e270dab7c29a6e642ac491b172d16d">00094</a>         <a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a31e270dab7c29a6e642ac491b172d16d" title="Blue enabled.">ECP_BLUE</a>=8,
<a name="l00096"></a><a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a41d3738a2d0a4c67fa01148b05ee3fc6">00096</a>         <a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a41d3738a2d0a4c67fa01148b05ee3fc6" title="All colors, no alpha.">ECP_RGB</a>=14,
<a name="l00098"></a><a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a674ec773096b1b504b38ed78213e1e38">00098</a>         <a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a674ec773096b1b504b38ed78213e1e38" title="All planes enabled.">ECP_ALL</a>=15
<a name="l00099"></a>00099     };
<a name="l00100"></a>00100 
<a name="l00102"></a>00102 
<a name="l00104"></a><a class="code" href="namespaceirr_1_1video.html#a08b237bb445ffc0f32932c8ed87c6e63">00104</a>     <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#a08b237bb445ffc0f32932c8ed87c6e63" title="Source of the alpha value to take.">E_ALPHA_SOURCE</a>
<a name="l00105"></a>00105     {
<a name="l00107"></a><a class="code" href="namespaceirr_1_1video.html#a08b237bb445ffc0f32932c8ed87c6e63a3989589d4fc8dd35d634b3a05e3db936">00107</a>         <a class="code" href="namespaceirr_1_1video.html#a08b237bb445ffc0f32932c8ed87c6e63a3989589d4fc8dd35d634b3a05e3db936" title="Use no alpha, somewhat redundant with other settings.">EAS_NONE</a>=0,
<a name="l00109"></a><a class="code" href="namespaceirr_1_1video.html#a08b237bb445ffc0f32932c8ed87c6e63a83768b0c4d47856b13ed409b43822d1f">00109</a>         <a class="code" href="namespaceirr_1_1video.html#a08b237bb445ffc0f32932c8ed87c6e63a83768b0c4d47856b13ed409b43822d1f" title="Use vertex color alpha.">EAS_VERTEX_COLOR</a>,
<a name="l00111"></a><a class="code" href="namespaceirr_1_1video.html#a08b237bb445ffc0f32932c8ed87c6e63ad57d5d09230cefbfc77681b6ec2c92fe">00111</a>         <a class="code" href="namespaceirr_1_1video.html#a08b237bb445ffc0f32932c8ed87c6e63ad57d5d09230cefbfc77681b6ec2c92fe" title="Use texture alpha channel.">EAS_TEXTURE</a>
<a name="l00112"></a>00112     };
<a name="l00113"></a>00113 
<a name="l00115"></a>00115 
<a name="l00116"></a><a class="code" href="namespaceirr_1_1video.html#ad4d715752a69b052e582b06283513e49">00116</a>     <span class="keyword">inline</span> <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> <a class="code" href="namespaceirr_1_1video.html#ad4d715752a69b052e582b06283513e49" title="EMT_ONETEXTURE_BLEND: pack srcFact, dstFact, Modulate and alpha source to MaterialTypeParam.">pack_textureBlendFunc</a> ( <span class="keyword">const</span> <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bc" title="Flag for EMT_ONETEXTURE_BLEND, ( BlendFactor ) BlendFunc = source * sourceFactor + dest * destFactor...">E_BLEND_FACTOR</a> srcFact, <span class="keyword">const</span> <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bc" title="Flag for EMT_ONETEXTURE_BLEND, ( BlendFactor ) BlendFunc = source * sourceFactor + dest * destFactor...">E_BLEND_FACTOR</a> dstFact, <span class="keyword">const</span> <a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843" title="MaterialTypeParam: e.g. DirectX: D3DTOP_MODULATE, D3DTOP_MODULATE2X, D3DTOP_MODULATE4X.">E_MODULATE_FUNC</a> modulate=<a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843a58cc346f344fb488d403a3783675e5d7">EMFN_MODULATE_1X</a>, <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> alphaSource=<a class="code" href="namespaceirr_1_1video.html#a08b237bb445ffc0f32932c8ed87c6e63ad57d5d09230cefbfc77681b6ec2c92fe" title="Use texture alpha channel.">EAS_TEXTURE</a> )
<a name="l00117"></a>00117     {
<a name="l00118"></a>00118         <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> tmp = (alphaSource &lt;&lt; 12) | (modulate &lt;&lt; 8) | (srcFact &lt;&lt; 4) | dstFact;
<a name="l00119"></a>00119         <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1core.html#ae0940bd4032e5f10cf83b460f73571a3" title="Floating-point representation of an integer value.">FR</a>(tmp);
<a name="l00120"></a>00120     }
<a name="l00121"></a>00121 
<a name="l00123"></a>00123 
<a name="l00124"></a><a class="code" href="namespaceirr_1_1video.html#a6d0644626c746278881ceae7e33e75c0">00124</a>     <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="namespaceirr_1_1video.html#a6d0644626c746278881ceae7e33e75c0" title="EMT_ONETEXTURE_BLEND: unpack srcFact &amp; dstFact and Modulo to MaterialTypeParam.">unpack_textureBlendFunc</a> ( <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bc" title="Flag for EMT_ONETEXTURE_BLEND, ( BlendFactor ) BlendFunc = source * sourceFactor + dest * destFactor...">E_BLEND_FACTOR</a> &amp;srcFact, <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bc" title="Flag for EMT_ONETEXTURE_BLEND, ( BlendFactor ) BlendFunc = source * sourceFactor + dest * destFactor...">E_BLEND_FACTOR</a> &amp;dstFact,
<a name="l00125"></a>00125             <a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843" title="MaterialTypeParam: e.g. DirectX: D3DTOP_MODULATE, D3DTOP_MODULATE2X, D3DTOP_MODULATE4X.">E_MODULATE_FUNC</a> &amp;modulo, <a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a>&amp; alphaSource, <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> param )
<a name="l00126"></a>00126     {
<a name="l00127"></a>00127         <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> state = <a class="code" href="namespaceirr_1_1core.html#aff42ea2c4d80cb7b45b71d1f63c6a226">IR</a>(param);
<a name="l00128"></a>00128         alphaSource = (state &amp; 0x0000F000) &gt;&gt; 12;
<a name="l00129"></a>00129         modulo  = <a class="code" href="namespaceirr_1_1video.html#a1402e9045137ae232fafbdf385800843" title="MaterialTypeParam: e.g. DirectX: D3DTOP_MODULATE, D3DTOP_MODULATE2X, D3DTOP_MODULATE4X.">E_MODULATE_FUNC</a>( ( state &amp; 0x00000F00 ) &gt;&gt; 8 );
<a name="l00130"></a>00130         srcFact = <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bc" title="Flag for EMT_ONETEXTURE_BLEND, ( BlendFactor ) BlendFunc = source * sourceFactor + dest * destFactor...">E_BLEND_FACTOR</a> ( ( state &amp; 0x000000F0 ) &gt;&gt; 4 );
<a name="l00131"></a>00131         dstFact = <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bc" title="Flag for EMT_ONETEXTURE_BLEND, ( BlendFactor ) BlendFunc = source * sourceFactor + dest * destFactor...">E_BLEND_FACTOR</a> ( ( state &amp; 0x0000000F ) );
<a name="l00132"></a>00132     }
<a name="l00133"></a>00133 
<a name="l00135"></a><a class="code" href="namespaceirr_1_1video.html#a5df0764d7c9e6742eecdba61f5d8a810">00135</a>     <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceirr_1_1video.html#a5df0764d7c9e6742eecdba61f5d8a810" title="EMT_ONETEXTURE_BLEND: has BlendFactor Alphablending.">textureBlendFunc_hasAlpha</a> ( <span class="keyword">const</span> <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bc" title="Flag for EMT_ONETEXTURE_BLEND, ( BlendFactor ) BlendFunc = source * sourceFactor + dest * destFactor...">E_BLEND_FACTOR</a> factor )
<a name="l00136"></a>00136     {
<a name="l00137"></a>00137         <span class="keywordflow">switch</span> ( factor )
<a name="l00138"></a>00138         {
<a name="l00139"></a>00139             <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca1ac42d35dd7883099dfb5be8f6300a2b" title="src &amp; dest (srcA, srcA, srcA, srcA)">EBF_SRC_ALPHA</a>:
<a name="l00140"></a>00140             <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca7e6c99e4803094ff5bb9fd85f77d02b9" title="src &amp; dest (1-srcA, 1-srcA, 1-srcA, 1-srcA)">EBF_ONE_MINUS_SRC_ALPHA</a>:
<a name="l00141"></a>00141             <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca404186d241278bbea7d8c69e7aa190d8" title="src &amp; dest (destA, destA, destA, destA)">EBF_DST_ALPHA</a>:
<a name="l00142"></a>00142             <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca2648632cc055728f76f78ae2c5b58071" title="src &amp; dest (1-destA, 1-destA, 1-destA, 1-destA)">EBF_ONE_MINUS_DST_ALPHA</a>:
<a name="l00143"></a>00143             <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#acae10401850a6cfd5fcf1548c6c884bca124e79631dfb3fca9d212aaf7bc9b802" title="src (min(srcA, 1-destA), idem, ...)">EBF_SRC_ALPHA_SATURATE</a>:
<a name="l00144"></a>00144                 <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00145"></a>00145             <span class="keywordflow">default</span>:
<a name="l00146"></a>00146                 <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00147"></a>00147         }
<a name="l00148"></a>00148     }
<a name="l00149"></a>00149 
<a name="l00150"></a>00150 
<a name="l00152"></a>00152 
<a name="l00158"></a><a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149d">00158</a>     <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149d" title="These flags are used to specify the anti-aliasing and smoothing modes.">E_ANTI_ALIASING_MODE</a>
<a name="l00159"></a>00159     {
<a name="l00161"></a><a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149dab88de631372a6fc318762f20f1095433">00161</a>         <a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149dab88de631372a6fc318762f20f1095433" title="Use to turn off anti-aliasing for this material.">EAAM_OFF</a>=0,
<a name="l00163"></a><a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149da05900b0839b8484a7ff78dbdac7e5dd7">00163</a>         <a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149da05900b0839b8484a7ff78dbdac7e5dd7" title="Default anti-aliasing mode.">EAAM_SIMPLE</a>=1,
<a name="l00165"></a><a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149da25f380a6b1ba75d0dc08ea624974ebd8">00165</a>         <a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149da25f380a6b1ba75d0dc08ea624974ebd8" title="High-quality anti-aliasing, not always supported, automatically enables SIMPLE mode.">EAAM_QUALITY</a>=3,
<a name="l00167"></a><a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149daa91855f39a1b96c5aadd788663b564d3">00167</a>         <a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149daa91855f39a1b96c5aadd788663b564d3" title="Line smoothing.">EAAM_LINE_SMOOTH</a>=4,
<a name="l00169"></a><a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149dab40cf8dfee5fa3a823f2ae34510e63c8">00169</a>         <a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149dab40cf8dfee5fa3a823f2ae34510e63c8" title="point smoothing, often in software and slow, only with OpenGL">EAAM_POINT_SMOOTH</a>=8,
<a name="l00171"></a><a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149dade3c9a3d46cbedc5304cfa869ab593fd">00171</a>         <a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149dade3c9a3d46cbedc5304cfa869ab593fd" title="All typical anti-alias and smooth modes.">EAAM_FULL_BASIC</a>=15,
<a name="l00173"></a>00173 
<a name="l00174"></a><a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149dac887edb1977865349bf92db9118f45cd">00174</a>         <a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149dac887edb1977865349bf92db9118f45cd" title="Enhanced anti-aliasing for transparent materials.">EAAM_ALPHA_TO_COVERAGE</a>=16
<a name="l00175"></a>00175     };
<a name="l00176"></a>00176 
<a name="l00178"></a>00178 
<a name="l00184"></a><a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78">00184</a>     <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78" title="These flags allow to define the interpretation of vertex color when lighting is enabled.">E_COLOR_MATERIAL</a>
<a name="l00185"></a>00185     {
<a name="l00187"></a><a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a1fbe9f2cc7932b308a8a3503a9409a2e">00187</a>         <a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a1fbe9f2cc7932b308a8a3503a9409a2e" title="Don&#39;t use vertex color for lighting.">ECM_NONE</a>=0,
<a name="l00189"></a><a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a93dd321bbb0c52003ba44960ccc07afc">00189</a>         <a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a93dd321bbb0c52003ba44960ccc07afc" title="Use vertex color for diffuse light, this is default.">ECM_DIFFUSE</a>,
<a name="l00191"></a><a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a955744174b188f9787b548c53905bc26">00191</a>         <a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a955744174b188f9787b548c53905bc26" title="Use vertex color for ambient light.">ECM_AMBIENT</a>,
<a name="l00193"></a><a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a77001813414a4f119f7760dfb2c962d1">00193</a>         <a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a77001813414a4f119f7760dfb2c962d1" title="Use vertex color for emissive light.">ECM_EMISSIVE</a>,
<a name="l00195"></a><a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a8dbb170ec93f1bed738e77da8e5fd0a2">00195</a>         <a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a8dbb170ec93f1bed738e77da8e5fd0a2" title="Use vertex color for specular light.">ECM_SPECULAR</a>,
<a name="l00197"></a><a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a8411bc2cba6cf0609958a5d02ccc7a3b">00197</a>         <a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a8411bc2cba6cf0609958a5d02ccc7a3b" title="Use vertex color for both diffuse and ambient light.">ECM_DIFFUSE_AND_AMBIENT</a>
<a name="l00198"></a>00198     };
<a name="l00199"></a>00199 
<a name="l00201"></a>00201 
<a name="l00202"></a><a class="code" href="namespaceirr_1_1video.html#a812b866b910c946f5bc813f8eab31144">00202</a>     <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1video.html#a812b866b910c946f5bc813f8eab31144" title="Flags for the definition of the polygon offset feature.">E_POLYGON_OFFSET</a>
<a name="l00203"></a>00203     {
<a name="l00205"></a>00205 
<a name="l00206"></a><a class="code" href="namespaceirr_1_1video.html#a812b866b910c946f5bc813f8eab31144a73dcec6718742ff2631ab7ca25685b32">00206</a>         <a class="code" href="namespaceirr_1_1video.html#a812b866b910c946f5bc813f8eab31144a73dcec6718742ff2631ab7ca25685b32" title="Push pixel towards the far plane, away from the eye.">EPO_BACK</a>=0,
<a name="l00208"></a>00208 
<a name="l00210"></a><a class="code" href="namespaceirr_1_1video.html#a812b866b910c946f5bc813f8eab31144ae39fa3f07418d3f6f5dd2d245122d2cb">00210</a>         <a class="code" href="namespaceirr_1_1video.html#a812b866b910c946f5bc813f8eab31144ae39fa3f07418d3f6f5dd2d245122d2cb" title="Pull pixels towards the camera.">EPO_FRONT</a>=1
<a name="l00211"></a>00211     };
<a name="l00212"></a>00212 
<a name="l00214"></a><a class="code" href="namespaceirr_1_1video.html#a4c81c2f4785908499fe7eb8214df879a">00214</a>     <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410" title="8 bit character variable.">c8</a>* <span class="keyword">const</span> <a class="code" href="namespaceirr_1_1video.html#a4c81c2f4785908499fe7eb8214df879a" title="Names for polygon offset direction.">PolygonOffsetDirectionNames</a>[] =
<a name="l00215"></a>00215     {
<a name="l00216"></a>00216         <span class="stringliteral">&quot;Back&quot;</span>,
<a name="l00217"></a>00217         <span class="stringliteral">&quot;Front&quot;</span>,
<a name="l00218"></a>00218         0
<a name="l00219"></a>00219     };
<a name="l00220"></a>00220 
<a name="l00221"></a>00221 
<a name="l00223"></a><a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052">00223</a>     <span class="keyword">const</span> <a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> <a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a> = <a class="code" href="_irr_compile_config_8h.html#a081fbde070fc910f481a704502fdf02c" title="Maximum number of texture an SMaterial can have, up to 8 are supported by Irrlicht.">_IRR_MATERIAL_MAX_TEXTURES_</a>;
<a name="l00224"></a>00224 
<a name="l00226"></a><a class="code" href="classirr_1_1video_1_1_s_material.html">00226</a>     <span class="keyword">class </span><a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">SMaterial</a>
<a name="l00227"></a>00227     {
<a name="l00228"></a>00228     <span class="keyword">public</span>:
<a name="l00230"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#ae5002c3c8ea002539228a9ca95cc8003">00230</a>         <a class="code" href="classirr_1_1video_1_1_s_material.html#ae5002c3c8ea002539228a9ca95cc8003" title="Default constructor. Creates a solid, lit material with white colors.">SMaterial</a>()
<a name="l00231"></a>00231         : <a class="code" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a" title="Type of the material. Specifies how everything is blended together.">MaterialType</a>(<a class="code" href="namespaceirr_1_1video.html#ac8e9b6c66f7cebabd1a6d30cbc5430f1a9bc471b9c18c9e2d20496004d2a2e803" title="Standard solid material.">EMT_SOLID</a>), <a class="code" href="classirr_1_1video_1_1_s_material.html#a434c189b7c618c66f4d09118d30e6b4b" title="How much ambient light (a global light) is reflected by this material.">AmbientColor</a>(255,255,255,255), <a class="code" href="classirr_1_1video_1_1_s_material.html#ac4e1aaf4751f7267eaf255496cc058df" title="How much diffuse light coming from a light source is reflected by this material.">DiffuseColor</a>(255,255,255,255),
<a name="l00232"></a>00232             <a class="code" href="classirr_1_1video_1_1_s_material.html#a005f9acf8855681c21b3e3e7de67306f" title="Light emitted by this material. Default is to emit no light.">EmissiveColor</a>(0,0,0,0), <a class="code" href="classirr_1_1video_1_1_s_material.html#a253c2acbafe6698e3d16b3e3a1e199ed" title="How much specular light (highlights from a light) is reflected.">SpecularColor</a>(255,255,255,255),
<a name="l00233"></a>00233             <a class="code" href="classirr_1_1video_1_1_s_material.html#a877106a83108db6d1f30a38379d28494" title="Value affecting the size of specular highlights.">Shininess</a>(0.0f), <a class="code" href="classirr_1_1video_1_1_s_material.html#aefe0acce491efa8dedcd2b7cb49f8133" title="Free parameter, dependent on the material type.">MaterialTypeParam</a>(0.0f), <a class="code" href="classirr_1_1video_1_1_s_material.html#a3c4af8e0325a95ff78c3066a497161de" title="Second free parameter, dependent on the material type.">MaterialTypeParam2</a>(0.0f), <a class="code" href="classirr_1_1video_1_1_s_material.html#a5b147b8e6fa53c54d3f33e44982220a1" title="Thickness of non-3dimensional elements such as lines and points.">Thickness</a>(1.0f),
<a name="l00234"></a>00234             <a class="code" href="classirr_1_1video_1_1_s_material.html#a7e604773b2ac61ab7a15ec9afef0dabf" title="Is the ZBuffer enabled? Default: ECFN_LESSEQUAL.">ZBuffer</a>(<a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a7d2ba60c17f30a8cc461da4f5f955ea5" title="&lt;= test, default for e.g. depth test">ECFN_LESSEQUAL</a>), <a class="code" href="classirr_1_1video_1_1_s_material.html#a8f42b43ebf214c502e6758b9b608c095" title="Sets the antialiasing mode.">AntiAliasing</a>(<a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149da05900b0839b8484a7ff78dbdac7e5dd7" title="Default anti-aliasing mode.">EAAM_SIMPLE</a>), <a class="code" href="classirr_1_1video_1_1_s_material.html#a5a4833b515b453c592224d89356dbc01" title="Defines the enabled color planes.">ColorMask</a>(<a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a674ec773096b1b504b38ed78213e1e38" title="All planes enabled.">ECP_ALL</a>),
<a name="l00235"></a>00235             <a class="code" href="classirr_1_1video_1_1_s_material.html#a127d0d7a428cb9e5450f2e448b7652ae" title="Defines the interpretation of vertex color in the lighting equation.">ColorMaterial</a>(<a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a93dd321bbb0c52003ba44960ccc07afc" title="Use vertex color for diffuse light, this is default.">ECM_DIFFUSE</a>), <a class="code" href="classirr_1_1video_1_1_s_material.html#afbef5b333fd3af57649cf11ab575fa26" title="Store the blend operation of choice.">BlendOperation</a>(<a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa0eae3da7a67fbce9190da69e23e1adce" title="No blending happens.">EBO_NONE</a>),
<a name="l00236"></a>00236             <a class="code" href="classirr_1_1video_1_1_s_material.html#afa24a258ca0ca5eff3b66a3f8aa04462" title="Factor specifying how far the polygon offset should be made.">PolygonOffsetFactor</a>(0), <a class="code" href="classirr_1_1video_1_1_s_material.html#ab3da2285d0e74fc99eafdd8944ea4eb8" title="Flag defining the direction the polygon offset is applied to.">PolygonOffsetDirection</a>(<a class="code" href="namespaceirr_1_1video.html#a812b866b910c946f5bc813f8eab31144ae39fa3f07418d3f6f5dd2d245122d2cb" title="Pull pixels towards the camera.">EPO_FRONT</a>),
<a name="l00237"></a>00237             <a class="code" href="classirr_1_1video_1_1_s_material.html#a6fb428e6e27d0e143cc7da5ea19f8dcc" title="Draw as wireframe or filled triangles? Default: false.">Wireframe</a>(false), <a class="code" href="classirr_1_1video_1_1_s_material.html#a457d243ff8c1cd1777c70349fa55515c" title="Draw as point cloud or filled triangles? Default: false.">PointCloud</a>(false), <a class="code" href="classirr_1_1video_1_1_s_material.html#abf4a3e138d75670ec772fbadb8965e43" title="Flat or Gouraud shading? Default: true.">GouraudShading</a>(true),
<a name="l00238"></a>00238             <a class="code" href="classirr_1_1video_1_1_s_material.html#afde014546a3d1da0f91ee06494d48e2b" title="Will this material be lighted? Default: true.">Lighting</a>(true), <a class="code" href="classirr_1_1video_1_1_s_material.html#a0e6b40e87162a74f2c730af597e20721" title="Is the zbuffer writeable or is it read-only. Default: true.">ZWriteEnable</a>(true), <a class="code" href="classirr_1_1video_1_1_s_material.html#af3fcfcd5c2042a699a3f6b45deac475e" title="Is backface culling enabled? Default: true.">BackfaceCulling</a>(true), <a class="code" href="classirr_1_1video_1_1_s_material.html#a9e0d15829ae99858ed8442582961149f" title="Is frontface culling enabled? Default: false.">FrontfaceCulling</a>(false),
<a name="l00239"></a>00239             <a class="code" href="classirr_1_1video_1_1_s_material.html#aa361f179c15991ec85f0894cec38b880" title="Is fog enabled? Default: false.">FogEnable</a>(false), <a class="code" href="classirr_1_1video_1_1_s_material.html#aeee37deac57bebcd42650bc50aeccc2d" title="Should normals be normalized?">NormalizeNormals</a>(false), <a class="code" href="classirr_1_1video_1_1_s_material.html#a98aab3128696d9ad3f0f516153f7bae0" title="Shall mipmaps be used if available.">UseMipMaps</a>(true)
<a name="l00240"></a>00240         { }
<a name="l00241"></a>00241 
<a name="l00243"></a>00243 
<a name="l00244"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a66f175294b99e3cc2816e9cc0f372ce3">00244</a>         <a class="code" href="classirr_1_1video_1_1_s_material.html#ae5002c3c8ea002539228a9ca95cc8003" title="Default constructor. Creates a solid, lit material with white colors.">SMaterial</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">SMaterial</a>&amp; other)
<a name="l00245"></a>00245         {
<a name="l00246"></a>00246             <span class="comment">// These pointers are checked during assignment</span>
<a name="l00247"></a>00247             <span class="keywordflow">for</span> (<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i=0; i&lt;<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>; ++i)
<a name="l00248"></a>00248                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].TextureMatrix = 0;
<a name="l00249"></a>00249             *<span class="keyword">this</span> = other;
<a name="l00250"></a>00250         }
<a name="l00251"></a>00251 
<a name="l00253"></a>00253 
<a name="l00254"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a752ea337daa705d8d7035f0ee93d178d">00254</a>         <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">SMaterial</a>&amp; <a class="code" href="classirr_1_1video_1_1_s_material.html#a752ea337daa705d8d7035f0ee93d178d" title="Assignment operator.">operator=</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">SMaterial</a>&amp; other)
<a name="l00255"></a>00255         {
<a name="l00256"></a>00256             <span class="comment">// Check for self-assignment!</span>
<a name="l00257"></a>00257             <span class="keywordflow">if</span> (<span class="keyword">this</span> == &amp;other)
<a name="l00258"></a>00258                 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00259"></a>00259 
<a name="l00260"></a>00260             <a class="code" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a" title="Type of the material. Specifies how everything is blended together.">MaterialType</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a" title="Type of the material. Specifies how everything is blended together.">MaterialType</a>;
<a name="l00261"></a>00261 
<a name="l00262"></a>00262             <a class="code" href="classirr_1_1video_1_1_s_material.html#a434c189b7c618c66f4d09118d30e6b4b" title="How much ambient light (a global light) is reflected by this material.">AmbientColor</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a434c189b7c618c66f4d09118d30e6b4b" title="How much ambient light (a global light) is reflected by this material.">AmbientColor</a>;
<a name="l00263"></a>00263             <a class="code" href="classirr_1_1video_1_1_s_material.html#ac4e1aaf4751f7267eaf255496cc058df" title="How much diffuse light coming from a light source is reflected by this material.">DiffuseColor</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#ac4e1aaf4751f7267eaf255496cc058df" title="How much diffuse light coming from a light source is reflected by this material.">DiffuseColor</a>;
<a name="l00264"></a>00264             <a class="code" href="classirr_1_1video_1_1_s_material.html#a005f9acf8855681c21b3e3e7de67306f" title="Light emitted by this material. Default is to emit no light.">EmissiveColor</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a005f9acf8855681c21b3e3e7de67306f" title="Light emitted by this material. Default is to emit no light.">EmissiveColor</a>;
<a name="l00265"></a>00265             <a class="code" href="classirr_1_1video_1_1_s_material.html#a253c2acbafe6698e3d16b3e3a1e199ed" title="How much specular light (highlights from a light) is reflected.">SpecularColor</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a253c2acbafe6698e3d16b3e3a1e199ed" title="How much specular light (highlights from a light) is reflected.">SpecularColor</a>;
<a name="l00266"></a>00266             <a class="code" href="classirr_1_1video_1_1_s_material.html#a877106a83108db6d1f30a38379d28494" title="Value affecting the size of specular highlights.">Shininess</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a877106a83108db6d1f30a38379d28494" title="Value affecting the size of specular highlights.">Shininess</a>;
<a name="l00267"></a>00267             <a class="code" href="classirr_1_1video_1_1_s_material.html#aefe0acce491efa8dedcd2b7cb49f8133" title="Free parameter, dependent on the material type.">MaterialTypeParam</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#aefe0acce491efa8dedcd2b7cb49f8133" title="Free parameter, dependent on the material type.">MaterialTypeParam</a>;
<a name="l00268"></a>00268             <a class="code" href="classirr_1_1video_1_1_s_material.html#a3c4af8e0325a95ff78c3066a497161de" title="Second free parameter, dependent on the material type.">MaterialTypeParam2</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a3c4af8e0325a95ff78c3066a497161de" title="Second free parameter, dependent on the material type.">MaterialTypeParam2</a>;
<a name="l00269"></a>00269             <a class="code" href="classirr_1_1video_1_1_s_material.html#a5b147b8e6fa53c54d3f33e44982220a1" title="Thickness of non-3dimensional elements such as lines and points.">Thickness</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a5b147b8e6fa53c54d3f33e44982220a1" title="Thickness of non-3dimensional elements such as lines and points.">Thickness</a>;
<a name="l00270"></a>00270             <span class="keywordflow">for</span> (<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i=0; i&lt;<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>; ++i)
<a name="l00271"></a>00271             {
<a name="l00272"></a>00272                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i] = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i];
<a name="l00273"></a>00273             }
<a name="l00274"></a>00274 
<a name="l00275"></a>00275             <a class="code" href="classirr_1_1video_1_1_s_material.html#a6fb428e6e27d0e143cc7da5ea19f8dcc" title="Draw as wireframe or filled triangles? Default: false.">Wireframe</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a6fb428e6e27d0e143cc7da5ea19f8dcc" title="Draw as wireframe or filled triangles? Default: false.">Wireframe</a>;
<a name="l00276"></a>00276             <a class="code" href="classirr_1_1video_1_1_s_material.html#a457d243ff8c1cd1777c70349fa55515c" title="Draw as point cloud or filled triangles? Default: false.">PointCloud</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a457d243ff8c1cd1777c70349fa55515c" title="Draw as point cloud or filled triangles? Default: false.">PointCloud</a>;
<a name="l00277"></a>00277             <a class="code" href="classirr_1_1video_1_1_s_material.html#abf4a3e138d75670ec772fbadb8965e43" title="Flat or Gouraud shading? Default: true.">GouraudShading</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#abf4a3e138d75670ec772fbadb8965e43" title="Flat or Gouraud shading? Default: true.">GouraudShading</a>;
<a name="l00278"></a>00278             <a class="code" href="classirr_1_1video_1_1_s_material.html#afde014546a3d1da0f91ee06494d48e2b" title="Will this material be lighted? Default: true.">Lighting</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#afde014546a3d1da0f91ee06494d48e2b" title="Will this material be lighted? Default: true.">Lighting</a>;
<a name="l00279"></a>00279             <a class="code" href="classirr_1_1video_1_1_s_material.html#a0e6b40e87162a74f2c730af597e20721" title="Is the zbuffer writeable or is it read-only. Default: true.">ZWriteEnable</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a0e6b40e87162a74f2c730af597e20721" title="Is the zbuffer writeable or is it read-only. Default: true.">ZWriteEnable</a>;
<a name="l00280"></a>00280             <a class="code" href="classirr_1_1video_1_1_s_material.html#af3fcfcd5c2042a699a3f6b45deac475e" title="Is backface culling enabled? Default: true.">BackfaceCulling</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#af3fcfcd5c2042a699a3f6b45deac475e" title="Is backface culling enabled? Default: true.">BackfaceCulling</a>;
<a name="l00281"></a>00281             <a class="code" href="classirr_1_1video_1_1_s_material.html#a9e0d15829ae99858ed8442582961149f" title="Is frontface culling enabled? Default: false.">FrontfaceCulling</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a9e0d15829ae99858ed8442582961149f" title="Is frontface culling enabled? Default: false.">FrontfaceCulling</a>;
<a name="l00282"></a>00282             <a class="code" href="classirr_1_1video_1_1_s_material.html#aa361f179c15991ec85f0894cec38b880" title="Is fog enabled? Default: false.">FogEnable</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#aa361f179c15991ec85f0894cec38b880" title="Is fog enabled? Default: false.">FogEnable</a>;
<a name="l00283"></a>00283             <a class="code" href="classirr_1_1video_1_1_s_material.html#aeee37deac57bebcd42650bc50aeccc2d" title="Should normals be normalized?">NormalizeNormals</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#aeee37deac57bebcd42650bc50aeccc2d" title="Should normals be normalized?">NormalizeNormals</a>;
<a name="l00284"></a>00284             <a class="code" href="classirr_1_1video_1_1_s_material.html#a7e604773b2ac61ab7a15ec9afef0dabf" title="Is the ZBuffer enabled? Default: ECFN_LESSEQUAL.">ZBuffer</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a7e604773b2ac61ab7a15ec9afef0dabf" title="Is the ZBuffer enabled? Default: ECFN_LESSEQUAL.">ZBuffer</a>;
<a name="l00285"></a>00285             <a class="code" href="classirr_1_1video_1_1_s_material.html#a8f42b43ebf214c502e6758b9b608c095" title="Sets the antialiasing mode.">AntiAliasing</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a8f42b43ebf214c502e6758b9b608c095" title="Sets the antialiasing mode.">AntiAliasing</a>;
<a name="l00286"></a>00286             <a class="code" href="classirr_1_1video_1_1_s_material.html#a5a4833b515b453c592224d89356dbc01" title="Defines the enabled color planes.">ColorMask</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a5a4833b515b453c592224d89356dbc01" title="Defines the enabled color planes.">ColorMask</a>;
<a name="l00287"></a>00287             <a class="code" href="classirr_1_1video_1_1_s_material.html#a127d0d7a428cb9e5450f2e448b7652ae" title="Defines the interpretation of vertex color in the lighting equation.">ColorMaterial</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a127d0d7a428cb9e5450f2e448b7652ae" title="Defines the interpretation of vertex color in the lighting equation.">ColorMaterial</a>;
<a name="l00288"></a>00288             <a class="code" href="classirr_1_1video_1_1_s_material.html#afbef5b333fd3af57649cf11ab575fa26" title="Store the blend operation of choice.">BlendOperation</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#afbef5b333fd3af57649cf11ab575fa26" title="Store the blend operation of choice.">BlendOperation</a>;
<a name="l00289"></a>00289             <a class="code" href="classirr_1_1video_1_1_s_material.html#afa24a258ca0ca5eff3b66a3f8aa04462" title="Factor specifying how far the polygon offset should be made.">PolygonOffsetFactor</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#afa24a258ca0ca5eff3b66a3f8aa04462" title="Factor specifying how far the polygon offset should be made.">PolygonOffsetFactor</a>;
<a name="l00290"></a>00290             <a class="code" href="classirr_1_1video_1_1_s_material.html#ab3da2285d0e74fc99eafdd8944ea4eb8" title="Flag defining the direction the polygon offset is applied to.">PolygonOffsetDirection</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#ab3da2285d0e74fc99eafdd8944ea4eb8" title="Flag defining the direction the polygon offset is applied to.">PolygonOffsetDirection</a>;
<a name="l00291"></a>00291             <a class="code" href="classirr_1_1video_1_1_s_material.html#a98aab3128696d9ad3f0f516153f7bae0" title="Shall mipmaps be used if available.">UseMipMaps</a> = other.<a class="code" href="classirr_1_1video_1_1_s_material.html#a98aab3128696d9ad3f0f516153f7bae0" title="Shall mipmaps be used if available.">UseMipMaps</a>;
<a name="l00292"></a>00292 
<a name="l00293"></a>00293             <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00294"></a>00294         }
<a name="l00295"></a>00295 
<a name="l00297"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890">00297</a>         <a class="code" href="classirr_1_1video_1_1_s_material_layer.html" title="Struct for holding material parameters which exist per texture layer.">SMaterialLayer</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>];
<a name="l00298"></a>00298 
<a name="l00300"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a">00300</a>         <a class="code" href="namespaceirr_1_1video.html#ac8e9b6c66f7cebabd1a6d30cbc5430f1" title="Abstracted and easy to use fixed function/programmable pipeline material modes.">E_MATERIAL_TYPE</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a" title="Type of the material. Specifies how everything is blended together.">MaterialType</a>;
<a name="l00301"></a>00301 
<a name="l00303"></a>00303 
<a name="l00306"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a434c189b7c618c66f4d09118d30e6b4b">00306</a>         <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a434c189b7c618c66f4d09118d30e6b4b" title="How much ambient light (a global light) is reflected by this material.">AmbientColor</a>;
<a name="l00307"></a>00307 
<a name="l00309"></a>00309 
<a name="l00310"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#ac4e1aaf4751f7267eaf255496cc058df">00310</a>         <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#ac4e1aaf4751f7267eaf255496cc058df" title="How much diffuse light coming from a light source is reflected by this material.">DiffuseColor</a>;
<a name="l00311"></a>00311 
<a name="l00313"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a005f9acf8855681c21b3e3e7de67306f">00313</a>         <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a005f9acf8855681c21b3e3e7de67306f" title="Light emitted by this material. Default is to emit no light.">EmissiveColor</a>;
<a name="l00314"></a>00314 
<a name="l00316"></a>00316 
<a name="l00318"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a253c2acbafe6698e3d16b3e3a1e199ed">00318</a>         <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">SColor</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a253c2acbafe6698e3d16b3e3a1e199ed" title="How much specular light (highlights from a light) is reflected.">SpecularColor</a>;
<a name="l00319"></a>00319 
<a name="l00321"></a>00321 
<a name="l00350"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a877106a83108db6d1f30a38379d28494">00350</a>         <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a877106a83108db6d1f30a38379d28494" title="Value affecting the size of specular highlights.">Shininess</a>;
<a name="l00351"></a>00351 
<a name="l00353"></a>00353 
<a name="l00355"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#aefe0acce491efa8dedcd2b7cb49f8133">00355</a>         <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#aefe0acce491efa8dedcd2b7cb49f8133" title="Free parameter, dependent on the material type.">MaterialTypeParam</a>;
<a name="l00356"></a>00356 
<a name="l00358"></a>00358 
<a name="l00359"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a3c4af8e0325a95ff78c3066a497161de">00359</a>         <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a3c4af8e0325a95ff78c3066a497161de" title="Second free parameter, dependent on the material type.">MaterialTypeParam2</a>;
<a name="l00360"></a>00360 
<a name="l00362"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a5b147b8e6fa53c54d3f33e44982220a1">00362</a>         <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a5b147b8e6fa53c54d3f33e44982220a1" title="Thickness of non-3dimensional elements such as lines and points.">Thickness</a>;
<a name="l00363"></a>00363 
<a name="l00365"></a>00365 
<a name="l00366"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a7e604773b2ac61ab7a15ec9afef0dabf">00366</a>         <a class="code" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761" title="8 bit unsigned variable.">u8</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a7e604773b2ac61ab7a15ec9afef0dabf" title="Is the ZBuffer enabled? Default: ECFN_LESSEQUAL.">ZBuffer</a>;
<a name="l00367"></a>00367 
<a name="l00369"></a>00369 
<a name="l00372"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a8f42b43ebf214c502e6758b9b608c095">00372</a>         <a class="code" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761" title="8 bit unsigned variable.">u8</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a8f42b43ebf214c502e6758b9b608c095" title="Sets the antialiasing mode.">AntiAliasing</a>;
<a name="l00373"></a>00373 
<a name="l00375"></a>00375 
<a name="l00379"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a5a4833b515b453c592224d89356dbc01">00379</a>         <a class="code" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761" title="8 bit unsigned variable.">u8</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a5a4833b515b453c592224d89356dbc01" title="Defines the enabled color planes.">ColorMask</a>:4;
<a name="l00380"></a>00380 
<a name="l00382"></a>00382 
<a name="l00387"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a127d0d7a428cb9e5450f2e448b7652ae">00387</a>         <a class="code" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761" title="8 bit unsigned variable.">u8</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#a127d0d7a428cb9e5450f2e448b7652ae" title="Defines the interpretation of vertex color in the lighting equation.">ColorMaterial</a>:3;
<a name="l00388"></a>00388 
<a name="l00390"></a>00390 
<a name="l00392"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#afbef5b333fd3af57649cf11ab575fa26">00392</a>         <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2f" title="Values defining the blend operation used when blend is enabled.">E_BLEND_OPERATION</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#afbef5b333fd3af57649cf11ab575fa26" title="Store the blend operation of choice.">BlendOperation</a>:4;
<a name="l00393"></a>00393 
<a name="l00395"></a>00395 
<a name="l00397"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#afa24a258ca0ca5eff3b66a3f8aa04462">00397</a>         <a class="code" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761" title="8 bit unsigned variable.">u8</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#afa24a258ca0ca5eff3b66a3f8aa04462" title="Factor specifying how far the polygon offset should be made.">PolygonOffsetFactor</a>:3;
<a name="l00398"></a>00398 
<a name="l00400"></a>00400 
<a name="l00401"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#ab3da2285d0e74fc99eafdd8944ea4eb8">00401</a>         <a class="code" href="namespaceirr_1_1video.html#a812b866b910c946f5bc813f8eab31144" title="Flags for the definition of the polygon offset feature.">E_POLYGON_OFFSET</a> <a class="code" href="classirr_1_1video_1_1_s_material.html#ab3da2285d0e74fc99eafdd8944ea4eb8" title="Flag defining the direction the polygon offset is applied to.">PolygonOffsetDirection</a>:1;
<a name="l00402"></a>00402 
<a name="l00404"></a>00404 
<a name="l00407"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a6fb428e6e27d0e143cc7da5ea19f8dcc">00407</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a6fb428e6e27d0e143cc7da5ea19f8dcc" title="Draw as wireframe or filled triangles? Default: false.">Wireframe</a>:1;
<a name="l00408"></a>00408 
<a name="l00410"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a457d243ff8c1cd1777c70349fa55515c">00410</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a457d243ff8c1cd1777c70349fa55515c" title="Draw as point cloud or filled triangles? Default: false.">PointCloud</a>:1;
<a name="l00411"></a>00411 
<a name="l00413"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#abf4a3e138d75670ec772fbadb8965e43">00413</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#abf4a3e138d75670ec772fbadb8965e43" title="Flat or Gouraud shading? Default: true.">GouraudShading</a>:1;
<a name="l00414"></a>00414 
<a name="l00416"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#afde014546a3d1da0f91ee06494d48e2b">00416</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#afde014546a3d1da0f91ee06494d48e2b" title="Will this material be lighted? Default: true.">Lighting</a>:1;
<a name="l00417"></a>00417 
<a name="l00419"></a>00419 
<a name="l00422"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a0e6b40e87162a74f2c730af597e20721">00422</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a0e6b40e87162a74f2c730af597e20721" title="Is the zbuffer writeable or is it read-only. Default: true.">ZWriteEnable</a>:1;
<a name="l00423"></a>00423 
<a name="l00425"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#af3fcfcd5c2042a699a3f6b45deac475e">00425</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#af3fcfcd5c2042a699a3f6b45deac475e" title="Is backface culling enabled? Default: true.">BackfaceCulling</a>:1;
<a name="l00426"></a>00426 
<a name="l00428"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a9e0d15829ae99858ed8442582961149f">00428</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a9e0d15829ae99858ed8442582961149f" title="Is frontface culling enabled? Default: false.">FrontfaceCulling</a>:1;
<a name="l00429"></a>00429 
<a name="l00431"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#aa361f179c15991ec85f0894cec38b880">00431</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#aa361f179c15991ec85f0894cec38b880" title="Is fog enabled? Default: false.">FogEnable</a>:1;
<a name="l00432"></a>00432 
<a name="l00434"></a>00434 
<a name="l00435"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#aeee37deac57bebcd42650bc50aeccc2d">00435</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#aeee37deac57bebcd42650bc50aeccc2d" title="Should normals be normalized?">NormalizeNormals</a>:1;
<a name="l00436"></a>00436 
<a name="l00438"></a>00438 
<a name="l00439"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a98aab3128696d9ad3f0f516153f7bae0">00439</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a98aab3128696d9ad3f0f516153f7bae0" title="Shall mipmaps be used if available.">UseMipMaps</a>:1;
<a name="l00440"></a>00440 
<a name="l00442"></a>00442 
<a name="l00444"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a102aec38ea69a7c609edfad74b40463c">00444</a>         <a class="code" href="classirr_1_1core_1_1_c_matrix4.html" title="4x4 matrix. Mostly used as transformation matrix for 3d calculations.">core::matrix4</a>&amp; <a class="code" href="classirr_1_1video_1_1_s_material.html#a102aec38ea69a7c609edfad74b40463c" title="Gets the texture transformation matrix for level i.">getTextureMatrix</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i)
<a name="l00445"></a>00445         {
<a name="l00446"></a>00446             <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#aa8d7c025f5bb282537b8886c340dbe63" title="Gets the texture transformation matrix.">getTextureMatrix</a>();
<a name="l00447"></a>00447         }
<a name="l00448"></a>00448 
<a name="l00450"></a>00450 
<a name="l00452"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a62f6041818b50efc772658a84e0fd5df">00452</a>         <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1_c_matrix4.html" title="4x4 matrix. Mostly used as transformation matrix for 3d calculations.">core::matrix4</a>&amp; <a class="code" href="classirr_1_1video_1_1_s_material.html#a102aec38ea69a7c609edfad74b40463c" title="Gets the texture transformation matrix for level i.">getTextureMatrix</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i)<span class="keyword"> const</span>
<a name="l00453"></a>00453 <span class="keyword">        </span>{
<a name="l00454"></a>00454             <span class="keywordflow">if</span> (i&lt;<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>)
<a name="l00455"></a>00455                 <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#aa8d7c025f5bb282537b8886c340dbe63" title="Gets the texture transformation matrix.">getTextureMatrix</a>();
<a name="l00456"></a>00456             <span class="keywordflow">else</span>
<a name="l00457"></a>00457                 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1core.html#ac4561f3920d3fbfbfff74c9bed1f2713" title="global const identity matrix">core::IdentityMatrix</a>;
<a name="l00458"></a>00458         }
<a name="l00459"></a>00459 
<a name="l00461"></a>00461 
<a name="l00463"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a6e1a89f5005226a9cecb5272ef44ba7d">00463</a>         <span class="keywordtype">void</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a6e1a89f5005226a9cecb5272ef44ba7d" title="Sets the i-th texture transformation matrix.">setTextureMatrix</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1_c_matrix4.html" title="4x4 matrix. Mostly used as transformation matrix for 3d calculations.">core::matrix4</a>&amp; mat)
<a name="l00464"></a>00464         {
<a name="l00465"></a>00465             <span class="keywordflow">if</span> (i&gt;=<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>)
<a name="l00466"></a>00466                 <span class="keywordflow">return</span>;
<a name="l00467"></a>00467             <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#a0f84f47351a17b2a6041688a425fda1a" title="Sets the texture transformation matrix to mat.">setTextureMatrix</a>(mat);
<a name="l00468"></a>00468         }
<a name="l00469"></a>00469 
<a name="l00471"></a>00471 
<a name="l00473"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a14f940e986da1150678fb0f039355d48">00473</a>         <a class="code" href="classirr_1_1video_1_1_i_texture.html" title="Interface of a Video Driver dependent Texture.">ITexture</a>* <a class="code" href="classirr_1_1video_1_1_s_material.html#a14f940e986da1150678fb0f039355d48" title="Gets the i-th texture.">getTexture</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i)<span class="keyword"> const</span>
<a name="l00474"></a>00474 <span class="keyword">        </span>{
<a name="l00475"></a>00475             <span class="keywordflow">return</span> i &lt; <a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a> ? <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#aee7162444c5ed350375c7a46e1bbe450" title="Texture.">Texture</a> : 0;
<a name="l00476"></a>00476         }
<a name="l00477"></a>00477 
<a name="l00479"></a>00479 
<a name="l00482"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a44dc38e7d4a78434d12ffd02e88e3d60">00482</a>         <span class="keywordtype">void</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a44dc38e7d4a78434d12ffd02e88e3d60" title="Sets the i-th texture.">setTexture</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i, <a class="code" href="classirr_1_1video_1_1_i_texture.html" title="Interface of a Video Driver dependent Texture.">ITexture</a>* tex)
<a name="l00483"></a>00483         {
<a name="l00484"></a>00484             <span class="keywordflow">if</span> (i&gt;=<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>)
<a name="l00485"></a>00485                 <span class="keywordflow">return</span>;
<a name="l00486"></a>00486             <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#aee7162444c5ed350375c7a46e1bbe450" title="Texture.">Texture</a> = tex;
<a name="l00487"></a>00487         }
<a name="l00488"></a>00488 
<a name="l00490"></a>00490 
<a name="l00492"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#a460db947d8e2022c6be895b77a65bbda">00492</a>         <span class="keywordtype">void</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a460db947d8e2022c6be895b77a65bbda" title="Sets the Material flag to the given value.">setFlag</a>(<a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3" title="Material flags.">E_MATERIAL_FLAG</a> flag, <span class="keywordtype">bool</span> value)
<a name="l00493"></a>00493         {
<a name="l00494"></a>00494             <span class="keywordflow">switch</span> (flag)
<a name="l00495"></a>00495             {
<a name="l00496"></a>00496                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3abc620823efed8d6bdbd46c8a0180893a" title="Draw as wireframe or filled triangles? Default: false.">EMF_WIREFRAME</a>:
<a name="l00497"></a>00497                     <a class="code" href="classirr_1_1video_1_1_s_material.html#a6fb428e6e27d0e143cc7da5ea19f8dcc" title="Draw as wireframe or filled triangles? Default: false.">Wireframe</a> = value; <span class="keywordflow">break</span>;
<a name="l00498"></a>00498                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a3726bbddc57e6b37b05481b640eefb07" title="Draw as point cloud or filled triangles? Default: false.">EMF_POINTCLOUD</a>:
<a name="l00499"></a>00499                     <a class="code" href="classirr_1_1video_1_1_s_material.html#a457d243ff8c1cd1777c70349fa55515c" title="Draw as point cloud or filled triangles? Default: false.">PointCloud</a> = value; <span class="keywordflow">break</span>;
<a name="l00500"></a>00500                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a8c9d516b266f04179afb232f0b56e51c" title="Flat or Gouraud shading? Default: true.">EMF_GOURAUD_SHADING</a>:
<a name="l00501"></a>00501                     <a class="code" href="classirr_1_1video_1_1_s_material.html#abf4a3e138d75670ec772fbadb8965e43" title="Flat or Gouraud shading? Default: true.">GouraudShading</a> = value; <span class="keywordflow">break</span>;
<a name="l00502"></a>00502                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3acea597a2692b8415486a464a7f954d34" title="Will this material be lighted? Default: true.">EMF_LIGHTING</a>:
<a name="l00503"></a>00503                     <a class="code" href="classirr_1_1video_1_1_s_material.html#afde014546a3d1da0f91ee06494d48e2b" title="Will this material be lighted? Default: true.">Lighting</a> = value; <span class="keywordflow">break</span>;
<a name="l00504"></a>00504                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a493bb44efafebb48adab96e31eb029e5" title="Is the ZBuffer enabled? Default: true.">EMF_ZBUFFER</a>:
<a name="l00505"></a>00505                     <a class="code" href="classirr_1_1video_1_1_s_material.html#a7e604773b2ac61ab7a15ec9afef0dabf" title="Is the ZBuffer enabled? Default: ECFN_LESSEQUAL.">ZBuffer</a> = value; <span class="keywordflow">break</span>;
<a name="l00506"></a>00506                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a4bc03b7b9dd19e577bf909313ea62510" title="May be written to the zbuffer or is it readonly. Default: true.">EMF_ZWRITE_ENABLE</a>:
<a name="l00507"></a>00507                     <a class="code" href="classirr_1_1video_1_1_s_material.html#a0e6b40e87162a74f2c730af597e20721" title="Is the zbuffer writeable or is it read-only. Default: true.">ZWriteEnable</a> = value; <span class="keywordflow">break</span>;
<a name="l00508"></a>00508                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3ae1d176d0ce05ccc5df9e43ce854393bb" title="Is backface culling enabled? Default: true.">EMF_BACK_FACE_CULLING</a>:
<a name="l00509"></a>00509                     <a class="code" href="classirr_1_1video_1_1_s_material.html#af3fcfcd5c2042a699a3f6b45deac475e" title="Is backface culling enabled? Default: true.">BackfaceCulling</a> = value; <span class="keywordflow">break</span>;
<a name="l00510"></a>00510                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a1b3b367405da4f85738c8dbe7647842d" title="Is frontface culling enabled? Default: false.">EMF_FRONT_FACE_CULLING</a>:
<a name="l00511"></a>00511                     <a class="code" href="classirr_1_1video_1_1_s_material.html#a9e0d15829ae99858ed8442582961149f" title="Is frontface culling enabled? Default: false.">FrontfaceCulling</a> = value; <span class="keywordflow">break</span>;
<a name="l00512"></a>00512                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3afbf2b289d416e70466e4ab05e97b4934" title="Is bilinear filtering enabled? Default: true.">EMF_BILINEAR_FILTER</a>:
<a name="l00513"></a>00513                 {
<a name="l00514"></a>00514                     <span class="keywordflow">for</span> (<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i=0; i&lt;<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>; ++i)
<a name="l00515"></a>00515                         <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].BilinearFilter = value;
<a name="l00516"></a>00516                 }
<a name="l00517"></a>00517                 <span class="keywordflow">break</span>;
<a name="l00518"></a>00518                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a7a2ed21d879b182fbc767a4c20d72eef" title="Is trilinear filtering enabled? Default: false.">EMF_TRILINEAR_FILTER</a>:
<a name="l00519"></a>00519                 {
<a name="l00520"></a>00520                     <span class="keywordflow">for</span> (<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i=0; i&lt;<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>; ++i)
<a name="l00521"></a>00521                         <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].TrilinearFilter = value;
<a name="l00522"></a>00522                 }
<a name="l00523"></a>00523                 <span class="keywordflow">break</span>;
<a name="l00524"></a>00524                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a941c0756b9dc3f987a183a401c6fd4ad" title="Is anisotropic filtering? Default: false.">EMF_ANISOTROPIC_FILTER</a>:
<a name="l00525"></a>00525                 {
<a name="l00526"></a>00526                     <span class="keywordflow">if</span> (value)
<a name="l00527"></a>00527                         <span class="keywordflow">for</span> (<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i=0; i&lt;<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>; ++i)
<a name="l00528"></a>00528                             <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].AnisotropicFilter = 0xFF;
<a name="l00529"></a>00529                     <span class="keywordflow">else</span>
<a name="l00530"></a>00530                         <span class="keywordflow">for</span> (<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i=0; i&lt;<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>; ++i)
<a name="l00531"></a>00531                             <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].AnisotropicFilter = 0;
<a name="l00532"></a>00532                 }
<a name="l00533"></a>00533                 <span class="keywordflow">break</span>;
<a name="l00534"></a>00534                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a5b898e76a9f5e5cfb9c27bee1fbc38be" title="Is fog enabled? Default: false.">EMF_FOG_ENABLE</a>:
<a name="l00535"></a>00535                     <a class="code" href="classirr_1_1video_1_1_s_material.html#aa361f179c15991ec85f0894cec38b880" title="Is fog enabled? Default: false.">FogEnable</a> = value; <span class="keywordflow">break</span>;
<a name="l00536"></a>00536                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a3efe2d4921909a842adfc44dacc74520" title="Normalizes normals. Default: false.">EMF_NORMALIZE_NORMALS</a>:
<a name="l00537"></a>00537                     <a class="code" href="classirr_1_1video_1_1_s_material.html#aeee37deac57bebcd42650bc50aeccc2d" title="Should normals be normalized?">NormalizeNormals</a> = value; <span class="keywordflow">break</span>;
<a name="l00538"></a>00538                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a824f828adf0a1e28c6dcb2f5875371b4" title="Access to all layers texture wrap settings. Overwrites separate layer settings.">EMF_TEXTURE_WRAP</a>:
<a name="l00539"></a>00539                 {
<a name="l00540"></a>00540                     <span class="keywordflow">for</span> (<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i=0; i&lt;<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>; ++i)
<a name="l00541"></a>00541                     {
<a name="l00542"></a>00542                         <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#afb8408075afd8e84c8ff7c46f7a899bb" title="Texture Clamp Mode.">TextureWrapU</a> = (<a class="code" href="namespaceirr_1_1video.html#a5d9933edc5ed7704a7a084f84b39811f" title="Texture coord clamp mode outside [0.0, 1.0].">E_TEXTURE_CLAMP</a>)value;
<a name="l00543"></a>00543                         <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#ab53382f9a43cea8255d0ed48cd5676d1">TextureWrapV</a> = (<a class="code" href="namespaceirr_1_1video.html#a5d9933edc5ed7704a7a084f84b39811f" title="Texture coord clamp mode outside [0.0, 1.0].">E_TEXTURE_CLAMP</a>)value;
<a name="l00544"></a>00544                     }
<a name="l00545"></a>00545                 }
<a name="l00546"></a>00546                 <span class="keywordflow">break</span>;
<a name="l00547"></a>00547                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a9f512ba36b9ff14e1743150fb68196b0" title="AntiAliasing mode.">EMF_ANTI_ALIASING</a>:
<a name="l00548"></a>00548                     <a class="code" href="classirr_1_1video_1_1_s_material.html#a8f42b43ebf214c502e6758b9b608c095" title="Sets the antialiasing mode.">AntiAliasing</a> = value?<a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149da05900b0839b8484a7ff78dbdac7e5dd7" title="Default anti-aliasing mode.">EAAM_SIMPLE</a>:<a class="code" href="namespaceirr_1_1video.html#aa8647c2a52bdd3bc15ee773e8f2b149dab88de631372a6fc318762f20f1095433" title="Use to turn off anti-aliasing for this material.">EAAM_OFF</a>; <span class="keywordflow">break</span>;
<a name="l00549"></a>00549                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a72ede4598946d81f12aa407fb680fc40" title="ColorMask bits, for enabling the color planes.">EMF_COLOR_MASK</a>:
<a name="l00550"></a>00550                     <a class="code" href="classirr_1_1video_1_1_s_material.html#a5a4833b515b453c592224d89356dbc01" title="Defines the enabled color planes.">ColorMask</a> = value?<a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21a674ec773096b1b504b38ed78213e1e38" title="All planes enabled.">ECP_ALL</a>:<a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21aa5afe366b19c967f884d0bd4ca083df9" title="No color enabled.">ECP_NONE</a>; <span class="keywordflow">break</span>;
<a name="l00551"></a>00551                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a8623708e0a7188b1ae04592b7627eb98" title="ColorMaterial enum for vertex color interpretation.">EMF_COLOR_MATERIAL</a>:
<a name="l00552"></a>00552                     <a class="code" href="classirr_1_1video_1_1_s_material.html#a127d0d7a428cb9e5450f2e448b7652ae" title="Defines the interpretation of vertex color in the lighting equation.">ColorMaterial</a> = value?<a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a93dd321bbb0c52003ba44960ccc07afc" title="Use vertex color for diffuse light, this is default.">ECM_DIFFUSE</a>:<a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a1fbe9f2cc7932b308a8a3503a9409a2e" title="Don&#39;t use vertex color for lighting.">ECM_NONE</a>; <span class="keywordflow">break</span>;
<a name="l00553"></a>00553                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a932f4ecd30738a527cfadfaa2b693ccf" title="Flag for enabling/disabling mipmap usage.">EMF_USE_MIP_MAPS</a>:
<a name="l00554"></a>00554                     <a class="code" href="classirr_1_1video_1_1_s_material.html#a98aab3128696d9ad3f0f516153f7bae0" title="Shall mipmaps be used if available.">UseMipMaps</a> = value; <span class="keywordflow">break</span>;
<a name="l00555"></a>00555                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3ab9cbb5be402278cf0276da84acd3da14" title="Flag for blend operation.">EMF_BLEND_OPERATION</a>:
<a name="l00556"></a>00556                     <a class="code" href="classirr_1_1video_1_1_s_material.html#afbef5b333fd3af57649cf11ab575fa26" title="Store the blend operation of choice.">BlendOperation</a> = value?<a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fac1bcb9f240765e34102c22b6bab0ffea" title="Default blending adds the color values.">EBO_ADD</a>:<a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa0eae3da7a67fbce9190da69e23e1adce" title="No blending happens.">EBO_NONE</a>; <span class="keywordflow">break</span>;
<a name="l00557"></a>00557                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3abfa9451318b91a44eae6a20b5d91a4f8" title="Flag for polygon offset.">EMF_POLYGON_OFFSET</a>:
<a name="l00558"></a>00558                     <a class="code" href="classirr_1_1video_1_1_s_material.html#afa24a258ca0ca5eff3b66a3f8aa04462" title="Factor specifying how far the polygon offset should be made.">PolygonOffsetFactor</a> = value?1:0;
<a name="l00559"></a>00559                     <a class="code" href="classirr_1_1video_1_1_s_material.html#ab3da2285d0e74fc99eafdd8944ea4eb8" title="Flag defining the direction the polygon offset is applied to.">PolygonOffsetDirection</a> = <a class="code" href="namespaceirr_1_1video.html#a812b866b910c946f5bc813f8eab31144a73dcec6718742ff2631ab7ca25685b32" title="Push pixel towards the far plane, away from the eye.">EPO_BACK</a>;
<a name="l00560"></a>00560                     <span class="keywordflow">break</span>;
<a name="l00561"></a>00561                 <span class="keywordflow">default</span>:
<a name="l00562"></a>00562                     <span class="keywordflow">break</span>;
<a name="l00563"></a>00563             }
<a name="l00564"></a>00564         }
<a name="l00565"></a>00565 
<a name="l00567"></a>00567 
<a name="l00569"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#ab8b10dbd364b03745e6708a41b59e9e9">00569</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#ab8b10dbd364b03745e6708a41b59e9e9" title="Gets the Material flag.">getFlag</a>(<a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3" title="Material flags.">E_MATERIAL_FLAG</a> flag)<span class="keyword"> const</span>
<a name="l00570"></a>00570 <span class="keyword">        </span>{
<a name="l00571"></a>00571             <span class="keywordflow">switch</span> (flag)
<a name="l00572"></a>00572             {
<a name="l00573"></a>00573                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3abc620823efed8d6bdbd46c8a0180893a" title="Draw as wireframe or filled triangles? Default: false.">EMF_WIREFRAME</a>:
<a name="l00574"></a>00574                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a6fb428e6e27d0e143cc7da5ea19f8dcc" title="Draw as wireframe or filled triangles? Default: false.">Wireframe</a>;
<a name="l00575"></a>00575                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a3726bbddc57e6b37b05481b640eefb07" title="Draw as point cloud or filled triangles? Default: false.">EMF_POINTCLOUD</a>:
<a name="l00576"></a>00576                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a457d243ff8c1cd1777c70349fa55515c" title="Draw as point cloud or filled triangles? Default: false.">PointCloud</a>;
<a name="l00577"></a>00577                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a8c9d516b266f04179afb232f0b56e51c" title="Flat or Gouraud shading? Default: true.">EMF_GOURAUD_SHADING</a>:
<a name="l00578"></a>00578                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#abf4a3e138d75670ec772fbadb8965e43" title="Flat or Gouraud shading? Default: true.">GouraudShading</a>;
<a name="l00579"></a>00579                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3acea597a2692b8415486a464a7f954d34" title="Will this material be lighted? Default: true.">EMF_LIGHTING</a>:
<a name="l00580"></a>00580                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#afde014546a3d1da0f91ee06494d48e2b" title="Will this material be lighted? Default: true.">Lighting</a>;
<a name="l00581"></a>00581                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a493bb44efafebb48adab96e31eb029e5" title="Is the ZBuffer enabled? Default: true.">EMF_ZBUFFER</a>:
<a name="l00582"></a>00582                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a7e604773b2ac61ab7a15ec9afef0dabf" title="Is the ZBuffer enabled? Default: ECFN_LESSEQUAL.">ZBuffer</a>!=<a class="code" href="namespaceirr_1_1video.html#af5f3986e1d1be0f8d9aca55130ff5878a506fee7d9b0132be08b01b28495ed63c" title="Test never succeeds, this equals disable.">ECFN_NEVER</a>;
<a name="l00583"></a>00583                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a4bc03b7b9dd19e577bf909313ea62510" title="May be written to the zbuffer or is it readonly. Default: true.">EMF_ZWRITE_ENABLE</a>:
<a name="l00584"></a>00584                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a0e6b40e87162a74f2c730af597e20721" title="Is the zbuffer writeable or is it read-only. Default: true.">ZWriteEnable</a>;
<a name="l00585"></a>00585                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3ae1d176d0ce05ccc5df9e43ce854393bb" title="Is backface culling enabled? Default: true.">EMF_BACK_FACE_CULLING</a>:
<a name="l00586"></a>00586                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#af3fcfcd5c2042a699a3f6b45deac475e" title="Is backface culling enabled? Default: true.">BackfaceCulling</a>;
<a name="l00587"></a>00587                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a1b3b367405da4f85738c8dbe7647842d" title="Is frontface culling enabled? Default: false.">EMF_FRONT_FACE_CULLING</a>:
<a name="l00588"></a>00588                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a9e0d15829ae99858ed8442582961149f" title="Is frontface culling enabled? Default: false.">FrontfaceCulling</a>;
<a name="l00589"></a>00589                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3afbf2b289d416e70466e4ab05e97b4934" title="Is bilinear filtering enabled? Default: true.">EMF_BILINEAR_FILTER</a>:
<a name="l00590"></a>00590                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[0].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#a72b122a636971204922d399ec6c0e8ac" title="Is bilinear filtering enabled? Default: true.">BilinearFilter</a>;
<a name="l00591"></a>00591                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a7a2ed21d879b182fbc767a4c20d72eef" title="Is trilinear filtering enabled? Default: false.">EMF_TRILINEAR_FILTER</a>:
<a name="l00592"></a>00592                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[0].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#ad1b093b1a8e26cb10156a02ac78bdf67" title="Is trilinear filtering enabled? Default: false.">TrilinearFilter</a>;
<a name="l00593"></a>00593                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a941c0756b9dc3f987a183a401c6fd4ad" title="Is anisotropic filtering? Default: false.">EMF_ANISOTROPIC_FILTER</a>:
<a name="l00594"></a>00594                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[0].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#aed142b316a920ec8fc5e0df09d3de3eb" title="Is anisotropic filtering enabled? Default: 0, disabled.">AnisotropicFilter</a>!=0;
<a name="l00595"></a>00595                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a5b898e76a9f5e5cfb9c27bee1fbc38be" title="Is fog enabled? Default: false.">EMF_FOG_ENABLE</a>:
<a name="l00596"></a>00596                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#aa361f179c15991ec85f0894cec38b880" title="Is fog enabled? Default: false.">FogEnable</a>;
<a name="l00597"></a>00597                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a3efe2d4921909a842adfc44dacc74520" title="Normalizes normals. Default: false.">EMF_NORMALIZE_NORMALS</a>:
<a name="l00598"></a>00598                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#aeee37deac57bebcd42650bc50aeccc2d" title="Should normals be normalized?">NormalizeNormals</a>;
<a name="l00599"></a>00599                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a824f828adf0a1e28c6dcb2f5875371b4" title="Access to all layers texture wrap settings. Overwrites separate layer settings.">EMF_TEXTURE_WRAP</a>:
<a name="l00600"></a>00600                     <span class="keywordflow">return</span> !(<a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[0].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#afb8408075afd8e84c8ff7c46f7a899bb" title="Texture Clamp Mode.">TextureWrapU</a> ||
<a name="l00601"></a>00601                             <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[0].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#ab53382f9a43cea8255d0ed48cd5676d1">TextureWrapV</a> ||
<a name="l00602"></a>00602                             <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[1].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#afb8408075afd8e84c8ff7c46f7a899bb" title="Texture Clamp Mode.">TextureWrapU</a> ||
<a name="l00603"></a>00603                             <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[1].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#ab53382f9a43cea8255d0ed48cd5676d1">TextureWrapV</a> ||
<a name="l00604"></a>00604                             <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[2].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#afb8408075afd8e84c8ff7c46f7a899bb" title="Texture Clamp Mode.">TextureWrapU</a> ||
<a name="l00605"></a>00605                             <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[2].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#ab53382f9a43cea8255d0ed48cd5676d1">TextureWrapV</a> ||
<a name="l00606"></a>00606                             <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[3].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#afb8408075afd8e84c8ff7c46f7a899bb" title="Texture Clamp Mode.">TextureWrapU</a> ||
<a name="l00607"></a>00607                             <a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[3].<a class="code" href="classirr_1_1video_1_1_s_material_layer.html#ab53382f9a43cea8255d0ed48cd5676d1">TextureWrapV</a>);
<a name="l00608"></a>00608                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a9f512ba36b9ff14e1743150fb68196b0" title="AntiAliasing mode.">EMF_ANTI_ALIASING</a>:
<a name="l00609"></a>00609                     <span class="keywordflow">return</span> (<a class="code" href="classirr_1_1video_1_1_s_material.html#a8f42b43ebf214c502e6758b9b608c095" title="Sets the antialiasing mode.">AntiAliasing</a>==1);
<a name="l00610"></a>00610                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a72ede4598946d81f12aa407fb680fc40" title="ColorMask bits, for enabling the color planes.">EMF_COLOR_MASK</a>:
<a name="l00611"></a>00611                     <span class="keywordflow">return</span> (<a class="code" href="classirr_1_1video_1_1_s_material.html#a5a4833b515b453c592224d89356dbc01" title="Defines the enabled color planes.">ColorMask</a>!=<a class="code" href="namespaceirr_1_1video.html#aa9f25191ae536c1a4b08ec5334866a21aa5afe366b19c967f884d0bd4ca083df9" title="No color enabled.">ECP_NONE</a>);
<a name="l00612"></a>00612                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a8623708e0a7188b1ae04592b7627eb98" title="ColorMaterial enum for vertex color interpretation.">EMF_COLOR_MATERIAL</a>:
<a name="l00613"></a>00613                     <span class="keywordflow">return</span> (<a class="code" href="classirr_1_1video_1_1_s_material.html#a127d0d7a428cb9e5450f2e448b7652ae" title="Defines the interpretation of vertex color in the lighting equation.">ColorMaterial</a> != <a class="code" href="namespaceirr_1_1video.html#a41af617fc9a691366e4b162cd1cdea78a1fbe9f2cc7932b308a8a3503a9409a2e" title="Don&#39;t use vertex color for lighting.">ECM_NONE</a>);
<a name="l00614"></a>00614                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3a932f4ecd30738a527cfadfaa2b693ccf" title="Flag for enabling/disabling mipmap usage.">EMF_USE_MIP_MAPS</a>:
<a name="l00615"></a>00615                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a98aab3128696d9ad3f0f516153f7bae0" title="Shall mipmaps be used if available.">UseMipMaps</a>;
<a name="l00616"></a>00616                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3ab9cbb5be402278cf0276da84acd3da14" title="Flag for blend operation.">EMF_BLEND_OPERATION</a>:
<a name="l00617"></a>00617                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#afbef5b333fd3af57649cf11ab575fa26" title="Store the blend operation of choice.">BlendOperation</a> != <a class="code" href="namespaceirr_1_1video.html#a6d78c1faed23a03e8ef7b7b623bbaf2fa0eae3da7a67fbce9190da69e23e1adce" title="No blending happens.">EBO_NONE</a>;
<a name="l00618"></a>00618                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3abfa9451318b91a44eae6a20b5d91a4f8" title="Flag for polygon offset.">EMF_POLYGON_OFFSET</a>:
<a name="l00619"></a>00619                     <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#afa24a258ca0ca5eff3b66a3f8aa04462" title="Factor specifying how far the polygon offset should be made.">PolygonOffsetFactor</a> != 0;
<a name="l00620"></a>00620             }
<a name="l00621"></a>00621 
<a name="l00622"></a>00622             <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00623"></a>00623         }
<a name="l00624"></a>00624 
<a name="l00626"></a>00626 
<a name="l00628"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#aa509d4f4822d3321aa400bfd8d767d10">00628</a>         <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#aa509d4f4822d3321aa400bfd8d767d10" title="Inequality operator.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">SMaterial</a>&amp; b)<span class="keyword"> const</span>
<a name="l00629"></a>00629 <span class="keyword">        </span>{
<a name="l00630"></a>00630             <span class="keywordtype">bool</span> different =
<a name="l00631"></a>00631                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a" title="Type of the material. Specifies how everything is blended together.">MaterialType</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a" title="Type of the material. Specifies how everything is blended together.">MaterialType</a> ||
<a name="l00632"></a>00632                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a434c189b7c618c66f4d09118d30e6b4b" title="How much ambient light (a global light) is reflected by this material.">AmbientColor</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a434c189b7c618c66f4d09118d30e6b4b" title="How much ambient light (a global light) is reflected by this material.">AmbientColor</a> ||
<a name="l00633"></a>00633                 <a class="code" href="classirr_1_1video_1_1_s_material.html#ac4e1aaf4751f7267eaf255496cc058df" title="How much diffuse light coming from a light source is reflected by this material.">DiffuseColor</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#ac4e1aaf4751f7267eaf255496cc058df" title="How much diffuse light coming from a light source is reflected by this material.">DiffuseColor</a> ||
<a name="l00634"></a>00634                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a005f9acf8855681c21b3e3e7de67306f" title="Light emitted by this material. Default is to emit no light.">EmissiveColor</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a005f9acf8855681c21b3e3e7de67306f" title="Light emitted by this material. Default is to emit no light.">EmissiveColor</a> ||
<a name="l00635"></a>00635                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a253c2acbafe6698e3d16b3e3a1e199ed" title="How much specular light (highlights from a light) is reflected.">SpecularColor</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a253c2acbafe6698e3d16b3e3a1e199ed" title="How much specular light (highlights from a light) is reflected.">SpecularColor</a> ||
<a name="l00636"></a>00636                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a877106a83108db6d1f30a38379d28494" title="Value affecting the size of specular highlights.">Shininess</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a877106a83108db6d1f30a38379d28494" title="Value affecting the size of specular highlights.">Shininess</a> ||
<a name="l00637"></a>00637                 <a class="code" href="classirr_1_1video_1_1_s_material.html#aefe0acce491efa8dedcd2b7cb49f8133" title="Free parameter, dependent on the material type.">MaterialTypeParam</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#aefe0acce491efa8dedcd2b7cb49f8133" title="Free parameter, dependent on the material type.">MaterialTypeParam</a> ||
<a name="l00638"></a>00638                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a3c4af8e0325a95ff78c3066a497161de" title="Second free parameter, dependent on the material type.">MaterialTypeParam2</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a3c4af8e0325a95ff78c3066a497161de" title="Second free parameter, dependent on the material type.">MaterialTypeParam2</a> ||
<a name="l00639"></a>00639                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a5b147b8e6fa53c54d3f33e44982220a1" title="Thickness of non-3dimensional elements such as lines and points.">Thickness</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a5b147b8e6fa53c54d3f33e44982220a1" title="Thickness of non-3dimensional elements such as lines and points.">Thickness</a> ||
<a name="l00640"></a>00640                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a6fb428e6e27d0e143cc7da5ea19f8dcc" title="Draw as wireframe or filled triangles? Default: false.">Wireframe</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a6fb428e6e27d0e143cc7da5ea19f8dcc" title="Draw as wireframe or filled triangles? Default: false.">Wireframe</a> ||
<a name="l00641"></a>00641                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a457d243ff8c1cd1777c70349fa55515c" title="Draw as point cloud or filled triangles? Default: false.">PointCloud</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a457d243ff8c1cd1777c70349fa55515c" title="Draw as point cloud or filled triangles? Default: false.">PointCloud</a> ||
<a name="l00642"></a>00642                 <a class="code" href="classirr_1_1video_1_1_s_material.html#abf4a3e138d75670ec772fbadb8965e43" title="Flat or Gouraud shading? Default: true.">GouraudShading</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#abf4a3e138d75670ec772fbadb8965e43" title="Flat or Gouraud shading? Default: true.">GouraudShading</a> ||
<a name="l00643"></a>00643                 <a class="code" href="classirr_1_1video_1_1_s_material.html#afde014546a3d1da0f91ee06494d48e2b" title="Will this material be lighted? Default: true.">Lighting</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#afde014546a3d1da0f91ee06494d48e2b" title="Will this material be lighted? Default: true.">Lighting</a> ||
<a name="l00644"></a>00644                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a7e604773b2ac61ab7a15ec9afef0dabf" title="Is the ZBuffer enabled? Default: ECFN_LESSEQUAL.">ZBuffer</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a7e604773b2ac61ab7a15ec9afef0dabf" title="Is the ZBuffer enabled? Default: ECFN_LESSEQUAL.">ZBuffer</a> ||
<a name="l00645"></a>00645                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a0e6b40e87162a74f2c730af597e20721" title="Is the zbuffer writeable or is it read-only. Default: true.">ZWriteEnable</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a0e6b40e87162a74f2c730af597e20721" title="Is the zbuffer writeable or is it read-only. Default: true.">ZWriteEnable</a> ||
<a name="l00646"></a>00646                 <a class="code" href="classirr_1_1video_1_1_s_material.html#af3fcfcd5c2042a699a3f6b45deac475e" title="Is backface culling enabled? Default: true.">BackfaceCulling</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#af3fcfcd5c2042a699a3f6b45deac475e" title="Is backface culling enabled? Default: true.">BackfaceCulling</a> ||
<a name="l00647"></a>00647                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a9e0d15829ae99858ed8442582961149f" title="Is frontface culling enabled? Default: false.">FrontfaceCulling</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a9e0d15829ae99858ed8442582961149f" title="Is frontface culling enabled? Default: false.">FrontfaceCulling</a> ||
<a name="l00648"></a>00648                 <a class="code" href="classirr_1_1video_1_1_s_material.html#aa361f179c15991ec85f0894cec38b880" title="Is fog enabled? Default: false.">FogEnable</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#aa361f179c15991ec85f0894cec38b880" title="Is fog enabled? Default: false.">FogEnable</a> ||
<a name="l00649"></a>00649                 <a class="code" href="classirr_1_1video_1_1_s_material.html#aeee37deac57bebcd42650bc50aeccc2d" title="Should normals be normalized?">NormalizeNormals</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#aeee37deac57bebcd42650bc50aeccc2d" title="Should normals be normalized?">NormalizeNormals</a> ||
<a name="l00650"></a>00650                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a8f42b43ebf214c502e6758b9b608c095" title="Sets the antialiasing mode.">AntiAliasing</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a8f42b43ebf214c502e6758b9b608c095" title="Sets the antialiasing mode.">AntiAliasing</a> ||
<a name="l00651"></a>00651                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a5a4833b515b453c592224d89356dbc01" title="Defines the enabled color planes.">ColorMask</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a5a4833b515b453c592224d89356dbc01" title="Defines the enabled color planes.">ColorMask</a> ||
<a name="l00652"></a>00652                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a127d0d7a428cb9e5450f2e448b7652ae" title="Defines the interpretation of vertex color in the lighting equation.">ColorMaterial</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a127d0d7a428cb9e5450f2e448b7652ae" title="Defines the interpretation of vertex color in the lighting equation.">ColorMaterial</a> ||
<a name="l00653"></a>00653                 <a class="code" href="classirr_1_1video_1_1_s_material.html#afbef5b333fd3af57649cf11ab575fa26" title="Store the blend operation of choice.">BlendOperation</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#afbef5b333fd3af57649cf11ab575fa26" title="Store the blend operation of choice.">BlendOperation</a> ||
<a name="l00654"></a>00654                 <a class="code" href="classirr_1_1video_1_1_s_material.html#afa24a258ca0ca5eff3b66a3f8aa04462" title="Factor specifying how far the polygon offset should be made.">PolygonOffsetFactor</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#afa24a258ca0ca5eff3b66a3f8aa04462" title="Factor specifying how far the polygon offset should be made.">PolygonOffsetFactor</a> ||
<a name="l00655"></a>00655                 <a class="code" href="classirr_1_1video_1_1_s_material.html#ab3da2285d0e74fc99eafdd8944ea4eb8" title="Flag defining the direction the polygon offset is applied to.">PolygonOffsetDirection</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#ab3da2285d0e74fc99eafdd8944ea4eb8" title="Flag defining the direction the polygon offset is applied to.">PolygonOffsetDirection</a> ||
<a name="l00656"></a>00656                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a98aab3128696d9ad3f0f516153f7bae0" title="Shall mipmaps be used if available.">UseMipMaps</a> != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a98aab3128696d9ad3f0f516153f7bae0" title="Shall mipmaps be used if available.">UseMipMaps</a>;
<a name="l00657"></a>00657             <span class="keywordflow">for</span> (<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> i=0; (i&lt;<a class="code" href="namespaceirr_1_1video.html#ad41ca808200ca2e8e9d9326355020052" title="Maximum number of texture an SMaterial can have.">MATERIAL_MAX_TEXTURES</a>) &amp;&amp; !different; ++i)
<a name="l00658"></a>00658             {
<a name="l00659"></a>00659                 different |= (<a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i] != b.<a class="code" href="classirr_1_1video_1_1_s_material.html#a2a722a68bcc2cb3e779882785a409890" title="Texture layer array.">TextureLayer</a>[i]);
<a name="l00660"></a>00660             }
<a name="l00661"></a>00661             <span class="keywordflow">return</span> different;
<a name="l00662"></a>00662         }
<a name="l00663"></a>00663 
<a name="l00665"></a>00665 
<a name="l00667"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#ad6427ceb4e1a89a186aeb5030756c32c">00667</a>         <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#ad6427ceb4e1a89a186aeb5030756c32c" title="Equality operator.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">SMaterial</a>&amp; b)<span class="keyword"> const</span>
<a name="l00668"></a>00668 <span class="keyword">        </span>{ <span class="keywordflow">return</span> !(b!=*<span class="keyword">this</span>); }
<a name="l00669"></a>00669 
<a name="l00670"></a><a class="code" href="classirr_1_1video_1_1_s_material.html#ac2bee0b84bfbc0b17571574ea914ca8a">00670</a>         <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#ac2bee0b84bfbc0b17571574ea914ca8a">isTransparent</a>()<span class="keyword"> const</span>
<a name="l00671"></a>00671 <span class="keyword">        </span>{
<a name="l00672"></a>00672             <span class="keywordflow">return</span> <a class="code" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a" title="Type of the material. Specifies how everything is blended together.">MaterialType</a>==<a class="code" href="namespaceirr_1_1video.html#ac8e9b6c66f7cebabd1a6d30cbc5430f1a1b5a814c4466aca2943ff056003a50d1" title="A transparent material.">EMT_TRANSPARENT_ADD_COLOR</a> ||
<a name="l00673"></a>00673                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a" title="Type of the material. Specifies how everything is blended together.">MaterialType</a>==<a class="code" href="namespaceirr_1_1video.html#ac8e9b6c66f7cebabd1a6d30cbc5430f1ac08aa3715ad41281472202107a81f736" title="Makes the material transparent based on the texture alpha channel.">EMT_TRANSPARENT_ALPHA_CHANNEL</a> ||
<a name="l00674"></a>00674                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a" title="Type of the material. Specifies how everything is blended together.">MaterialType</a>==<a class="code" href="namespaceirr_1_1video.html#ac8e9b6c66f7cebabd1a6d30cbc5430f1a26529b1cf18ec4d8073809f6bd15ebbb" title="Makes the material transparent based on the vertex alpha value.">EMT_TRANSPARENT_VERTEX_ALPHA</a> ||
<a name="l00675"></a>00675                 <a class="code" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a" title="Type of the material. Specifies how everything is blended together.">MaterialType</a>==<a class="code" href="namespaceirr_1_1video.html#ac8e9b6c66f7cebabd1a6d30cbc5430f1a8b074c837c82178daa178a3a7321a32d" title="A transparent reflecting material with an optional additional non reflecting texture layer...">EMT_TRANSPARENT_REFLECTION_2_LAYER</a>;
<a name="l00676"></a>00676         }
<a name="l00677"></a>00677     };
<a name="l00678"></a>00678 
<a name="l00680"></a>00680     <a class="code" href="_irr_compile_config_8h.html#aa93137544a73eaa2563931a1e665862d" title="Set FPU settings.">IRRLICHT_API</a> <span class="keyword">extern</span> SMaterial <a class="code" href="namespaceirr_1_1video.html#a6c7a0046dcf64bb165eca2af94045a61" title="global const identity Material">IdentityMaterial</a>;
<a name="l00681"></a>00681 
<a name="l00682"></a>00682 } <span class="comment">// end namespace video</span>
<a name="l00683"></a>00683 } <span class="comment">// end namespace irr</span>
<a name="l00684"></a>00684 
<a name="l00685"></a>00685 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_s_material_8h.html">SMaterial.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">
<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht 
Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:40 for Irrlicht 3D Engine by
<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>