aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_video_driver.html
blob: a6afc35e02a6ef806f451f454df0cba03090a851 (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
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
<!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: irr::video::IVideoDriver Class Reference</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('classirr_1_1video_1_1_i_video_driver.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">irr::video::IVideoDriver Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="irr::video::IVideoDriver" --><!-- doxytag: inherits="irr::IReferenceCounted" -->
<p>Interface to driver which is able to perform 2d and 3d graphics functions.  
 <a href="classirr_1_1video_1_1_i_video_driver.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for irr::video::IVideoDriver:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="classirr_1_1video_1_1_i_video_driver.png" usemap="#irr::video::IVideoDriver_map" alt=""/>
  <map id="irr::video::IVideoDriver_map" name="irr::video::IVideoDriver_map">
<area href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine." alt="irr::IReferenceCounted" shape="rect" coords="0,0,140,24"/>
</map>
 </div></div>

<p><a href="classirr_1_1video_1_1_i_video_driver-members.html">List of all members.</a></p>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li>virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a813a39352eae26c4d30b5882618639be">addDynamicLight</a> (const <a class="el" href="structirr_1_1video_1_1_s_light.html">SLight</a> &amp;light)=0
<li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9479ae15f0e26eaaf15c9420ff289b6d">addExternalImageLoader</a> (<a class="el" href="classirr_1_1video_1_1_i_image_loader.html">IImageLoader</a> *loader)=0
<dl class="el"><dd class="mdescRight">Adds an external image loader to the engine.  <a href="#a9479ae15f0e26eaaf15c9420ff289b6d"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a56160e0d88346e04db921fbe4635a7ae">addExternalImageWriter</a> (<a class="el" href="classirr_1_1video_1_1_i_image_writer.html">IImageWriter</a> *writer)=0
<dl class="el"><dd class="mdescRight">Adds an external image writer to the engine.  <a href="#a56160e0d88346e04db921fbe4635a7ae"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a0dfc3a7168f3a73a6f4323b579f03ff6">addMaterialRenderer</a> (<a class="el" href="classirr_1_1video_1_1_i_material_renderer.html">IMaterialRenderer</a> *renderer, const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> *name=0)=0
<dl class="el"><dd class="mdescRight">Adds a new material renderer to the video device.  <a href="#a0dfc3a7168f3a73a6f4323b579f03ff6"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a07f15814e039772ee43be272e97d1633">addOcclusionQuery</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *node, const <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">scene::IMesh</a> *mesh=0)=0
<dl class="el"><dd class="mdescRight">Create occlusion query.  <a href="#a07f15814e039772ee43be272e97d1633"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aa704cece826ee37d02e4bb054b0b8797">addRenderTargetTexture</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;size, const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;name=&quot;rt&quot;, const <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> format=ECF_UNKNOWN)=0
<dl class="el"><dd class="mdescRight">Adds a new render target texture to the texture cache.  <a href="#aa704cece826ee37d02e4bb054b0b8797"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a8c02ee280bb738cdf38b77e7a798244e">addTexture</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;size, const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;name, <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> format=ECF_A8R8G8B8)=0
<dl class="el"><dd class="mdescRight">Creates an empty texture of specified size.  <a href="#a8c02ee280bb738cdf38b77e7a798244e"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#abfebeb09a692c0d6b4741d952d97668e">addTexture</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;name, <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *image, void *mipmapData=0)=0
<dl class="el"><dd class="mdescRight">Creates a texture from an <a class="el" href="classirr_1_1video_1_1_i_image.html" title="Interface for software image data.">IImage</a>.  <a href="#abfebeb09a692c0d6b4741d952d97668e"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a015b8f2f18c260a00a858181be1e9945">beginScene</a> (bool backBuffer=true, bool zBuffer=true, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255, 0, 0, 0), const <a class="el" href="structirr_1_1video_1_1_s_exposed_video_data.html">SExposedVideoData</a> &amp;videoData=<a class="el" href="structirr_1_1video_1_1_s_exposed_video_data.html">SExposedVideoData</a>(), <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *sourceRect=0)=0
<dl class="el"><dd class="mdescRight">Applications must call this method before performing any rendering.  <a href="#a015b8f2f18c260a00a858181be1e9945"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a4ba84ee992939fc913d4935caffce87b">checkDriverReset</a> ()=0
<dl class="el"><dd class="mdescRight">Check if the driver was recently reset.  <a href="#a4ba84ee992939fc913d4935caffce87b"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a2036fe0a27dbd1a123ff5aedb07373a5">clearZBuffer</a> ()=0
<dl class="el"><dd class="mdescRight">Clears the ZBuffer.  <a href="#a2036fe0a27dbd1a123ff5aedb07373a5"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#afb541967dbb2def61997f1d69f68d5d1">convertColor</a> (const void *sP, <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> sF, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> sN, void *dP, <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> dF) const =0
<dl class="el"><dd class="mdescRight">Color conversion convenience function.  <a href="#afb541967dbb2def61997f1d69f68d5d1"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a4e496fec6b4b0b70d2e95b2576eaffee">createAttributesFromMaterial</a> (const <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &amp;material, <a class="el" href="structirr_1_1io_1_1_s_attribute_read_write_options.html">io::SAttributeReadWriteOptions</a> *options=0)=0
<dl class="el"><dd class="mdescRight">Creates material attributes list from a material.  <a href="#a4e496fec6b4b0b70d2e95b2576eaffee"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aee1578fdd92118665755f31c0dd1dbb5">createImage</a> (<a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> format, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;size)=0
<dl class="el"><dd class="mdescRight">Creates an empty software image.  <a href="#aee1578fdd92118665755f31c0dd1dbb5"></a><br/></dl><li>virtual _IRR_DEPRECATED_ <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af92ef735bc8c755f5c201a52a70d05e8">createImage</a> (<a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> format, <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *imageToCopy)=0
<dl class="el"><dd class="mdescRight">Creates a software image by converting it to given format from another image.  <a href="#af92ef735bc8c755f5c201a52a70d05e8"></a><br/></dl><li>virtual _IRR_DEPRECATED_ <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aa06059abf33e473d7af77e1fbc2b0f75">createImage</a> (<a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *imageToCopy, const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;pos, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;size)=0
<dl class="el"><dd class="mdescRight">Creates a software image from a part of another image.  <a href="#aa06059abf33e473d7af77e1fbc2b0f75"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a38e722e8dd2d750907e9e059c3dc8fae">createImage</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *texture, const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;pos, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;size)=0
<dl class="el"><dd class="mdescRight">Creates a software image from a part of a texture.  <a href="#a38e722e8dd2d750907e9e059c3dc8fae"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a425d60f2fcad42d8a79c33c587f41a06">createImageFromData</a> (<a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> format, const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;size, void *data, bool ownForeignMemory=false, bool deleteMemory=true)=0
<dl class="el"><dd class="mdescRight">Creates a software image from a byte array.  <a href="#a425d60f2fcad42d8a79c33c587f41a06"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ac5b4c13f64d96d27fa27f52b68f77b8c">createImageFromFile</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;filename)=0
<dl class="el"><dd class="mdescRight">Creates a software image from a file.  <a href="#ac5b4c13f64d96d27fa27f52b68f77b8c"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a322c41fa08c1da9de4633cf8a1e68607">createImageFromFile</a> (<a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *file)=0
<dl class="el"><dd class="mdescRight">Creates a software image from a file.  <a href="#a322c41fa08c1da9de4633cf8a1e68607"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a50db0e36d406089167facf70b2eb4706">createScreenShot</a> (<a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">video::ECOLOR_FORMAT</a> format=video::ECF_UNKNOWN, <a class="el" href="namespaceirr_1_1video.html#a5b61a3f2bd5d458f76f2eb20b0f40972">video::E_RENDER_TARGET</a> target=video::ERT_FRAME_BUFFER)=0
<dl class="el"><dd class="mdescRight">Make a screenshot of the last rendered frame.  <a href="#a50db0e36d406089167facf70b2eb4706"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab1bd29567ef6eb31a43bebe04c47eb5e">deleteAllDynamicLights</a> ()=0
<dl class="el"><dd class="mdescRight">Deletes all dynamic lights which were previously added with <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a813a39352eae26c4d30b5882618639be">addDynamicLight()</a>.  <a href="#ab1bd29567ef6eb31a43bebe04c47eb5e"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aea64c03fc205f23ec7575884fb7309c8">disableFeature</a> (<a class="el" href="namespaceirr_1_1video.html#a57b1721e42a79c5dcf8e830e3621e08f">E_VIDEO_DRIVER_FEATURE</a> feature, bool flag=true)=0
<dl class="el"><dd class="mdescRight">Disable a feature of the driver.  <a href="#aea64c03fc205f23ec7575884fb7309c8"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ac1f12aefefb24414e03876bca942fb02">draw2DImage</a> (const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;destPos)=0
<dl class="el"><dd class="mdescRight">Draws a 2d image without any special effects.  <a href="#ac1f12aefefb24414e03876bca942fb02"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a167d3a5e2ea5804bfa9ba9e526bbcdb3">draw2DImage</a> (const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;destPos, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;sourceRect, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *clipRect=0, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255, 255, 255, 255), bool useAlphaChannelOfTexture=false)=0
<dl class="el"><dd class="mdescRight">Draws a 2d image using a color.  <a href="#a167d3a5e2ea5804bfa9ba9e526bbcdb3"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a49258725a8c36dbb22d073acf7927354">draw2DImage</a> (const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;destRect, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;sourceRect, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *clipRect=0, const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> *const colors=0, bool useAlphaChannelOfTexture=false)=0
<dl class="el"><dd class="mdescRight">Draws a part of the texture into the rectangle. Note that colors must be an array of 4 colors if used.  <a href="#a49258725a8c36dbb22d073acf7927354"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a1b7647e900a56f23abb0809fd533617e">draw2DImageBatch</a> (const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;pos, const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &gt; &amp;sourceRects, const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;indices, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> kerningWidth=0, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *clipRect=0, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255, 255, 255, 255), bool useAlphaChannelOfTexture=false)=0
<dl class="el"><dd class="mdescRight">Draws a set of 2d images, using a color and the alpha channel of the texture.  <a href="#a1b7647e900a56f23abb0809fd533617e"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a6485a684c4dfa4d0f94d0edfb46439a6">draw2DImageBatch</a> (const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &gt; &amp;positions, const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &gt; &amp;sourceRects, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *clipRect=0, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255, 255, 255, 255), bool useAlphaChannelOfTexture=false)=0
<dl class="el"><dd class="mdescRight">Draws a set of 2d images, using a color and the alpha channel of the texture.  <a href="#a6485a684c4dfa4d0f94d0edfb46439a6"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a7b5388e319a0ae1340c3d81db02dd959">draw2DLine</a> (const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;start, const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;end, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255, 255, 255, 255))=0
<dl class="el"><dd class="mdescRight">Draws a 2d line. Both start and end will be included in coloring.  <a href="#a7b5388e319a0ae1340c3d81db02dd959"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aaf1318379f3d70c9347cfa853b944ad4">draw2DPolygon</a> (core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; center, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> radius, <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(100, 255, 255, 255), <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> vertexCount=10)=0
<dl class="el"><dd class="mdescRight">Draws a non filled concyclic regular 2d polyon.  <a href="#aaf1318379f3d70c9347cfa853b944ad4"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ac7f452fae0ef8abe01768a78ba7033b7">draw2DRectangle</a> (<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;pos, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *clip=0)=0
<dl class="el"><dd class="mdescRight">Draws a 2d rectangle.  <a href="#ac7f452fae0ef8abe01768a78ba7033b7"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a83bb3c30be6c9f960a4d8b625d7dee8c">draw2DRectangle</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;pos, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> colorLeftUp, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> colorRightUp, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> colorLeftDown, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> colorRightDown, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *clip=0)=0
<dl class="el"><dd class="mdescRight">Draws a 2d rectangle with a gradient.  <a href="#a83bb3c30be6c9f960a4d8b625d7dee8c"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a65efe36e19f0570988848175a8af7bd1">draw2DRectangleOutline</a> (const <a class="el" href="namespaceirr_1_1core.html#a628365d56b9d3ca9c887cd7f651f7b45">core::recti</a> &amp;pos, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255, 255, 255, 255))=0
<dl class="el"><dd class="mdescRight">Draws the outline of a 2D rectangle.  <a href="#a65efe36e19f0570988848175a8af7bd1"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a34845920167c68578a78f842af54d140">draw2DVertexPrimitiveList</a> (const void *vertices, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const void *indexList, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> primCount, <a class="el" href="namespaceirr_1_1video.html#a0e3b59e025e0d0db0ed2ee0ce904deac">E_VERTEX_TYPE</a> vType=EVT_STANDARD, <a class="el" href="namespaceirr_1_1scene.html#a5d7de82f2169761194b2f44d95cdc1dc">scene::E_PRIMITIVE_TYPE</a> pType=scene::EPT_TRIANGLES, <a class="el" href="namespaceirr_1_1video.html#af152a1edea2579f0517e0049525acb55">E_INDEX_TYPE</a> iType=EIT_16BIT)=0
<dl class="el"><dd class="mdescRight">Draws a vertex primitive list in 2d.  <a href="#a34845920167c68578a78f842af54d140"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a7773fce9358ee81db5484b2d21015570">draw3DBox</a> (const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;box, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255, 255, 255, 255))=0
<dl class="el"><dd class="mdescRight">Draws a 3d axis aligned box.  <a href="#a7773fce9358ee81db5484b2d21015570"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a5e4e03dca1720f3d2019b73a4eebb5e6">draw3DLine</a> (const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;start, const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;end, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255, 255, 255, 255))=0
<dl class="el"><dd class="mdescRight">Draws a 3d line.  <a href="#a5e4e03dca1720f3d2019b73a4eebb5e6"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ac5eb03a333a43d17278dad31be19efca">draw3DTriangle</a> (const <a class="el" href="namespaceirr_1_1core.html#a1112835405bbec5dadf031dc7934e7d0">core::triangle3df</a> &amp;triangle, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255, 255, 255, 255))=0
<dl class="el"><dd class="mdescRight">Draws a 3d triangle.  <a href="#ac5eb03a333a43d17278dad31be19efca"></a><br/></dl><li>void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a8303b9a0f3e941d07d8cdc70c8fc1346">drawIndexedTriangleFan</a> (const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex.html">S3DVertex</a> *vertices, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *indexList, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> triangleCount)
<dl class="el"><dd class="mdescRight">Draws an indexed triangle fan.  <a href="#a8303b9a0f3e941d07d8cdc70c8fc1346"></a><br/></dl><li>void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ae0b8902326a78075ad1b12d0cfc722aa">drawIndexedTriangleFan</a> (const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html">S3DVertex2TCoords</a> *vertices, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *indexList, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> triangleCount)
<dl class="el"><dd class="mdescRight">Draws an indexed triangle fan.  <a href="#ae0b8902326a78075ad1b12d0cfc722aa"></a><br/></dl><li>void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a7fbc69e35e987b4d3882e51a62b8030b">drawIndexedTriangleFan</a> (const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html">S3DVertexTangents</a> *vertices, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *indexList, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> triangleCount)
<dl class="el"><dd class="mdescRight">Draws an indexed triangle fan.  <a href="#a7fbc69e35e987b4d3882e51a62b8030b"></a><br/></dl><li>void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a55eba6140492faaed9dca7e16ad8dde2">drawIndexedTriangleList</a> (const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex.html">S3DVertex</a> *vertices, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *indexList, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> triangleCount)
<dl class="el"><dd class="mdescRight">Draws an indexed triangle list.  <a href="#a55eba6140492faaed9dca7e16ad8dde2"></a><br/></dl><li>void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a041d8028bc10f33c6707a3d1ddbdea4d">drawIndexedTriangleList</a> (const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html">S3DVertex2TCoords</a> *vertices, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *indexList, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> triangleCount)
<dl class="el"><dd class="mdescRight">Draws an indexed triangle list.  <a href="#a041d8028bc10f33c6707a3d1ddbdea4d"></a><br/></dl><li>void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a09777bd8ca7a25e6f6134369e5dfb680">drawIndexedTriangleList</a> (const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html">S3DVertexTangents</a> *vertices, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *indexList, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> triangleCount)
<dl class="el"><dd class="mdescRight">Draws an indexed triangle list.  <a href="#a09777bd8ca7a25e6f6134369e5dfb680"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab09507d0b00502912b75e31d2c344e5c">drawMeshBuffer</a> (const <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">scene::IMeshBuffer</a> *mb)=0
<dl class="el"><dd class="mdescRight">Draws a mesh buffer.  <a href="#ab09507d0b00502912b75e31d2c344e5c"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a1c2ba3fb555e3c7622f3124799440226">drawMeshBufferNormals</a> (const <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">scene::IMeshBuffer</a> *mb, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> length=10.f, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=0xffffffff)=0
<dl class="el"><dd class="mdescRight">Draws normals of a mesh buffer.  <a href="#a1c2ba3fb555e3c7622f3124799440226"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a6567ced74ed6dc8cb1b325493ae7a093">drawPixel</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> x, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> y, const <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> &amp;color)=0
<dl class="el"><dd class="mdescRight">Draws a pixel.  <a href="#a6567ced74ed6dc8cb1b325493ae7a093"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a985ea57c5cf23b7774044f6ed9f96579">drawStencilShadow</a> (bool clearStencilBuffer=false, <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> leftUpEdge=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(255, 0, 0, 0), <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> rightUpEdge=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(255, 0, 0, 0), <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> leftDownEdge=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(255, 0, 0, 0), <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> rightDownEdge=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(255, 0, 0, 0))=0
<dl class="el"><dd class="mdescRight">Fills the stencil shadow with color.  <a href="#a985ea57c5cf23b7774044f6ed9f96579"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ae340fe71939b7c1043071507f3330cad">drawStencilShadowVolume</a> (const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &gt; &amp;triangles, bool zfail=true, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> debugDataVisible=0)=0
<dl class="el"><dd class="mdescRight">Draws a shadow volume into the stencil buffer.  <a href="#ae340fe71939b7c1043071507f3330cad"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab18ac3ba8b6dbaa4437c5eb3b1e2f4fb">drawVertexPrimitiveList</a> (const void *vertices, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const void *indexList, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> primCount, <a class="el" href="namespaceirr_1_1video.html#a0e3b59e025e0d0db0ed2ee0ce904deac">E_VERTEX_TYPE</a> vType=EVT_STANDARD, <a class="el" href="namespaceirr_1_1scene.html#a5d7de82f2169761194b2f44d95cdc1dc">scene::E_PRIMITIVE_TYPE</a> pType=scene::EPT_TRIANGLES, <a class="el" href="namespaceirr_1_1video.html#af152a1edea2579f0517e0049525acb55">E_INDEX_TYPE</a> iType=EIT_16BIT)=0
<dl class="el"><dd class="mdescRight">Draws a vertex primitive list.  <a href="#ab18ac3ba8b6dbaa4437c5eb3b1e2f4fb"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aaaf9567c759f866311c76e3874822339">enableClipPlane</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index, bool enable)=0
<dl class="el"><dd class="mdescRight">Enable or disable a clipping plane.  <a href="#aaaf9567c759f866311c76e3874822339"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a7686a41fe0f506bb04c262f724f65756">enableMaterial2D</a> (bool enable=true)=0
<dl class="el"><dd class="mdescRight">Enable the 2d override material.  <a href="#a7686a41fe0f506bb04c262f724f65756"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a75f61a93c5fc9fdf161c044d27bc994e">endScene</a> ()=0
<dl class="el"><dd class="mdescRight">Presents the rendered image to the screen.  <a href="#a75f61a93c5fc9fdf161c044d27bc994e"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9b7b5942cf2378f9f96d47ec7a0cd881">fillMaterialStructureFromAttributes</a> (<a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &amp;outMaterial, <a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> *attributes)=0
<dl class="el"><dd class="mdescRight">Fills an <a class="el" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">SMaterial</a> structure from attributes.  <a href="#a9b7b5942cf2378f9f96d47ec7a0cd881"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ad4eaed6d56b092e6805400ca59795de9">findTexture</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;filename)=0
<dl class="el"><dd class="mdescRight">Check if the image is already loaded.  <a href="#ad4eaed6d56b092e6805400ca59795de9"></a><br/></dl><li>virtual <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#afc8f27bfd9756f4ca8de2d4bb37b0e15">getColorFormat</a> () const =0
<dl class="el"><dd class="mdescRight">Get the current color format of the color buffer.  <a href="#afc8f27bfd9756f4ca8de2d4bb37b0e15"></a><br/></dl><li>virtual const <br class="typebreak"/>
<a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp; <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a76fc2aba131b5986d07d92c6888cfc0c">getCurrentRenderTargetSize</a> () const =0
<dl class="el"><dd class="mdescRight">Get the size of the current render target.  <a href="#a76fc2aba131b5986d07d92c6888cfc0c"></a><br/></dl><li>virtual const <a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> &amp; <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a2b43d2215f2e5aad9b4f92aa635bcc85">getDriverAttributes</a> () const =0
<dl class="el"><dd class="mdescRight">Get attributes of the actual video driver.  <a href="#a2b43d2215f2e5aad9b4f92aa635bcc85"></a><br/></dl><li>virtual <a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0">E_DRIVER_TYPE</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af89a0c4fcc0337f3befe8b90424e68aa">getDriverType</a> () const =0
<dl class="el"><dd class="mdescRight">Get type of video driver.  <a href="#af89a0c4fcc0337f3befe8b90424e68aa"></a><br/></dl><li>virtual const <a class="el" href="structirr_1_1video_1_1_s_light.html">SLight</a> &amp; <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9eb9ee246e85a56300031f7d7516054e">getDynamicLight</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> idx) const =0
<dl class="el"><dd class="mdescRight">Returns light data which was previously set by <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a813a39352eae26c4d30b5882618639be">IVideoDriver::addDynamicLight()</a>.  <a href="#a9eb9ee246e85a56300031f7d7516054e"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9b1e5de698f264a9f74a17bdba313138">getDynamicLightCount</a> () const =0
<dl class="el"><dd class="mdescRight">Returns amount of dynamic lights currently set.  <a href="#a9b1e5de698f264a9f74a17bdba313138"></a><br/></dl><li>virtual const <a class="el" href="structirr_1_1video_1_1_s_exposed_video_data.html">SExposedVideoData</a> &amp; <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a4f3535b2125e654e2e9645745e50cc49">getExposedVideoData</a> ()=0
<dl class="el"><dd class="mdescRight">Returns driver and operating system specific data about the <a class="el" href="classirr_1_1video_1_1_i_video_driver.html" title="Interface to driver which is able to perform 2d and 3d graphics functions.">IVideoDriver</a>.  <a href="#a4f3535b2125e654e2e9645745e50cc49"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a29435c6a654675bdb276c89fd4a1356c">getFog</a> (<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> &amp;color, <a class="el" href="namespaceirr_1_1video.html#adf41b1a85e067f5988ba1eb8bb50f44e">E_FOG_TYPE</a> &amp;fogType, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;start, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;end, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;density, bool &amp;pixelFog, bool &amp;rangeFog)=0
<dl class="el"><dd class="mdescRight">Gets the fog mode.  <a href="#a29435c6a654675bdb276c89fd4a1356c"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a5b71428402c0b6a3b18b8f2fa408af13">getFPS</a> () const =0
<dl class="el"><dd class="mdescRight">Returns current frames per second value.  <a href="#a5b71428402c0b6a3b18b8f2fa408af13"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_g_p_u_programming_services.html">IGPUProgrammingServices</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ad2098a408bbe9dad8053c3f4aea7d856">getGPUProgrammingServices</a> ()=0
<dl class="el"><dd class="mdescRight">Gets the <a class="el" href="classirr_1_1video_1_1_i_g_p_u_programming_services.html" title="Interface making it possible to create and use programs running on the GPU.">IGPUProgrammingServices</a> interface.  <a href="#ad2098a408bbe9dad8053c3f4aea7d856"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_image_loader.html">IImageLoader</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a5cc08e7cd2ce2a30275e22ce13bb1013">getImageLoader</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> n)=0
<dl class="el"><dd class="mdescRight">Retrieve the given image loader.  <a href="#a5cc08e7cd2ce2a30275e22ce13bb1013"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a92535921ad01c90570533ba60b0b76b2">getImageLoaderCount</a> () const =0
<dl class="el"><dd class="mdescRight">Retrieve the number of image loaders.  <a href="#a92535921ad01c90570533ba60b0b76b2"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_image_writer.html">IImageWriter</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#acdc5e788993c117efebb22e155ab6a77">getImageWriter</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> n)=0
<dl class="el"><dd class="mdescRight">Retrieve the given image writer.  <a href="#acdc5e788993c117efebb22e155ab6a77"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a173f33f0537a1511abdf35ed235a683a">getImageWriterCount</a> () const =0
<dl class="el"><dd class="mdescRight">Retrieve the number of image writers.  <a href="#a173f33f0537a1511abdf35ed235a683a"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_s_material.html">SMaterial</a> &amp; <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a198bbe60fdb1b5d6d0f4921e8a26109c">getMaterial2D</a> ()=0
<dl class="el"><dd class="mdescRight">Get the 2d override material for altering its values.  <a href="#a198bbe60fdb1b5d6d0f4921e8a26109c"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_material_renderer.html">IMaterialRenderer</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#accb321dfb32ad3c76efb99427bc90cc8">getMaterialRenderer</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> idx)=0
<dl class="el"><dd class="mdescRight">Get access to a material renderer by index.  <a href="#accb321dfb32ad3c76efb99427bc90cc8"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ac1d0e2e952afdcdbdd915dc106375381">getMaterialRendererCount</a> () const =0
<dl class="el"><dd class="mdescRight">Get amount of currently available material renderers.  <a href="#ac1d0e2e952afdcdbdd915dc106375381"></a><br/></dl><li>virtual const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ac6f8c53abcd5a24d94c84185b0ef65e0">getMaterialRendererName</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> idx) const =0
<dl class="el"><dd class="mdescRight">Get name of a material renderer.  <a href="#ac6f8c53abcd5a24d94c84185b0ef65e0"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab64a2875011c8870fd011a486f3503ec">getMaximalDynamicLightAmount</a> () const =0
<dl class="el"><dd class="mdescRight">Returns the maximal amount of dynamic lights the device can handle.  <a href="#ab64a2875011c8870fd011a486f3503ec"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#afd93e778fac79f7863da72a50e720f88">getMaximalPrimitiveCount</a> () const =0
<dl class="el"><dd class="mdescRight">Returns the maximum amount of primitives.  <a href="#afd93e778fac79f7863da72a50e720f88"></a><br/></dl><li>virtual <a class="el" href="namespaceirr_1_1core.html#ad2e562e3219072e2f7fc7c2bba0ef0cb">core::dimension2du</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9bc9632861757d167c035bb5ecfa6854">getMaxTextureSize</a> () const =0
<dl class="el"><dd class="mdescRight">Get the maximum texture size supported.  <a href="#a9bc9632861757d167c035bb5ecfa6854"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_manipulator.html">scene::IMeshManipulator</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9b76ea8ba013885c0f3d5f00131431ec">getMeshManipulator</a> ()=0
<dl class="el"><dd class="mdescRight">Returns a pointer to the mesh manipulator.  <a href="#a9b76ea8ba013885c0f3d5f00131431ec"></a><br/></dl><li>virtual const wchar_t * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a87ca51832295b2dceaa1e258daf863f1">getName</a> () const =0
<dl class="el"><dd class="mdescRight">Gets name of this video driver.  <a href="#a87ca51832295b2dceaa1e258daf863f1"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a149ea92e04b2d0fe18bf5b584ccf6de4">getOcclusionQueryResult</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *node) const =0
<dl class="el"><dd class="mdescRight">Return query result.  <a href="#a149ea92e04b2d0fe18bf5b584ccf6de4"></a><br/></dl><li>virtual <a class="el" href="structirr_1_1video_1_1_s_override_material.html">SOverrideMaterial</a> &amp; <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af119ebfd02f99f77a463007277abf14a">getOverrideMaterial</a> ()=0
<dl class="el"><dd class="mdescRight">Get the global Material, which might override local materials.  <a href="#af119ebfd02f99f77a463007277abf14a"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a2ce9be45cacb4aa034d3afdb489a57a3">getPrimitiveCountDrawn</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> mode=0) const =0
<dl class="el"><dd class="mdescRight">Returns amount of primitives (mostly triangles) which were drawn in the last frame.  <a href="#a2ce9be45cacb4aa034d3afdb489a57a3"></a><br/></dl><li>virtual const <br class="typebreak"/>
<a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp; <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aa106dd9ff233497f9ea9a07dc6441c82">getScreenSize</a> () const =0
<dl class="el"><dd class="mdescRight">Get the size of the screen or render window.  <a href="#aa106dd9ff233497f9ea9a07dc6441c82"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af4055165190e4adf221c6dc6f2434ea0">getTexture</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;filename)=0
<dl class="el"><dd class="mdescRight">Get access to a named texture.  <a href="#af4055165190e4adf221c6dc6f2434ea0"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aaf989c8688ffe2a28a4b8e7b6ec2bce7">getTexture</a> (<a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *file)=0
<dl class="el"><dd class="mdescRight">Get access to a named texture.  <a href="#aaf989c8688ffe2a28a4b8e7b6ec2bce7"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> * <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#abfe395b1320ac52cea6be0e912135351">getTextureByIndex</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index)=0
<dl class="el"><dd class="mdescRight">Returns a texture by index.  <a href="#abfe395b1320ac52cea6be0e912135351"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a4c3f976980dd8387db37feca8c8e2d73">getTextureCount</a> () const =0
<dl class="el"><dd class="mdescRight">Returns amount of textures currently loaded.  <a href="#a4c3f976980dd8387db37feca8c8e2d73"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ae64d474cbca38f64f2dbb8fcacb1a035">getTextureCreationFlag</a> (<a class="el" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876f">E_TEXTURE_CREATION_FLAG</a> flag) const =0
<dl class="el"><dd class="mdescRight">Returns if a texture creation flag is enabled or disabled.  <a href="#ae64d474cbca38f64f2dbb8fcacb1a035"></a><br/></dl><li>virtual const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp; <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a85c7d04aee02c2d5d8102279f9233101">getTransform</a> (<a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">E_TRANSFORMATION_STATE</a> state) const =0
<dl class="el"><dd class="mdescRight">Returns the transformation set by setTransform.  <a href="#a85c7d04aee02c2d5d8102279f9233101"></a><br/></dl><li>virtual <a class="el" href="namespaceirr_1_1core.html#ade1071a878633f2f6d8a75c5d11fec19">core::stringc</a> <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a221a3ee79676ad9fbebc39cf0150516e">getVendorInfo</a> ()=0
<dl class="el"><dd class="mdescRight">Get the graphics card vendor name.  <a href="#a221a3ee79676ad9fbebc39cf0150516e"></a><br/></dl><li>virtual const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp; <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aa21810374736559e937fcad30ac699b4">getViewPort</a> () const =0
<dl class="el"><dd class="mdescRight">Gets the area of the current viewport.  <a href="#aa21810374736559e937fcad30ac699b4"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a701e7d2101eb26888f57928134bc2ffb">makeColorKeyTexture</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> color, bool zeroTexels=false) const =0
<dl class="el"><dd class="mdescRight">Sets a boolean alpha channel on the texture based on a color key.  <a href="#a701e7d2101eb26888f57928134bc2ffb"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aed772902f4fe1185b44ce81b9b0b9add">makeColorKeyTexture</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; colorKeyPixelPos, bool zeroTexels=false) const =0
<dl class="el"><dd class="mdescRight">Sets a boolean alpha channel on the texture based on the color at a position.  <a href="#aed772902f4fe1185b44ce81b9b0b9add"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a6470e31c1aaf2c0fa5e5a5b3f8f092e0">makeNormalMapTexture</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> amplitude=1.0f) const =0
<dl class="el"><dd class="mdescRight">Creates a normal map from a height map texture.  <a href="#a6470e31c1aaf2c0fa5e5a5b3f8f092e0"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a1a236e1233fc6fc2c5f36aaa830814fc">OnResize</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;size)=0
<dl class="el"><dd class="mdescRight">Event handler for resize events. Only used by the engine internally.  <a href="#a1a236e1233fc6fc2c5f36aaa830814fc"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#adde468368b77441ada246e1603da4f47">queryFeature</a> (<a class="el" href="namespaceirr_1_1video.html#a57b1721e42a79c5dcf8e830e3621e08f">E_VIDEO_DRIVER_FEATURE</a> feature) const =0
<dl class="el"><dd class="mdescRight">Queries the features of the driver.  <a href="#adde468368b77441ada246e1603da4f47"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a2538b3163d6e072f5b3deb905cb2abb0">removeAllHardwareBuffers</a> ()=0
<dl class="el"><dd class="mdescRight">Remove all hardware buffers.  <a href="#a2538b3163d6e072f5b3deb905cb2abb0"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a5d77478ed4e0896fd2fd8b8d042dc1ff">removeAllOcclusionQueries</a> ()=0
<dl class="el"><dd class="mdescRight">Remove all occlusion queries.  <a href="#a5d77478ed4e0896fd2fd8b8d042dc1ff"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a179990e76fa91175d46c891b3508e717">removeAllTextures</a> ()=0
<dl class="el"><dd class="mdescRight">Removes all textures from the texture cache and deletes them.  <a href="#a179990e76fa91175d46c891b3508e717"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a1454ef5ba92de420f35678e2803485f6">removeHardwareBuffer</a> (const <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">scene::IMeshBuffer</a> *mb)=0
<dl class="el"><dd class="mdescRight">Remove hardware buffer.  <a href="#a1454ef5ba92de420f35678e2803485f6"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9f7d9cec8356edf3e16e264e476d849a">removeOcclusionQuery</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *node)=0
<dl class="el"><dd class="mdescRight">Remove occlusion query.  <a href="#a9f7d9cec8356edf3e16e264e476d849a"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ac88319ec41daa23fef2ae935285afcc9">removeTexture</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *texture)=0
<dl class="el"><dd class="mdescRight">Removes a texture from the texture cache and deletes it.  <a href="#ac88319ec41daa23fef2ae935285afcc9"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a2cefddb9ebd7f46ee946c04b301a5c5b">renameTexture</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *texture, const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;newName)=0
<dl class="el"><dd class="mdescRight">Renames a texture.  <a href="#a2cefddb9ebd7f46ee946c04b301a5c5b"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ae2ba500924a7d74fe74dd4724b737628">runAllOcclusionQueries</a> (bool visible=false)=0
<dl class="el"><dd class="mdescRight">Run all occlusion queries. Draws all meshes stored in queries.  <a href="#ae2ba500924a7d74fe74dd4724b737628"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aaf92a35268dad06996c4f5edabec249f">runOcclusionQuery</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *node, bool visible=false)=0
<dl class="el"><dd class="mdescRight">Run occlusion query. Draws mesh stored in query.  <a href="#aaf92a35268dad06996c4f5edabec249f"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af78022589e5b7cb42b4d6ed2f7950e42">setAllowZWriteOnTransparent</a> (bool flag)=0
<dl class="el"><dd class="mdescRight">Only used by the engine internally.  <a href="#af78022589e5b7cb42b4d6ed2f7950e42"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aaba8d96a8061264393fc74ac9a3cd04f">setAmbientLight</a> (const <a class="el" href="classirr_1_1video_1_1_s_colorf.html">SColorf</a> &amp;color)=0
<dl class="el"><dd class="mdescRight">Only used by the engine internally.  <a href="#aaba8d96a8061264393fc74ac9a3cd04f"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a959ac385891941e7ec8d99b2f105b265">setClipPlane</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index, const <a class="el" href="namespaceirr_1_1core.html#ae7491b7985dcb74b840bfcd9c054b232">core::plane3df</a> &amp;plane, bool enable=false)=0
<dl class="el"><dd class="mdescRight">Set or unset a clipping plane.  <a href="#a959ac385891941e7ec8d99b2f105b265"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af8cbb090b42198244c1703eb17024bbc">setFog</a> (<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(0, 255, 255, 255), <a class="el" href="namespaceirr_1_1video.html#adf41b1a85e067f5988ba1eb8bb50f44e">E_FOG_TYPE</a> fogType=EFT_FOG_LINEAR, <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> start=50.0f, f32 end=100.0f, f32 density=0.01f, bool pixelFog=false, bool rangeFog=false)=0
<dl class="el"><dd class="mdescRight">Sets the fog mode.  <a href="#af8cbb090b42198244c1703eb17024bbc"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a8c9e31b41b7e6fd26cf65ce538ebab05">setMaterial</a> (const <a class="el" href="classirr_1_1video_1_1_s_material.html">SMaterial</a> &amp;material)=0
<dl class="el"><dd class="mdescRight">Sets a material.  <a href="#a8c9e31b41b7e6fd26cf65ce538ebab05"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a4ef324ed93094f84832e8d31cf0776f2">setMaterialRendererName</a> (<a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> idx, const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> *name)=0
<dl class="el"><dd class="mdescRight">Sets the name of a material renderer.  <a href="#a4ef324ed93094f84832e8d31cf0776f2"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a79cbd1329b4206503e9a9593592502ea">setMinHardwareBufferVertexCount</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> count)=0
<dl class="el"><dd class="mdescRight">Set the minimum number of vertices for which a hw buffer will be created.  <a href="#a79cbd1329b4206503e9a9593592502ea"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a8c38a8d8d6d49be53bda55eb0749e7eb">setRenderTarget</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, bool clearBackBuffer=true, bool clearZBuffer=true, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0, 0, 0, 0))=0
<dl class="el"><dd class="mdescRight">Sets a new render target.  <a href="#a8c38a8d8d6d49be53bda55eb0749e7eb"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ad75e7606ab186f1e31cc126bcaaeba9c">setRenderTarget</a> (<a class="el" href="namespaceirr_1_1video.html#a5b61a3f2bd5d458f76f2eb20b0f40972">E_RENDER_TARGET</a> target, bool clearTarget=true, bool clearZBuffer=true, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0, 0, 0, 0))=0
<dl class="el"><dd class="mdescRight">set or reset special render targets  <a href="#ad75e7606ab186f1e31cc126bcaaeba9c"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a1e2bd871ef54ae9bf16c3a49b318d777">setRenderTarget</a> (const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="structirr_1_1video_1_1_i_render_target.html">video::IRenderTarget</a> &gt; &amp;texture, bool clearBackBuffer=true, bool clearZBuffer=true, <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> color=<a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0, 0, 0, 0))=0
<dl class="el"><dd class="mdescRight">Sets new multiple render targets.  <a href="#a1e2bd871ef54ae9bf16c3a49b318d777"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a868b58a6b86b9e4841ca3879ce246c4e">setTextureCreationFlag</a> (<a class="el" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876f">E_TEXTURE_CREATION_FLAG</a> flag, bool enabled=true)=0
<dl class="el"><dd class="mdescRight">Enables or disables a texture creation flag.  <a href="#a868b58a6b86b9e4841ca3879ce246c4e"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aaf6e88bedf7b91666a2bd34f46e092fc">setTransform</a> (<a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">E_TRANSFORMATION_STATE</a> state, const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;mat)=0
<dl class="el"><dd class="mdescRight">Sets transformation matrices.  <a href="#aaf6e88bedf7b91666a2bd34f46e092fc"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af03cf9b67bb7b43a8021bbe4baa78a08">setViewPort</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;area)=0
<dl class="el"><dd class="mdescRight">Sets a new viewport.  <a href="#af03cf9b67bb7b43a8021bbe4baa78a08"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a3c26904f7d1bf0e37d51fe71562346a0">turnLightOn</a> (<a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> lightIndex, bool turnOn)=0
<li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab611513a8cdb3cc62c29b864de0d1de7">updateAllOcclusionQueries</a> (bool block=true)=0
<dl class="el"><dd class="mdescRight">Update all occlusion queries. Retrieves results from GPU.  <a href="#ab611513a8cdb3cc62c29b864de0d1de7"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a626061128fcf018516c6d931bd616ea7">updateOcclusionQuery</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *node, bool block=true)=0
<dl class="el"><dd class="mdescRight">Update occlusion query. Retrieves results from GPU.  <a href="#a626061128fcf018516c6d931bd616ea7"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a407d6a1483f995060035340e0a92ce9b">writeImageToFile</a> (<a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *image, const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;filename, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> param=0)=0
<dl class="el"><dd class="mdescRight">Writes the provided image to a file.  <a href="#a407d6a1483f995060035340e0a92ce9b"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ae12c362cfbc92a7c59b434666c8436c0">writeImageToFile</a> (<a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *image, <a class="el" href="classirr_1_1io_1_1_i_write_file.html">io::IWriteFile</a> *file, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> param=0)=0
<dl class="el"><dd class="mdescRight">Writes the provided image to a file.  <a href="#ae12c362cfbc92a7c59b434666c8436c0"></a><br/></dl></ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Interface to driver which is able to perform 2d and 3d graphics functions. </p>
<p>This interface is one of the most important interfaces of the Irrlicht Engine: All rendering and texture manipulation is done with this interface. You are able to use the Irrlicht Engine by only invoking methods of this interface if you like to, although the <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html" title="The Scene Manager manages scene nodes, mesh recources, cameras and all the other stuff.">irr::scene::ISceneManager</a> interface provides a lot of powerful classes and methods to make the programmer's life easier. </p>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00256">256</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a813a39352eae26c4d30b5882618639be"></a><!-- doxytag: member="irr::video::IVideoDriver::addDynamicLight" ref="a813a39352eae26c4d30b5882618639be" args="(const SLight &amp;light)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> irr::video::IVideoDriver::addDynamicLight </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s_light.html">SLight</a> &amp;&#160;</td>
          <td class="paramname"><em>light</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>adds a dynamic light, returning an index to the light </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">light,:</td><td>the light data to use to create the light </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>An index to the light, or -1 if an error occurs </dd></dl>

</div>
</div>
<a class="anchor" id="a9479ae15f0e26eaaf15c9420ff289b6d"></a><!-- doxytag: member="irr::video::IVideoDriver::addExternalImageLoader" ref="a9479ae15f0e26eaaf15c9420ff289b6d" args="(IImageLoader *loader)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::addExternalImageLoader </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image_loader.html">IImageLoader</a> *&#160;</td>
          <td class="paramname"><em>loader</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds an external image loader to the engine. </p>
<p>This is useful if the Irrlicht Engine should be able to load textures of currently unsupported file formats (e.g. gif). The <a class="el" href="classirr_1_1video_1_1_i_image_loader.html" title="Class which is able to create a image from a file.">IImageLoader</a> only needs to be implemented for loading this file format. A pointer to the implementation can be passed to the engine using this method. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">loader</td><td>Pointer to the external loader created. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a56160e0d88346e04db921fbe4635a7ae"></a><!-- doxytag: member="irr::video::IVideoDriver::addExternalImageWriter" ref="a56160e0d88346e04db921fbe4635a7ae" args="(IImageWriter *writer)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::addExternalImageWriter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image_writer.html">IImageWriter</a> *&#160;</td>
          <td class="paramname"><em>writer</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds an external image writer to the engine. </p>
<p>This is useful if the Irrlicht Engine should be able to write textures of currently unsupported file formats (e.g .gif). The <a class="el" href="classirr_1_1video_1_1_i_image_writer.html" title="Interface for writing software image data.">IImageWriter</a> only needs to be implemented for writing this file format. A pointer to the implementation can be passed to the engine using this method. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">writer,:</td><td>Pointer to the external writer created. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0dfc3a7168f3a73a6f4323b579f03ff6"></a><!-- doxytag: member="irr::video::IVideoDriver::addMaterialRenderer" ref="a0dfc3a7168f3a73a6f4323b579f03ff6" args="(IMaterialRenderer *renderer, const c8 *name=0)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> irr::video::IVideoDriver::addMaterialRenderer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_material_renderer.html">IMaterialRenderer</a> *&#160;</td>
          <td class="paramname"><em>renderer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a new material renderer to the video device. </p>
<p>Use this method to extend the VideoDriver with new material types. To extend the engine using this method do the following: Derive a class from <a class="el" href="classirr_1_1video_1_1_i_material_renderer.html" title="Interface for material rendering.">IMaterialRenderer</a> and override the methods you need. For setting the right renderstates, you can try to get a pointer to the real rendering device using <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a4f3535b2125e654e2e9645745e50cc49" title="Returns driver and operating system specific data about the IVideoDriver.">IVideoDriver::getExposedVideoData()</a>. Add your class with <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a0dfc3a7168f3a73a6f4323b579f03ff6" title="Adds a new material renderer to the video device.">IVideoDriver::addMaterialRenderer()</a>. To use an object being displayed with your new material, set the MaterialType member of the <a class="el" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">SMaterial</a> struct to the value returned by this method. If you simply want to create a new material using vertex and/or pixel shaders it would be easier to use the <a class="el" href="classirr_1_1video_1_1_i_g_p_u_programming_services.html" title="Interface making it possible to create and use programs running on the GPU.">video::IGPUProgrammingServices</a> interface which you can get using the <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ad2098a408bbe9dad8053c3f4aea7d856" title="Gets the IGPUProgrammingServices interface.">getGPUProgrammingServices()</a> method. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">renderer</td><td>A pointer to the new renderer. </td></tr>
    <tr><td class="paramname">name</td><td>Optional name for the material renderer entry. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of the material type which can be set in <a class="el" href="classirr_1_1video_1_1_s_material.html#a8cb63ab4b49ae1c61fbca8353e6b2f8a" title="Type of the material. Specifies how everything is blended together.">SMaterial::MaterialType</a> to use the renderer. -1 is returned if an error occured. For example if you tried to add an material renderer to the software renderer or the null device, which do not accept material renderers. </dd></dl>

</div>
</div>
<a class="anchor" id="a07f15814e039772ee43be272e97d1633"></a><!-- doxytag: member="irr::video::IVideoDriver::addOcclusionQuery" ref="a07f15814e039772ee43be272e97d1633" args="(scene::ISceneNode *node, const scene::IMesh *mesh=0)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::addOcclusionQuery </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">scene::IMesh</a> *&#160;</td>
          <td class="paramname"><em>mesh</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create occlusion query. </p>
<p>Use node for identification and mesh for occlusion test. </p>

</div>
</div>
<a class="anchor" id="aa704cece826ee37d02e4bb054b0b8797"></a><!-- doxytag: member="irr::video::IVideoDriver::addRenderTargetTexture" ref="aa704cece826ee37d02e4bb054b0b8797" args="(const core::dimension2d&lt; u32 &gt; &amp;size, const io::path &amp;name=&quot;rt&quot;, const ECOLOR_FORMAT format=ECF_UNKNOWN)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::addRenderTargetTexture </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;rt&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
          <td class="paramname"><em>format</em> = <code>ECF_UNKNOWN</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a new render target texture to the texture cache. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>Size of the texture, in pixels. Width and height should be a power of two (e.g. 64, 128, 256, 512, ...) and it should not be bigger than the backbuffer, because it shares the zbuffer with the screen buffer. </td></tr>
    <tr><td class="paramname">name</td><td>An optional name for the RTT. </td></tr>
    <tr><td class="paramname">format</td><td>The color format of the render target. Floating point formats are supported. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created texture or 0 if the texture could not be created. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div>
<a class="anchor" id="a8c02ee280bb738cdf38b77e7a798244e"></a><!-- doxytag: member="irr::video::IVideoDriver::addTexture" ref="a8c02ee280bb738cdf38b77e7a798244e" args="(const core::dimension2d&lt; u32 &gt; &amp;size, const io::path &amp;name, ECOLOR_FORMAT format=ECF_A8R8G8B8)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::addTexture </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
          <td class="paramname"><em>format</em> = <code>ECF_A8R8G8B8</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates an empty texture of specified size. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">size,:</td><td>Size of the texture. </td></tr>
    <tr><td class="paramname">name</td><td>A name for the texture. Later calls to <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af4055165190e4adf221c6dc6f2434ea0" title="Get access to a named texture.">getTexture()</a> with this name will return this texture </td></tr>
    <tr><td class="paramname">format</td><td>Desired color format of the texture. Please note that the driver may choose to create the texture in another color format. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the newly created texture. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

<p>Referenced by <a class="el" href="_i_q3_shader_8h_source.html#l00770">irr::scene::quake3::getTextures()</a>.</p>

</div>
</div>
<a class="anchor" id="abfebeb09a692c0d6b4741d952d97668e"></a><!-- doxytag: member="irr::video::IVideoDriver::addTexture" ref="abfebeb09a692c0d6b4741d952d97668e" args="(const io::path &amp;name, IImage *image, void *mipmapData=0)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::addTexture </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>mipmapData</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a texture from an <a class="el" href="classirr_1_1video_1_1_i_image.html" title="Interface for software image data.">IImage</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>A name for the texture. Later calls of <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af4055165190e4adf221c6dc6f2434ea0" title="Get access to a named texture.">getTexture()</a> with this name will return this texture </td></tr>
    <tr><td class="paramname">image</td><td>Image the texture is created from. </td></tr>
    <tr><td class="paramname">mipmapData</td><td>Optional pointer to a set of images which build up the whole mipmap set. Must be images of the same color type as image. If this parameter is not given, the mipmaps are derived from image. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the newly created texture. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div>
<a class="anchor" id="a015b8f2f18c260a00a858181be1e9945"></a><!-- doxytag: member="irr::video::IVideoDriver::beginScene" ref="a015b8f2f18c260a00a858181be1e9945" args="(bool backBuffer=true, bool zBuffer=true, SColor color=SColor(255, 0, 0, 0), const SExposedVideoData &amp;videoData=SExposedVideoData(), core::rect&lt; s32 &gt; *sourceRect=0)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::video::IVideoDriver::beginScene </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>backBuffer</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>zBuffer</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255,&#160;0,&#160;0,&#160;0)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s_exposed_video_data.html">SExposedVideoData</a> &amp;&#160;</td>
          <td class="paramname"><em>videoData</em> = <code><a class="el" href="structirr_1_1video_1_1_s_exposed_video_data.html">SExposedVideoData</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *&#160;</td>
          <td class="paramname"><em>sourceRect</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Applications must call this method before performing any rendering. </p>
<p>This method can clear the back- and the z-buffer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">backBuffer</td><td>Specifies if the back buffer should be cleared, which means that the screen is filled with the color specified. If this parameter is false, the back buffer will not be cleared and the color parameter is ignored. </td></tr>
    <tr><td class="paramname">zBuffer</td><td>Specifies if the depth buffer (z buffer) should be cleared. It is not nesesarry to do so if only 2d drawing is used. </td></tr>
    <tr><td class="paramname">color</td><td>The color used for back buffer clearing </td></tr>
    <tr><td class="paramname">videoData</td><td>Handle of another window, if you want the bitmap to be displayed on another window. If this is an empty element, everything will be displayed in the default window. Note: This feature is not fully implemented for all devices. </td></tr>
    <tr><td class="paramname">sourceRect</td><td>Pointer to a rectangle defining the source rectangle of the area to be presented. Set to null to present everything. Note: not implemented in all devices. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>False if failed. </dd></dl>

</div>
</div>
<a class="anchor" id="a4ba84ee992939fc913d4935caffce87b"></a><!-- doxytag: member="irr::video::IVideoDriver::checkDriverReset" ref="a4ba84ee992939fc913d4935caffce87b" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::video::IVideoDriver::checkDriverReset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check if the driver was recently reset. </p>
<p>For d3d devices you will need to recreate the RTTs if the driver was reset. Should be queried right after <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a015b8f2f18c260a00a858181be1e9945" title="Applications must call this method before performing any rendering.">beginScene()</a>. </p>

</div>
</div>
<a class="anchor" id="a2036fe0a27dbd1a123ff5aedb07373a5"></a><!-- doxytag: member="irr::video::IVideoDriver::clearZBuffer" ref="a2036fe0a27dbd1a123ff5aedb07373a5" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::clearZBuffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clears the ZBuffer. </p>
<p>Note that you usually need not to call this method, as it is automatically done in <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a015b8f2f18c260a00a858181be1e9945" title="Applications must call this method before performing any rendering.">IVideoDriver::beginScene()</a> or <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a8c38a8d8d6d49be53bda55eb0749e7eb" title="Sets a new render target.">IVideoDriver::setRenderTarget()</a> if you enable zBuffer. But if you have to render some special things, you can clear the zbuffer during the rendering process with this method any time. </p>

</div>
</div>
<a class="anchor" id="afb541967dbb2def61997f1d69f68d5d1"></a><!-- doxytag: member="irr::video::IVideoDriver::convertColor" ref="afb541967dbb2def61997f1d69f68d5d1" args="(const void *sP, ECOLOR_FORMAT sF, s32 sN, void *dP, ECOLOR_FORMAT dF) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::convertColor </td>
          <td>(</td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>sP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
          <td class="paramname"><em>sF</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
          <td class="paramname"><em>sN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>dP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
          <td class="paramname"><em>dF</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Color conversion convenience function. </p>
<p>Convert an image (as array of pixels) from source to destination array, thereby converting the color format. The pixel size is determined by the color formats. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sP</td><td>Pointer to source </td></tr>
    <tr><td class="paramname">sF</td><td>Color format of source </td></tr>
    <tr><td class="paramname">sN</td><td>Number of pixels to convert, both array must be large enough </td></tr>
    <tr><td class="paramname">dP</td><td>Pointer to destination </td></tr>
    <tr><td class="paramname">dF</td><td>Color format of destination </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4e496fec6b4b0b70d2e95b2576eaffee"></a><!-- doxytag: member="irr::video::IVideoDriver::createAttributesFromMaterial" ref="a4e496fec6b4b0b70d2e95b2576eaffee" args="(const video::SMaterial &amp;material, io::SAttributeReadWriteOptions *options=0)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a>* irr::video::IVideoDriver::createAttributesFromMaterial </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &amp;&#160;</td>
          <td class="paramname"><em>material</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structirr_1_1io_1_1_s_attribute_read_write_options.html">io::SAttributeReadWriteOptions</a> *&#160;</td>
          <td class="paramname"><em>options</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates material attributes list from a material. </p>
<p>This method is useful for serialization and more. Please note that the video driver will use the material renderer names from <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ac6f8c53abcd5a24d94c84185b0ef65e0" title="Get name of a material renderer.">getMaterialRendererName()</a> to write out the material type name, so they should be set before. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">material</td><td>The material to serialize. </td></tr>
    <tr><td class="paramname">options</td><td>Additional options which might influence the serialization. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classirr_1_1io_1_1_i_attributes.html" title="Provides a generic interface for attributes and their values and the possiblity to serialize them...">io::IAttributes</a> container holding the material properties. </dd></dl>

</div>
</div>
<a class="anchor" id="aee1578fdd92118665755f31c0dd1dbb5"></a><!-- doxytag: member="irr::video::IVideoDriver::createImage" ref="aee1578fdd92118665755f31c0dd1dbb5" args="(ECOLOR_FORMAT format, const core::dimension2d&lt; u32 &gt; &amp;size)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates an empty software image. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">format</td><td>Desired color format of the image. </td></tr>
    <tr><td class="paramname">size</td><td>Size of the image to create. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The created image. If you no longer need the image, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IImage::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div>
<a class="anchor" id="af92ef735bc8c755f5c201a52a70d05e8"></a><!-- doxytag: member="irr::video::IVideoDriver::createImage" ref="af92ef735bc8c755f5c201a52a70d05e8" args="(ECOLOR_FORMAT format, IImage *imageToCopy)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual _IRR_DEPRECATED_ <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&#160;</td>
          <td class="paramname"><em>imageToCopy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a software image by converting it to given format from another image. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000023">Deprecated:</a></b></dt><dd>Create an empty image and use copyTo(). This method may be removed by Irrlicht 1.9. </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">format</td><td>Desired color format of the image. </td></tr>
    <tr><td class="paramname">imageToCopy</td><td>Image to copy to the new image. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The created image. If you no longer need the image, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IImage::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div>
<a class="anchor" id="aa06059abf33e473d7af77e1fbc2b0f75"></a><!-- doxytag: member="irr::video::IVideoDriver::createImage" ref="aa06059abf33e473d7af77e1fbc2b0f75" args="(IImage *imageToCopy, const core::position2d&lt; s32 &gt; &amp;pos, const core::dimension2d&lt; u32 &gt; &amp;size)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual _IRR_DEPRECATED_ <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&#160;</td>
          <td class="paramname"><em>imageToCopy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a software image from a part of another image. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000024">Deprecated:</a></b></dt><dd>Create an empty image and use copyTo(). This method may be removed by Irrlicht 1.9. </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">imageToCopy</td><td>Image to copy to the new image in part. </td></tr>
    <tr><td class="paramname">pos</td><td>Position of rectangle to copy. </td></tr>
    <tr><td class="paramname">size</td><td>Extents of rectangle to copy. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The created image. If you no longer need the image, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IImage::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div>
<a class="anchor" id="a38e722e8dd2d750907e9e059c3dc8fae"></a><!-- doxytag: member="irr::video::IVideoDriver::createImage" ref="a38e722e8dd2d750907e9e059c3dc8fae" args="(ITexture *texture, const core::position2d&lt; s32 &gt; &amp;pos, const core::dimension2d&lt; u32 &gt; &amp;size)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a software image from a part of a texture. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>Texture to copy to the new image in part. </td></tr>
    <tr><td class="paramname">pos</td><td>Position of rectangle to copy. </td></tr>
    <tr><td class="paramname">size</td><td>Extents of rectangle to copy. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The created image. If you no longer need the image, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IImage::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div>
<a class="anchor" id="a425d60f2fcad42d8a79c33c587f41a06"></a><!-- doxytag: member="irr::video::IVideoDriver::createImageFromData" ref="a425d60f2fcad42d8a79c33c587f41a06" args="(ECOLOR_FORMAT format, const core::dimension2d&lt; u32 &gt; &amp;size, void *data, bool ownForeignMemory=false, bool deleteMemory=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImageFromData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ownForeignMemory</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>deleteMemory</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a software image from a byte array. </p>
<p>No hardware texture will be created for this image. This method is useful for example if you want to read a heightmap for a terrain renderer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">format</td><td>Desired color format of the texture </td></tr>
    <tr><td class="paramname">size</td><td>Desired size of the image </td></tr>
    <tr><td class="paramname">data</td><td>A byte array with pixel color information </td></tr>
    <tr><td class="paramname">ownForeignMemory</td><td>If true, the image will use the data pointer directly and own it afterwards. If false, the memory will by copied internally. </td></tr>
    <tr><td class="paramname">deleteMemory</td><td>Whether the memory is deallocated upon destruction. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The created image. If you no longer need the image, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IImage::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

<p>Referenced by <a class="el" href="_i_q3_shader_8h_source.html#l00770">irr::scene::quake3::getTextures()</a>.</p>

</div>
</div>
<a class="anchor" id="ac5b4c13f64d96d27fa27f52b68f77b8c"></a><!-- doxytag: member="irr::video::IVideoDriver::createImageFromFile" ref="ac5b4c13f64d96d27fa27f52b68f77b8c" args="(const io::path &amp;filename)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImageFromFile </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a software image from a file. </p>
<p>No hardware texture will be created for this image. This method is useful for example if you want to read a heightmap for a terrain renderer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>Name of the file from which the image is created. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The created image. If you no longer need the image, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IImage::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div>
<a class="anchor" id="a322c41fa08c1da9de4633cf8a1e68607"></a><!-- doxytag: member="irr::video::IVideoDriver::createImageFromFile" ref="a322c41fa08c1da9de4633cf8a1e68607" args="(io::IReadFile *file)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImageFromFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a software image from a file. </p>
<p>No hardware texture will be created for this image. This method is useful for example if you want to read a heightmap for a terrain renderer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">file</td><td>File from which the image is created. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The created image. If you no longer need the image, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IImage::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div>
<a class="anchor" id="a50db0e36d406089167facf70b2eb4706"></a><!-- doxytag: member="irr::video::IVideoDriver::createScreenShot" ref="a50db0e36d406089167facf70b2eb4706" args="(video::ECOLOR_FORMAT format=video::ECF_UNKNOWN, video::E_RENDER_TARGET target=video::ERT_FRAME_BUFFER)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createScreenShot </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">video::ECOLOR_FORMAT</a>&#160;</td>
          <td class="paramname"><em>format</em> = <code>video::ECF_UNKNOWN</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a5b61a3f2bd5d458f76f2eb20b0f40972">video::E_RENDER_TARGET</a>&#160;</td>
          <td class="paramname"><em>target</em> = <code>video::ERT_FRAME_BUFFER</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Make a screenshot of the last rendered frame. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>An image created from the last rendered frame. </dd></dl>

</div>
</div>
<a class="anchor" id="ab1bd29567ef6eb31a43bebe04c47eb5e"></a><!-- doxytag: member="irr::video::IVideoDriver::deleteAllDynamicLights" ref="ab1bd29567ef6eb31a43bebe04c47eb5e" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::deleteAllDynamicLights </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Deletes all dynamic lights which were previously added with <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a813a39352eae26c4d30b5882618639be">addDynamicLight()</a>. </p>

</div>
</div>
<a class="anchor" id="aea64c03fc205f23ec7575884fb7309c8"></a><!-- doxytag: member="irr::video::IVideoDriver::disableFeature" ref="aea64c03fc205f23ec7575884fb7309c8" args="(E_VIDEO_DRIVER_FEATURE feature, bool flag=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::disableFeature </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a57b1721e42a79c5dcf8e830e3621e08f">E_VIDEO_DRIVER_FEATURE</a>&#160;</td>
          <td class="paramname"><em>feature</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flag</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disable a feature of the driver. </p>
<p>Can also be used to enable the features again. It is not possible to enable unsupported features this way, though. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">feature</td><td>Feature to disable. </td></tr>
    <tr><td class="paramname">flag</td><td>When true the feature is disabled, otherwise it is enabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac1f12aefefb24414e03876bca942fb02"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DImage" ref="ac1f12aefefb24414e03876bca942fb02" args="(const video::ITexture *texture, const core::position2d&lt; s32 &gt; &amp;destPos)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw2DImage </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>destPos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a 2d image without any special effects. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>Pointer to texture to use. </td></tr>
    <tr><td class="paramname">destPos</td><td>Upper left 2d destination position where the image will be drawn. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a167d3a5e2ea5804bfa9ba9e526bbcdb3"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DImage" ref="a167d3a5e2ea5804bfa9ba9e526bbcdb3" args="(const video::ITexture *texture, const core::position2d&lt; s32 &gt; &amp;destPos, const core::rect&lt; s32 &gt; &amp;sourceRect, const core::rect&lt; s32 &gt; *clipRect=0, SColor color=SColor(255, 255, 255, 255), bool useAlphaChannelOfTexture=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw2DImage </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>destPos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>sourceRect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *&#160;</td>
          <td class="paramname"><em>clipRect</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255,&#160;255,&#160;255,&#160;255)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useAlphaChannelOfTexture</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a 2d image using a color. </p>
<p>(if color is other than Color(255,255,255,255)) and the alpha channel of the texture. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>Texture to be drawn. </td></tr>
    <tr><td class="paramname">destPos</td><td>Upper left 2d destination position where the image will be drawn. </td></tr>
    <tr><td class="paramname">sourceRect</td><td>Source rectangle in the image. </td></tr>
    <tr><td class="paramname">clipRect</td><td>Pointer to rectangle on the screen where the image is clipped to. If this pointer is NULL the image is not clipped. </td></tr>
    <tr><td class="paramname">color</td><td>Color with which the image is drawn. If the color equals Color(255,255,255,255) it is ignored. Note that the alpha component is used: If alpha is other than 255, the image will be transparent. </td></tr>
    <tr><td class="paramname">useAlphaChannelOfTexture,:</td><td>If true, the alpha channel of the texture is used to draw the image. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a49258725a8c36dbb22d073acf7927354"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DImage" ref="a49258725a8c36dbb22d073acf7927354" args="(const video::ITexture *texture, const core::rect&lt; s32 &gt; &amp;destRect, const core::rect&lt; s32 &gt; &amp;sourceRect, const core::rect&lt; s32 &gt; *clipRect=0, const video::SColor *const colors=0, bool useAlphaChannelOfTexture=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw2DImage </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>destRect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>sourceRect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *&#160;</td>
          <td class="paramname"><em>clipRect</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> *const&#160;</td>
          <td class="paramname"><em>colors</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useAlphaChannelOfTexture</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a part of the texture into the rectangle. Note that colors must be an array of 4 colors if used. </p>
<p>Suggested and first implemented by zola. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>The texture to draw from </td></tr>
    <tr><td class="paramname">destRect</td><td>The rectangle to draw into </td></tr>
    <tr><td class="paramname">sourceRect</td><td>The rectangle denoting a part of the texture </td></tr>
    <tr><td class="paramname">clipRect</td><td>Clips the destination rectangle (may be 0) </td></tr>
    <tr><td class="paramname">colors</td><td>Array of 4 colors denoting the color values of the corners of the destRect </td></tr>
    <tr><td class="paramname">useAlphaChannelOfTexture</td><td>True if alpha channel will be blended. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1b7647e900a56f23abb0809fd533617e"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DImageBatch" ref="a1b7647e900a56f23abb0809fd533617e" args="(const video::ITexture *texture, const core::position2d&lt; s32 &gt; &amp;pos, const core::array&lt; core::rect&lt; s32 &gt; &gt; &amp;sourceRects, const core::array&lt; s32 &gt; &amp;indices, s32 kerningWidth=0, const core::rect&lt; s32 &gt; *clipRect=0, SColor color=SColor(255, 255, 255, 255), bool useAlphaChannelOfTexture=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw2DImageBatch </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &gt; &amp;&#160;</td>
          <td class="paramname"><em>sourceRects</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>indices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
          <td class="paramname"><em>kerningWidth</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *&#160;</td>
          <td class="paramname"><em>clipRect</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255,&#160;255,&#160;255,&#160;255)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useAlphaChannelOfTexture</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a set of 2d images, using a color and the alpha channel of the texture. </p>
<p>The images are drawn beginning at pos and concatenated in one line. All drawings are clipped against clipRect (if != 0). The subtextures are defined by the array of sourceRects and are chosen by the indices given. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>Texture to be drawn. </td></tr>
    <tr><td class="paramname">pos</td><td>Upper left 2d destination position where the image will be drawn. </td></tr>
    <tr><td class="paramname">sourceRects</td><td>Source rectangles of the image. </td></tr>
    <tr><td class="paramname">indices</td><td>List of indices which choose the actual rectangle used each time. </td></tr>
    <tr><td class="paramname">kerningWidth</td><td>Offset to Position on X </td></tr>
    <tr><td class="paramname">clipRect</td><td>Pointer to rectangle on the screen where the image is clipped to. If this pointer is 0 then the image is not clipped. </td></tr>
    <tr><td class="paramname">color</td><td>Color with which the image is drawn. Note that the alpha component is used. If alpha is other than 255, the image will be transparent. </td></tr>
    <tr><td class="paramname">useAlphaChannelOfTexture,:</td><td>If true, the alpha channel of the texture is used to draw the image. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6485a684c4dfa4d0f94d0edfb46439a6"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DImageBatch" ref="a6485a684c4dfa4d0f94d0edfb46439a6" args="(const video::ITexture *texture, const core::array&lt; core::position2d&lt; s32 &gt; &gt; &amp;positions, const core::array&lt; core::rect&lt; s32 &gt; &gt; &amp;sourceRects, const core::rect&lt; s32 &gt; *clipRect=0, SColor color=SColor(255, 255, 255, 255), bool useAlphaChannelOfTexture=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw2DImageBatch </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &gt; &amp;&#160;</td>
          <td class="paramname"><em>positions</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &gt; &amp;&#160;</td>
          <td class="paramname"><em>sourceRects</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *&#160;</td>
          <td class="paramname"><em>clipRect</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255,&#160;255,&#160;255,&#160;255)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useAlphaChannelOfTexture</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a set of 2d images, using a color and the alpha channel of the texture. </p>
<p>All drawings are clipped against clipRect (if != 0). The subtextures are defined by the array of sourceRects and are positioned using the array of positions. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>Texture to be drawn. </td></tr>
    <tr><td class="paramname">positions</td><td>Array of upper left 2d destinations where the images will be drawn. </td></tr>
    <tr><td class="paramname">sourceRects</td><td>Source rectangles of the image. </td></tr>
    <tr><td class="paramname">clipRect</td><td>Pointer to rectangle on the screen where the images are clipped to. If this pointer is 0 then the image is not clipped. </td></tr>
    <tr><td class="paramname">color</td><td>Color with which the image is drawn. Note that the alpha component is used. If alpha is other than 255, the image will be transparent. </td></tr>
    <tr><td class="paramname">useAlphaChannelOfTexture,:</td><td>If true, the alpha channel of the texture is used to draw the image. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7b5388e319a0ae1340c3d81db02dd959"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DLine" ref="a7b5388e319a0ae1340c3d81db02dd959" args="(const core::position2d&lt; s32 &gt; &amp;start, const core::position2d&lt; s32 &gt; &amp;end, SColor color=SColor(255, 255, 255, 255))=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw2DLine </td>
          <td>(</td>
          <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255,&#160;255,&#160;255,&#160;255)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a 2d line. Both start and end will be included in coloring. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>Screen coordinates of the start of the line in pixels. </td></tr>
    <tr><td class="paramname">end</td><td>Screen coordinates of the start of the line in pixels. </td></tr>
    <tr><td class="paramname">color</td><td>Color of the line to draw. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaf1318379f3d70c9347cfa853b944ad4"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DPolygon" ref="aaf1318379f3d70c9347cfa853b944ad4" args="(core::position2d&lt; s32 &gt; center, f32 radius, video::SColor color=SColor(100, 255, 255, 255), s32 vertexCount=10)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw2DPolygon </td>
          <td>(</td>
          <td class="paramtype">core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt;&#160;</td>
          <td class="paramname"><em>center</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(100,&#160;255,&#160;255,&#160;255)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
          <td class="paramname"><em>vertexCount</em> = <code>10</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a non filled concyclic regular 2d polyon. </p>
<p>This method can be used to draw circles, but also triangles, tetragons, pentagons, hexagons, heptagons, octagons, enneagons, decagons, hendecagons, dodecagon, triskaidecagons, etc. I think you'll got it now. And all this by simply specifying the vertex count. Welcome to the wonders of geometry. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">center</td><td>Position of center of circle (pixels). </td></tr>
    <tr><td class="paramname">radius</td><td>Radius of circle in pixels. </td></tr>
    <tr><td class="paramname">color</td><td>Color of the circle. </td></tr>
    <tr><td class="paramname">vertexCount</td><td>Amount of vertices of the polygon. Specify 2 to draw a line, 3 to draw a triangle, 4 for tetragons and a lot (&gt;10) for nearly a circle. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac7f452fae0ef8abe01768a78ba7033b7"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DRectangle" ref="ac7f452fae0ef8abe01768a78ba7033b7" args="(SColor color, const core::rect&lt; s32 &gt; &amp;pos, const core::rect&lt; s32 &gt; *clip=0)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw2DRectangle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *&#160;</td>
          <td class="paramname"><em>clip</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a 2d rectangle. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">color</td><td>Color of the rectangle to draw. The alpha component will not be ignored and specifies how transparent the rectangle will be. </td></tr>
    <tr><td class="paramname">pos</td><td>Position of the rectangle. </td></tr>
    <tr><td class="paramname">clip</td><td>Pointer to rectangle against which the rectangle will be clipped. If the pointer is null, no clipping will be performed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a83bb3c30be6c9f960a4d8b625d7dee8c"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DRectangle" ref="a83bb3c30be6c9f960a4d8b625d7dee8c" args="(const core::rect&lt; s32 &gt; &amp;pos, SColor colorLeftUp, SColor colorRightUp, SColor colorLeftDown, SColor colorRightDown, const core::rect&lt; s32 &gt; *clip=0)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw2DRectangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>colorLeftUp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>colorRightUp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>colorLeftDown</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>colorRightDown</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *&#160;</td>
          <td class="paramname"><em>clip</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a 2d rectangle with a gradient. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">colorLeftUp</td><td>Color of the upper left corner to draw. The alpha component will not be ignored and specifies how transparent the rectangle will be. </td></tr>
    <tr><td class="paramname">colorRightUp</td><td>Color of the upper right corner to draw. The alpha component will not be ignored and specifies how transparent the rectangle will be. </td></tr>
    <tr><td class="paramname">colorLeftDown</td><td>Color of the lower left corner to draw. The alpha component will not be ignored and specifies how transparent the rectangle will be. </td></tr>
    <tr><td class="paramname">colorRightDown</td><td>Color of the lower right corner to draw. The alpha component will not be ignored and specifies how transparent the rectangle will be. </td></tr>
    <tr><td class="paramname">pos</td><td>Position of the rectangle. </td></tr>
    <tr><td class="paramname">clip</td><td>Pointer to rectangle against which the rectangle will be clipped. If the pointer is null, no clipping will be performed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a65efe36e19f0570988848175a8af7bd1"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DRectangleOutline" ref="a65efe36e19f0570988848175a8af7bd1" args="(const core::recti &amp;pos, SColor color=SColor(255, 255, 255, 255))=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw2DRectangleOutline </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a628365d56b9d3ca9c887cd7f651f7b45">core::recti</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255,&#160;255,&#160;255,&#160;255)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws the outline of a 2D rectangle. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pos</td><td>Position of the rectangle. </td></tr>
    <tr><td class="paramname">color</td><td>Color of the rectangle to draw. The alpha component specifies how transparent the rectangle outline will be. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a34845920167c68578a78f842af54d140"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DVertexPrimitiveList" ref="a34845920167c68578a78f842af54d140" args="(const void *vertices, u32 vertexCount, const void *indexList, u32 primCount, E_VERTEX_TYPE vType=EVT_STANDARD, scene::E_PRIMITIVE_TYPE pType=scene::EPT_TRIANGLES, E_INDEX_TYPE iType=EIT_16BIT)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw2DVertexPrimitiveList </td>
          <td>(</td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>vertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>vertexCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>indexList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>primCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a0e3b59e025e0d0db0ed2ee0ce904deac">E_VERTEX_TYPE</a>&#160;</td>
          <td class="paramname"><em>vType</em> = <code>EVT_STANDARD</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a5d7de82f2169761194b2f44d95cdc1dc">scene::E_PRIMITIVE_TYPE</a>&#160;</td>
          <td class="paramname"><em>pType</em> = <code>scene::EPT_TRIANGLES</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#af152a1edea2579f0517e0049525acb55">E_INDEX_TYPE</a>&#160;</td>
          <td class="paramname"><em>iType</em> = <code>EIT_16BIT</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a vertex primitive list in 2d. </p>
<p>Compared to the general (3d) version of this method, this one sets up a 2d render mode, and uses only x and y of vectors. Note that, depending on the index type, some vertices might be not accessible through the index list. The limit is at 65535 vertices for 16bit indices. Please note that currently not all primitives are available for all drivers, and some might be emulated via triangle renders. This function is not available for the sw drivers. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
    <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
    <tr><td class="paramname">indexList</td><td>Pointer to array of indices. These define the vertices used for each primitive. Depending on the pType, indices are interpreted as single objects (for point like primitives), pairs (for lines), triplets (for triangles), or quads. </td></tr>
    <tr><td class="paramname">primCount</td><td>Amount of Primitives </td></tr>
    <tr><td class="paramname">vType</td><td>Vertex type, e.g. <a class="el" href="namespaceirr_1_1video.html#a0e3b59e025e0d0db0ed2ee0ce904deaca98c8b791280bbf9252c4f4a37e91a416" title="Standard vertex type used by the Irrlicht engine, video::S3DVertex.">video::EVT_STANDARD</a> for <a class="el" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>. </td></tr>
    <tr><td class="paramname">pType</td><td>Primitive type, e.g. <a class="el" href="namespaceirr_1_1scene.html#a5d7de82f2169761194b2f44d95cdc1dca7646edca10a2b18da4c0fd49cc8f11e4">scene::EPT_TRIANGLE_FAN</a> for a triangle fan. </td></tr>
    <tr><td class="paramname">iType</td><td>Index type, e.g. <a class="el" href="namespaceirr_1_1video.html#af152a1edea2579f0517e0049525acb55a1c79610ea1191e124887efa16626f299">video::EIT_16BIT</a> for 16bit indices. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7773fce9358ee81db5484b2d21015570"></a><!-- doxytag: member="irr::video::IVideoDriver::draw3DBox" ref="a7773fce9358ee81db5484b2d21015570" args="(const core::aabbox3d&lt; f32 &gt; &amp;box, SColor color=SColor(255, 255, 255, 255))=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw3DBox </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>box</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255,&#160;255,&#160;255,&#160;255)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a 3d axis aligned box. </p>
<p>This method simply calls draw3DLine for the edges of the box. Note that the box is drawn using the current transformation matrix and material. So if you need to draw it independently of the current transformation, use </p>
<div class="fragment"><pre class="fragment">        driver-&gt;setMaterial(someMaterial);
        driver-&gt;setTransform(<a class="code" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43da843cf42adb3fa9caf61c9e228cf14e85" title="World transformation.">video::ETS_WORLD</a>, <a class="code" href="namespaceirr_1_1core.html#ac4561f3920d3fbfbfff74c9bed1f2713" title="global const identity matrix">core::IdentityMatrix</a>);
</pre></div><p> for some properly set up material before drawing the box. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">box</td><td>The axis aligned box to draw </td></tr>
    <tr><td class="paramname">color</td><td>Color to use while drawing the box. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5e4e03dca1720f3d2019b73a4eebb5e6"></a><!-- doxytag: member="irr::video::IVideoDriver::draw3DLine" ref="a5e4e03dca1720f3d2019b73a4eebb5e6" args="(const core::vector3df &amp;start, const core::vector3df &amp;end, SColor color=SColor(255, 255, 255, 255))=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw3DLine </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255,&#160;255,&#160;255,&#160;255)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a 3d line. </p>
<p>For some implementations, this method simply calls drawVertexPrimitiveList for some triangles. Note that the line is drawn using the current transformation matrix and material. So if you need to draw the 3D line independently of the current transformation, use </p>
<div class="fragment"><pre class="fragment">        driver-&gt;setMaterial(someMaterial);
        driver-&gt;setTransform(<a class="code" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43da843cf42adb3fa9caf61c9e228cf14e85" title="World transformation.">video::ETS_WORLD</a>, <a class="code" href="namespaceirr_1_1core.html#ac4561f3920d3fbfbfff74c9bed1f2713" title="global const identity matrix">core::IdentityMatrix</a>);
</pre></div><p> for some properly set up material before drawing the line. Some drivers support line thickness set in the material. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>Start of the 3d line. </td></tr>
    <tr><td class="paramname">end</td><td>End of the 3d line. </td></tr>
    <tr><td class="paramname">color</td><td>Color of the line. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac5eb03a333a43d17278dad31be19efca"></a><!-- doxytag: member="irr::video::IVideoDriver::draw3DTriangle" ref="ac5eb03a333a43d17278dad31be19efca" args="(const core::triangle3df &amp;triangle, SColor color=SColor(255, 255, 255, 255))=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::draw3DTriangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a1112835405bbec5dadf031dc7934e7d0">core::triangle3df</a> &amp;&#160;</td>
          <td class="paramname"><em>triangle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(255,&#160;255,&#160;255,&#160;255)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a 3d triangle. </p>
<p>This method calls drawVertexPrimitiveList for some triangles. This method works with all drivers because it simply calls drawVertexPrimitiveList, but it is hence not very fast. Note that the triangle is drawn using the current transformation matrix and material. So if you need to draw it independently of the current transformation, use </p>
<div class="fragment"><pre class="fragment">        driver-&gt;setMaterial(someMaterial);
        driver-&gt;setTransform(<a class="code" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43da843cf42adb3fa9caf61c9e228cf14e85" title="World transformation.">video::ETS_WORLD</a>, <a class="code" href="namespaceirr_1_1core.html#ac4561f3920d3fbfbfff74c9bed1f2713" title="global const identity matrix">core::IdentityMatrix</a>);
</pre></div><p> for some properly set up material before drawing the triangle. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">triangle</td><td>The triangle to draw. </td></tr>
    <tr><td class="paramname">color</td><td>Color of the line. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8303b9a0f3e941d07d8cdc70c8fc1346"></a><!-- doxytag: member="irr::video::IVideoDriver::drawIndexedTriangleFan" ref="a8303b9a0f3e941d07d8cdc70c8fc1346" args="(const S3DVertex *vertices, u32 vertexCount, const u16 *indexList, u32 triangleCount)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex.html">S3DVertex</a> *&#160;</td>
          <td class="paramname"><em>vertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>vertexCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
          <td class="paramname"><em>indexList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>triangleCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an indexed triangle fan. </p>
<p>Note that there may be at maximum 65536 vertices, because the index list is an array of 16 bit values each with a maximum value of 65536. If there are more than 65536 vertices in the list, results of this operation are not defined. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
    <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
    <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
    <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices - 2. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00722">722</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

<p>References <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab18ac3ba8b6dbaa4437c5eb3b1e2f4fb">drawVertexPrimitiveList()</a>, <a class="el" href="_s_vertex_index_8h_source.html#l00017">irr::video::EIT_16BIT</a>, <a class="el" href="_e_primitive_types_8h_source.html#l00034">irr::scene::EPT_TRIANGLE_FAN</a>, and <a class="el" href="_s3_d_vertex_8h_source.html#l00021">irr::video::EVT_STANDARD</a>.</p>

</div>
</div>
<a class="anchor" id="ae0b8902326a78075ad1b12d0cfc722aa"></a><!-- doxytag: member="irr::video::IVideoDriver::drawIndexedTriangleFan" ref="ae0b8902326a78075ad1b12d0cfc722aa" args="(const S3DVertex2TCoords *vertices, u32 vertexCount, const u16 *indexList, u32 triangleCount)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html">S3DVertex2TCoords</a> *&#160;</td>
          <td class="paramname"><em>vertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>vertexCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
          <td class="paramname"><em>indexList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>triangleCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an indexed triangle fan. </p>
<p>Note that there may be at maximum 65536 vertices, because the index list is an array of 16 bit values each with a maximum value of 65536. If there are more than 65536 vertices in the list, results of this operation are not defined. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
    <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
    <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
    <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices - 2. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00737">737</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

<p>References <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab18ac3ba8b6dbaa4437c5eb3b1e2f4fb">drawVertexPrimitiveList()</a>, <a class="el" href="_s_vertex_index_8h_source.html#l00017">irr::video::EIT_16BIT</a>, <a class="el" href="_e_primitive_types_8h_source.html#l00034">irr::scene::EPT_TRIANGLE_FAN</a>, and <a class="el" href="_s3_d_vertex_8h_source.html#l00025">irr::video::EVT_2TCOORDS</a>.</p>

</div>
</div>
<a class="anchor" id="a7fbc69e35e987b4d3882e51a62b8030b"></a><!-- doxytag: member="irr::video::IVideoDriver::drawIndexedTriangleFan" ref="a7fbc69e35e987b4d3882e51a62b8030b" args="(const S3DVertexTangents *vertices, u32 vertexCount, const u16 *indexList, u32 triangleCount)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html">S3DVertexTangents</a> *&#160;</td>
          <td class="paramname"><em>vertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>vertexCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
          <td class="paramname"><em>indexList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>triangleCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an indexed triangle fan. </p>
<p>Note that there may be at maximum 65536 vertices, because the index list is an array of 16 bit values each with a maximum value of 65536. If there are more than 65536 vertices in the list, results of this operation are not defined. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
    <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
    <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
    <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices - 2. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00752">752</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

<p>References <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab18ac3ba8b6dbaa4437c5eb3b1e2f4fb">drawVertexPrimitiveList()</a>, <a class="el" href="_s_vertex_index_8h_source.html#l00017">irr::video::EIT_16BIT</a>, <a class="el" href="_e_primitive_types_8h_source.html#l00034">irr::scene::EPT_TRIANGLE_FAN</a>, and <a class="el" href="_s3_d_vertex_8h_source.html#l00029">irr::video::EVT_TANGENTS</a>.</p>

</div>
</div>
<a class="anchor" id="a55eba6140492faaed9dca7e16ad8dde2"></a><!-- doxytag: member="irr::video::IVideoDriver::drawIndexedTriangleList" ref="a55eba6140492faaed9dca7e16ad8dde2" args="(const S3DVertex *vertices, u32 vertexCount, const u16 *indexList, u32 triangleCount)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleList </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex.html">S3DVertex</a> *&#160;</td>
          <td class="paramname"><em>vertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>vertexCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
          <td class="paramname"><em>indexList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>triangleCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an indexed triangle list. </p>
<p>Note that there may be at maximum 65536 vertices, because the index list is an array of 16 bit values each with a maximum value of 65536. If there are more than 65536 vertices in the list, results of this operation are not defined. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
    <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
    <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
    <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices / 3. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00677">677</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

<p>References <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab18ac3ba8b6dbaa4437c5eb3b1e2f4fb">drawVertexPrimitiveList()</a>, <a class="el" href="_s_vertex_index_8h_source.html#l00017">irr::video::EIT_16BIT</a>, <a class="el" href="_e_primitive_types_8h_source.html#l00037">irr::scene::EPT_TRIANGLES</a>, and <a class="el" href="_s3_d_vertex_8h_source.html#l00021">irr::video::EVT_STANDARD</a>.</p>

</div>
</div>
<a class="anchor" id="a041d8028bc10f33c6707a3d1ddbdea4d"></a><!-- doxytag: member="irr::video::IVideoDriver::drawIndexedTriangleList" ref="a041d8028bc10f33c6707a3d1ddbdea4d" args="(const S3DVertex2TCoords *vertices, u32 vertexCount, const u16 *indexList, u32 triangleCount)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleList </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html">S3DVertex2TCoords</a> *&#160;</td>
          <td class="paramname"><em>vertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>vertexCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
          <td class="paramname"><em>indexList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>triangleCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an indexed triangle list. </p>
<p>Note that there may be at maximum 65536 vertices, because the index list is an array of 16 bit values each with a maximum value of 65536. If there are more than 65536 vertices in the list, results of this operation are not defined. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
    <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
    <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
    <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices / 3. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00692">692</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

<p>References <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab18ac3ba8b6dbaa4437c5eb3b1e2f4fb">drawVertexPrimitiveList()</a>, <a class="el" href="_s_vertex_index_8h_source.html#l00017">irr::video::EIT_16BIT</a>, <a class="el" href="_e_primitive_types_8h_source.html#l00037">irr::scene::EPT_TRIANGLES</a>, and <a class="el" href="_s3_d_vertex_8h_source.html#l00025">irr::video::EVT_2TCOORDS</a>.</p>

</div>
</div>
<a class="anchor" id="a09777bd8ca7a25e6f6134369e5dfb680"></a><!-- doxytag: member="irr::video::IVideoDriver::drawIndexedTriangleList" ref="a09777bd8ca7a25e6f6134369e5dfb680" args="(const S3DVertexTangents *vertices, u32 vertexCount, const u16 *indexList, u32 triangleCount)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleList </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html">S3DVertexTangents</a> *&#160;</td>
          <td class="paramname"><em>vertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>vertexCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
          <td class="paramname"><em>indexList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>triangleCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws an indexed triangle list. </p>
<p>Note that there may be at maximum 65536 vertices, because the index list is an array of 16 bit values each with a maximum value of 65536. If there are more than 65536 vertices in the list, results of this operation are not defined. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
    <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
    <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
    <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices / 3. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00707">707</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

<p>References <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab18ac3ba8b6dbaa4437c5eb3b1e2f4fb">drawVertexPrimitiveList()</a>, <a class="el" href="_s_vertex_index_8h_source.html#l00017">irr::video::EIT_16BIT</a>, <a class="el" href="_e_primitive_types_8h_source.html#l00037">irr::scene::EPT_TRIANGLES</a>, and <a class="el" href="_s3_d_vertex_8h_source.html#l00029">irr::video::EVT_TANGENTS</a>.</p>

</div>
</div>
<a class="anchor" id="ab09507d0b00502912b75e31d2c344e5c"></a><!-- doxytag: member="irr::video::IVideoDriver::drawMeshBuffer" ref="ab09507d0b00502912b75e31d2c344e5c" args="(const scene::IMeshBuffer *mb)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::drawMeshBuffer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">scene::IMeshBuffer</a> *&#160;</td>
          <td class="paramname"><em>mb</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a mesh buffer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mb</td><td>Buffer to draw </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1c2ba3fb555e3c7622f3124799440226"></a><!-- doxytag: member="irr::video::IVideoDriver::drawMeshBufferNormals" ref="a1c2ba3fb555e3c7622f3124799440226" args="(const scene::IMeshBuffer *mb, f32 length=10.f, SColor color=0xffffffff)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::drawMeshBufferNormals </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">scene::IMeshBuffer</a> *&#160;</td>
          <td class="paramname"><em>mb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>length</em> = <code>10.f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code>0xffffffff</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws normals of a mesh buffer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mb</td><td>Buffer to draw the normals of </td></tr>
    <tr><td class="paramname">length</td><td>length scale factor of the normals </td></tr>
    <tr><td class="paramname">color</td><td>Color the normals are rendered with </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6567ced74ed6dc8cb1b325493ae7a093"></a><!-- doxytag: member="irr::video::IVideoDriver::drawPixel" ref="a6567ced74ed6dc8cb1b325493ae7a093" args="(u32 x, u32 y, const SColor &amp;color)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::drawPixel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> &amp;&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a pixel. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>The x-position of the pixel. </td></tr>
    <tr><td class="paramname">y</td><td>The y-position of the pixel. </td></tr>
    <tr><td class="paramname">color</td><td>Color of the pixel to draw. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a985ea57c5cf23b7774044f6ed9f96579"></a><!-- doxytag: member="irr::video::IVideoDriver::drawStencilShadow" ref="a985ea57c5cf23b7774044f6ed9f96579" args="(bool clearStencilBuffer=false, video::SColor leftUpEdge=video::SColor(255, 0, 0, 0), video::SColor rightUpEdge=video::SColor(255, 0, 0, 0), video::SColor leftDownEdge=video::SColor(255, 0, 0, 0), video::SColor rightDownEdge=video::SColor(255, 0, 0, 0))=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::drawStencilShadow </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clearStencilBuffer</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
          <td class="paramname"><em>leftUpEdge</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(255,&#160;0,&#160;0,&#160;0)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
          <td class="paramname"><em>rightUpEdge</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(255,&#160;0,&#160;0,&#160;0)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
          <td class="paramname"><em>leftDownEdge</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(255,&#160;0,&#160;0,&#160;0)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
          <td class="paramname"><em>rightDownEdge</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(255,&#160;0,&#160;0,&#160;0)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fills the stencil shadow with color. </p>
<p>After the shadow volume has been drawn into the stencil buffer using <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ae340fe71939b7c1043071507f3330cad" title="Draws a shadow volume into the stencil buffer.">IVideoDriver::drawStencilShadowVolume()</a>, use this to draw the color of the shadow. Please note that the code for the opengl version of the method is based on free code sent in by Philipp Dortmann, lots of thanks go to him! </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">clearStencilBuffer</td><td>Set this to false, if you want to draw every shadow with the same color, and only want to call <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a985ea57c5cf23b7774044f6ed9f96579" title="Fills the stencil shadow with color.">drawStencilShadow()</a> once after all shadow volumes have been drawn. Set this to true, if you want to paint every shadow with its own color. </td></tr>
    <tr><td class="paramname">leftUpEdge</td><td>Color of the shadow in the upper left corner of screen. </td></tr>
    <tr><td class="paramname">rightUpEdge</td><td>Color of the shadow in the upper right corner of screen. </td></tr>
    <tr><td class="paramname">leftDownEdge</td><td>Color of the shadow in the lower left corner of screen. </td></tr>
    <tr><td class="paramname">rightDownEdge</td><td>Color of the shadow in the lower right corner of screen. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae340fe71939b7c1043071507f3330cad"></a><!-- doxytag: member="irr::video::IVideoDriver::drawStencilShadowVolume" ref="ae340fe71939b7c1043071507f3330cad" args="(const core::array&lt; core::vector3df &gt; &amp;triangles, bool zfail=true, u32 debugDataVisible=0)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::drawStencilShadowVolume </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>triangles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>zfail</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>debugDataVisible</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a shadow volume into the stencil buffer. </p>
<p>To draw a stencil shadow, do this: First, draw all geometry. Then use this method, to draw the shadow volume. Then, use <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a985ea57c5cf23b7774044f6ed9f96579" title="Fills the stencil shadow with color.">IVideoDriver::drawStencilShadow()</a> to visualize the shadow. Please note that the code for the opengl version of the method is based on free code sent in by Philipp Dortmann, lots of thanks go to him! </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">triangles</td><td>Array of 3d vectors, specifying the shadow volume. </td></tr>
    <tr><td class="paramname">zfail</td><td>If set to true, zfail method is used, otherwise zpass. </td></tr>
    <tr><td class="paramname">debugDataVisible</td><td>The debug data that is enabled for this shadow node </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab18ac3ba8b6dbaa4437c5eb3b1e2f4fb"></a><!-- doxytag: member="irr::video::IVideoDriver::drawVertexPrimitiveList" ref="ab18ac3ba8b6dbaa4437c5eb3b1e2f4fb" args="(const void *vertices, u32 vertexCount, const void *indexList, u32 primCount, E_VERTEX_TYPE vType=EVT_STANDARD, scene::E_PRIMITIVE_TYPE pType=scene::EPT_TRIANGLES, E_INDEX_TYPE iType=EIT_16BIT)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::drawVertexPrimitiveList </td>
          <td>(</td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>vertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>vertexCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>indexList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>primCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a0e3b59e025e0d0db0ed2ee0ce904deac">E_VERTEX_TYPE</a>&#160;</td>
          <td class="paramname"><em>vType</em> = <code>EVT_STANDARD</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a5d7de82f2169761194b2f44d95cdc1dc">scene::E_PRIMITIVE_TYPE</a>&#160;</td>
          <td class="paramname"><em>pType</em> = <code>scene::EPT_TRIANGLES</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#af152a1edea2579f0517e0049525acb55">E_INDEX_TYPE</a>&#160;</td>
          <td class="paramname"><em>iType</em> = <code>EIT_16BIT</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a vertex primitive list. </p>
<p>Note that, depending on the index type, some vertices might be not accessible through the index list. The limit is at 65535 vertices for 16bit indices. Please note that currently not all primitives are available for all drivers, and some might be emulated via triangle renders. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
    <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
    <tr><td class="paramname">indexList</td><td>Pointer to array of indices. These define the vertices used for each primitive. Depending on the pType, indices are interpreted as single objects (for point like primitives), pairs (for lines), triplets (for triangles), or quads. </td></tr>
    <tr><td class="paramname">primCount</td><td>Amount of Primitives </td></tr>
    <tr><td class="paramname">vType</td><td>Vertex type, e.g. <a class="el" href="namespaceirr_1_1video.html#a0e3b59e025e0d0db0ed2ee0ce904deaca98c8b791280bbf9252c4f4a37e91a416" title="Standard vertex type used by the Irrlicht engine, video::S3DVertex.">video::EVT_STANDARD</a> for <a class="el" href="structirr_1_1video_1_1_s3_d_vertex.html" title="standard vertex used by the Irrlicht engine.">S3DVertex</a>. </td></tr>
    <tr><td class="paramname">pType</td><td>Primitive type, e.g. <a class="el" href="namespaceirr_1_1scene.html#a5d7de82f2169761194b2f44d95cdc1dca7646edca10a2b18da4c0fd49cc8f11e4">scene::EPT_TRIANGLE_FAN</a> for a triangle fan. </td></tr>
    <tr><td class="paramname">iType</td><td>Index type, e.g. <a class="el" href="namespaceirr_1_1video.html#af152a1edea2579f0517e0049525acb55a1c79610ea1191e124887efa16626f299">video::EIT_16BIT</a> for 16bit indices. </td></tr>
  </table>
  </dd>
</dl>

<p>Referenced by <a class="el" href="_i_video_driver_8h_source.html#l00722">drawIndexedTriangleFan()</a>, and <a class="el" href="_i_video_driver_8h_source.html#l00677">drawIndexedTriangleList()</a>.</p>

</div>
</div>
<a class="anchor" id="aaaf9567c759f866311c76e3874822339"></a><!-- doxytag: member="irr::video::IVideoDriver::enableClipPlane" ref="aaaf9567c759f866311c76e3874822339" args="(u32 index, bool enable)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::enableClipPlane </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enable or disable a clipping plane. </p>
<p>There are at least 6 clipping planes available for the user to set at will. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The plane index. Must be between 0 and MaxUserClipPlanes. </td></tr>
    <tr><td class="paramname">enable</td><td>If true, enable the clipping plane else disable it. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7686a41fe0f506bb04c262f724f65756"></a><!-- doxytag: member="irr::video::IVideoDriver::enableMaterial2D" ref="a7686a41fe0f506bb04c262f724f65756" args="(bool enable=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::enableMaterial2D </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em> = <code>true</code></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enable the 2d override material. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>Flag which tells whether the material shall be enabled or disabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a75f61a93c5fc9fdf161c044d27bc994e"></a><!-- doxytag: member="irr::video::IVideoDriver::endScene" ref="a75f61a93c5fc9fdf161c044d27bc994e" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::video::IVideoDriver::endScene </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Presents the rendered image to the screen. </p>
<p>Applications must call this method after performing any rendering. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>False if failed and true if succeeded. </dd></dl>

</div>
</div>
<a class="anchor" id="a9b7b5942cf2378f9f96d47ec7a0cd881"></a><!-- doxytag: member="irr::video::IVideoDriver::fillMaterialStructureFromAttributes" ref="a9b7b5942cf2378f9f96d47ec7a0cd881" args="(video::SMaterial &amp;outMaterial, io::IAttributes *attributes)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::fillMaterialStructureFromAttributes </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &amp;&#160;</td>
          <td class="paramname"><em>outMaterial</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> *&#160;</td>
          <td class="paramname"><em>attributes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fills an <a class="el" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">SMaterial</a> structure from attributes. </p>
<p>Please note that for setting material types of the material, the video driver will need to query the material renderers for their names, so all non built-in materials must have been created before calling this method. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">outMaterial</td><td>The material to set the properties for. </td></tr>
    <tr><td class="paramname">attributes</td><td>The attributes to read from. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad4eaed6d56b092e6805400ca59795de9"></a><!-- doxytag: member="irr::video::IVideoDriver::findTexture" ref="ad4eaed6d56b092e6805400ca59795de9" args="(const io::path &amp;filename)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a>* irr::video::IVideoDriver::findTexture </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check if the image is already loaded. </p>
<p>Works similar to <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af4055165190e4adf221c6dc6f2434ea0" title="Get access to a named texture.">getTexture()</a>, but does not load the texture if it is not currently loaded. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>Name of the texture. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to loaded texture, or 0 if not found. </dd></dl>

</div>
</div>
<a class="anchor" id="afc8f27bfd9756f4ca8de2d4bb37b0e15"></a><!-- doxytag: member="irr::video::IVideoDriver::getColorFormat" ref="afc8f27bfd9756f4ca8de2d4bb37b0e15" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> irr::video::IVideoDriver::getColorFormat </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the current color format of the color buffer. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Color format of the color buffer. </dd></dl>

</div>
</div>
<a class="anchor" id="a76fc2aba131b5986d07d92c6888cfc0c"></a><!-- doxytag: member="irr::video::IVideoDriver::getCurrentRenderTargetSize" ref="a76fc2aba131b5986d07d92c6888cfc0c" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt;<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&gt;&amp; irr::video::IVideoDriver::getCurrentRenderTargetSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the size of the current render target. </p>
<p>This method will return the screen size if the driver doesn't support render to texture, or if the current render target is the screen. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Size of render target or screen/window </dd></dl>

</div>
</div>
<a class="anchor" id="a2b43d2215f2e5aad9b4f92aa635bcc85"></a><!-- doxytag: member="irr::video::IVideoDriver::getDriverAttributes" ref="a2b43d2215f2e5aad9b4f92aa635bcc85" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a>&amp; irr::video::IVideoDriver::getDriverAttributes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get attributes of the actual video driver. </p>
<p>The following names can be queried for the given types: MaxTextures (int) The maximum number of simultaneous textures supported by the driver. This can be less than the supported number of textures of the driver. Use _IRR_MATERIAL_MAX_TEXTURES_ to adapt the number. MaxSupportedTextures (int) The maximum number of simultaneous textures supported by the fixed function pipeline of the (hw) driver. The actual supported number of textures supported by the engine can be lower. MaxLights (int) Number of hardware lights supported in the fixed function pipieline of the driver, typically 6-8. Use light manager or deferred shading for more. MaxAnisotropy (int) Number of anisotropy levels supported for filtering. At least 1, max is typically at 16 or 32. MaxUserClipPlanes (int) Number of additional clip planes, which can be set by the user via dedicated driver methods. MaxAuxBuffers (int) Special render buffers, which are currently not really usable inside Irrlicht. Only supported by OpenGL MaxMultipleRenderTargets (int) Number of render targets which can be bound simultaneously. Rendering to MRTs is done via shaders. MaxIndices (int) Number of indices which can be used in one render call (i.e. one mesh buffer). MaxTextureSize (int) Dimension that a texture may have, both in width and height. MaxGeometryVerticesOut (int) Number of vertices the geometry shader can output in one pass. Only OpenGL so far. MaxTextureLODBias (float) Maximum value for LOD bias. Is usually at around 16, but can be lower on some systems. Version (int) Version of the driver. Should be Major*100+Minor ShaderLanguageVersion (int) Version of the high level shader language. Should be Major*100+Minor. AntiAlias (int) Number of Samples the driver uses for each pixel. 0 and 1 means anti aliasing is off, typical values are 2,4,8,16,32 </p>

</div>
</div>
<a class="anchor" id="af89a0c4fcc0337f3befe8b90424e68aa"></a><!-- doxytag: member="irr::video::IVideoDriver::getDriverType" ref="af89a0c4fcc0337f3befe8b90424e68aa" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0">E_DRIVER_TYPE</a> irr::video::IVideoDriver::getDriverType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get type of video driver. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Type of driver. </dd></dl>

</div>
</div>
<a class="anchor" id="a9eb9ee246e85a56300031f7d7516054e"></a><!-- doxytag: member="irr::video::IVideoDriver::getDynamicLight" ref="a9eb9ee246e85a56300031f7d7516054e" args="(u32 idx) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="structirr_1_1video_1_1_s_light.html">SLight</a>&amp; irr::video::IVideoDriver::getDynamicLight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns light data which was previously set by <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a813a39352eae26c4d30b5882618639be">IVideoDriver::addDynamicLight()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>Zero based index of the light. Must be 0 or greater and smaller than <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9b1e5de698f264a9f74a17bdba313138" title="Returns amount of dynamic lights currently set.">IVideoDriver::getDynamicLightCount</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Light data. </dd></dl>

</div>
</div>
<a class="anchor" id="a9b1e5de698f264a9f74a17bdba313138"></a><!-- doxytag: member="irr::video::IVideoDriver::getDynamicLightCount" ref="a9b1e5de698f264a9f74a17bdba313138" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getDynamicLightCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns amount of dynamic lights currently set. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Amount of dynamic lights currently set </dd></dl>

</div>
</div>
<a class="anchor" id="a4f3535b2125e654e2e9645745e50cc49"></a><!-- doxytag: member="irr::video::IVideoDriver::getExposedVideoData" ref="a4f3535b2125e654e2e9645745e50cc49" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="structirr_1_1video_1_1_s_exposed_video_data.html">SExposedVideoData</a>&amp; irr::video::IVideoDriver::getExposedVideoData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns driver and operating system specific data about the <a class="el" href="classirr_1_1video_1_1_i_video_driver.html" title="Interface to driver which is able to perform 2d and 3d graphics functions.">IVideoDriver</a>. </p>
<p>This method should only be used if the engine should be extended without having to modify the source of the engine. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Collection of device dependent pointers. </dd></dl>

</div>
</div>
<a class="anchor" id="a29435c6a654675bdb276c89fd4a1356c"></a><!-- doxytag: member="irr::video::IVideoDriver::getFog" ref="a29435c6a654675bdb276c89fd4a1356c" args="(SColor &amp;color, E_FOG_TYPE &amp;fogType, f32 &amp;start, f32 &amp;end, f32 &amp;density, bool &amp;pixelFog, bool &amp;rangeFog)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::getFog </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> &amp;&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#adf41b1a85e067f5988ba1eb8bb50f44e">E_FOG_TYPE</a> &amp;&#160;</td>
          <td class="paramname"><em>fogType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;&#160;</td>
          <td class="paramname"><em>density</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>pixelFog</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>rangeFog</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the fog mode. </p>

</div>
</div>
<a class="anchor" id="a5b71428402c0b6a3b18b8f2fa408af13"></a><!-- doxytag: member="irr::video::IVideoDriver::getFPS" ref="a5b71428402c0b6a3b18b8f2fa408af13" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> irr::video::IVideoDriver::getFPS </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns current frames per second value. </p>
<p>This value is updated approximately every 1.5 seconds and is only intended to provide a rough guide to the average frame rate. It is not suitable for use in performing timing calculations or framerate independent movement. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Approximate amount of frames per second drawn. </dd></dl>

</div>
</div>
<a class="anchor" id="ad2098a408bbe9dad8053c3f4aea7d856"></a><!-- doxytag: member="irr::video::IVideoDriver::getGPUProgrammingServices" ref="ad2098a408bbe9dad8053c3f4aea7d856" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_g_p_u_programming_services.html">IGPUProgrammingServices</a>* irr::video::IVideoDriver::getGPUProgrammingServices </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the <a class="el" href="classirr_1_1video_1_1_i_g_p_u_programming_services.html" title="Interface making it possible to create and use programs running on the GPU.">IGPUProgrammingServices</a> interface. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the <a class="el" href="classirr_1_1video_1_1_i_g_p_u_programming_services.html" title="Interface making it possible to create and use programs running on the GPU.">IGPUProgrammingServices</a>. Returns 0 if the video driver does not support this. For example the Software driver and the Null driver will always return 0. </dd></dl>

</div>
</div>
<a class="anchor" id="a5cc08e7cd2ce2a30275e22ce13bb1013"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageLoader" ref="a5cc08e7cd2ce2a30275e22ce13bb1013" args="(u32 n)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image_loader.html">IImageLoader</a>* irr::video::IVideoDriver::getImageLoader </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the given image loader. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>The index of the loader to retrieve. This parameter is an 0-based array index. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the specified loader, 0 if the index is incorrect. </dd></dl>

</div>
</div>
<a class="anchor" id="a92535921ad01c90570533ba60b0b76b2"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageLoaderCount" ref="a92535921ad01c90570533ba60b0b76b2" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getImageLoaderCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the number of image loaders. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Number of image loaders </dd></dl>

</div>
</div>
<a class="anchor" id="acdc5e788993c117efebb22e155ab6a77"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageWriter" ref="acdc5e788993c117efebb22e155ab6a77" args="(u32 n)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image_writer.html">IImageWriter</a>* irr::video::IVideoDriver::getImageWriter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the given image writer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>The index of the writer to retrieve. This parameter is an 0-based array index. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the specified writer, 0 if the index is incorrect. </dd></dl>

</div>
</div>
<a class="anchor" id="a173f33f0537a1511abdf35ed235a683a"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageWriterCount" ref="a173f33f0537a1511abdf35ed235a683a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getImageWriterCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the number of image writers. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Number of image writers </dd></dl>

</div>
</div>
<a class="anchor" id="a198bbe60fdb1b5d6d0f4921e8a26109c"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaterial2D" ref="a198bbe60fdb1b5d6d0f4921e8a26109c" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_s_material.html">SMaterial</a>&amp; irr::video::IVideoDriver::getMaterial2D </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the 2d override material for altering its values. </p>
<p>The 2d override materual allows to alter certain render states of the 2d methods. Not all members of <a class="el" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">SMaterial</a> are honored, especially not MaterialType and Textures. Moreover, the zbuffer is always ignored, and lighting is always off. All other flags can be changed, though some might have to effect in most cases. Please note that you have to enable/disable this effect with enableInitMaterial2D(). This effect is costly, as it increases the number of state changes considerably. Always reset the values when done. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Material reference which should be altered to reflect the new settings. </dd></dl>

</div>
</div>
<a class="anchor" id="accb321dfb32ad3c76efb99427bc90cc8"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaterialRenderer" ref="accb321dfb32ad3c76efb99427bc90cc8" args="(u32 idx)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_material_renderer.html">IMaterialRenderer</a>* irr::video::IVideoDriver::getMaterialRenderer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get access to a material renderer by index. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>Id of the material renderer. Can be a value of the E_MATERIAL_TYPE enum or a value which was returned by <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a0dfc3a7168f3a73a6f4323b579f03ff6" title="Adds a new material renderer to the video device.">addMaterialRenderer()</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to material renderer or null if not existing. </dd></dl>

</div>
</div>
<a class="anchor" id="ac1d0e2e952afdcdbdd915dc106375381"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaterialRendererCount" ref="ac1d0e2e952afdcdbdd915dc106375381" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getMaterialRendererCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get amount of currently available material renderers. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Amount of currently available material renderers. </dd></dl>

</div>
</div>
<a class="anchor" id="ac6f8c53abcd5a24d94c84185b0ef65e0"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaterialRendererName" ref="ac6f8c53abcd5a24d94c84185b0ef65e0" args="(u32 idx) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a>* irr::video::IVideoDriver::getMaterialRendererName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get name of a material renderer. </p>
<p>This string can, e.g., be used to test if a specific renderer already has been registered/created, or use this string to store data about materials: This returned name will be also used when serializing materials. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>Id of the material renderer. Can be a value of the E_MATERIAL_TYPE enum or a value which was returned by <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a0dfc3a7168f3a73a6f4323b579f03ff6" title="Adds a new material renderer to the video device.">addMaterialRenderer()</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>String with the name of the renderer, or 0 if not exisiting </dd></dl>

</div>
</div>
<a class="anchor" id="ab64a2875011c8870fd011a486f3503ec"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaximalDynamicLightAmount" ref="ab64a2875011c8870fd011a486f3503ec" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getMaximalDynamicLightAmount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the maximal amount of dynamic lights the device can handle. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Maximal amount of dynamic lights. </dd></dl>

</div>
</div>
<a class="anchor" id="afd93e778fac79f7863da72a50e720f88"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaximalPrimitiveCount" ref="afd93e778fac79f7863da72a50e720f88" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getMaximalPrimitiveCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the maximum amount of primitives. </p>
<p>(mostly vertices) which the device is able to render with one drawVertexPrimitiveList call. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Maximum amount of primitives. </dd></dl>

</div>
</div>
<a class="anchor" id="a9bc9632861757d167c035bb5ecfa6854"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaxTextureSize" ref="a9bc9632861757d167c035bb5ecfa6854" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr_1_1core.html#ad2e562e3219072e2f7fc7c2bba0ef0cb">core::dimension2du</a> irr::video::IVideoDriver::getMaxTextureSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the maximum texture size supported. </p>

</div>
</div>
<a class="anchor" id="a9b76ea8ba013885c0f3d5f00131431ec"></a><!-- doxytag: member="irr::video::IVideoDriver::getMeshManipulator" ref="a9b76ea8ba013885c0f3d5f00131431ec" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_manipulator.html">scene::IMeshManipulator</a>* irr::video::IVideoDriver::getMeshManipulator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a pointer to the mesh manipulator. </p>

</div>
</div>
<a class="anchor" id="a87ca51832295b2dceaa1e258daf863f1"></a><!-- doxytag: member="irr::video::IVideoDriver::getName" ref="a87ca51832295b2dceaa1e258daf863f1" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const wchar_t* irr::video::IVideoDriver::getName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets name of this video driver. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the name of the video driver, e.g. in case of the Direct3D8 driver, it would return "Direct3D 8.1". </dd></dl>

</div>
</div>
<a class="anchor" id="a149ea92e04b2d0fe18bf5b584ccf6de4"></a><!-- doxytag: member="irr::video::IVideoDriver::getOcclusionQueryResult" ref="a149ea92e04b2d0fe18bf5b584ccf6de4" args="(scene::ISceneNode *node) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getOcclusionQueryResult </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *&#160;</td>
          <td class="paramname"><em>node</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return query result. </p>
<p>Return value is the number of visible pixels/fragments. The value is a safe approximation, i.e. can be larger than the actual value of pixels. </p>

</div>
</div>
<a class="anchor" id="af119ebfd02f99f77a463007277abf14a"></a><!-- doxytag: member="irr::video::IVideoDriver::getOverrideMaterial" ref="af119ebfd02f99f77a463007277abf14a" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structirr_1_1video_1_1_s_override_material.html">SOverrideMaterial</a>&amp; irr::video::IVideoDriver::getOverrideMaterial </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the global Material, which might override local materials. </p>
<p>Depending on the enable flags, values from this Material are used to override those of local materials of some meshbuffer being rendered. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Reference to the Override Material. </dd></dl>

</div>
</div>
<a class="anchor" id="a2ce9be45cacb4aa034d3afdb489a57a3"></a><!-- doxytag: member="irr::video::IVideoDriver::getPrimitiveCountDrawn" ref="a2ce9be45cacb4aa034d3afdb489a57a3" args="(u32 mode=0) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getPrimitiveCountDrawn </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>mode</em> = <code>0</code></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns amount of primitives (mostly triangles) which were drawn in the last frame. </p>
<p>Together with <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a5b71428402c0b6a3b18b8f2fa408af13" title="Returns current frames per second value.">getFPS()</a> very useful method for statistics. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>Defines if the primitives drawn are accumulated or counted per frame. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Amount of primitives drawn in the last frame. </dd></dl>

</div>
</div>
<a class="anchor" id="aa106dd9ff233497f9ea9a07dc6441c82"></a><!-- doxytag: member="irr::video::IVideoDriver::getScreenSize" ref="aa106dd9ff233497f9ea9a07dc6441c82" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt;<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&gt;&amp; irr::video::IVideoDriver::getScreenSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the size of the screen or render window. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Size of screen or render window. </dd></dl>

</div>
</div>
<a class="anchor" id="af4055165190e4adf221c6dc6f2434ea0"></a><!-- doxytag: member="irr::video::IVideoDriver::getTexture" ref="af4055165190e4adf221c6dc6f2434ea0" args="(const io::path &amp;filename)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::getTexture </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get access to a named texture. </p>
<p>Loads the texture from disk if it is not already loaded and generates mipmap levels if desired. Texture loading can be influenced using the <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a868b58a6b86b9e4841ca3879ce246c4e" title="Enables or disables a texture creation flag.">setTextureCreationFlag()</a> method. The texture can be in several imageformats, such as BMP, JPG, TGA, PCX, PNG, and PSD. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>Filename of the texture to be loaded. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the texture, or 0 if the texture could not be loaded. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

<p>Referenced by <a class="el" href="_i_q3_shader_8h_source.html#l00770">irr::scene::quake3::getTextures()</a>.</p>

</div>
</div>
<a class="anchor" id="aaf989c8688ffe2a28a4b8e7b6ec2bce7"></a><!-- doxytag: member="irr::video::IVideoDriver::getTexture" ref="aaf989c8688ffe2a28a4b8e7b6ec2bce7" args="(io::IReadFile *file)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::getTexture </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get access to a named texture. </p>
<p>Loads the texture from disk if it is not already loaded and generates mipmap levels if desired. Texture loading can be influenced using the <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a868b58a6b86b9e4841ca3879ce246c4e" title="Enables or disables a texture creation flag.">setTextureCreationFlag()</a> method. The texture can be in several imageformats, such as BMP, JPG, TGA, PCX, PNG, and PSD. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">file</td><td>Pointer to an already opened file. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the texture, or 0 if the texture could not be loaded. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div>
<a class="anchor" id="abfe395b1320ac52cea6be0e912135351"></a><!-- doxytag: member="irr::video::IVideoDriver::getTextureByIndex" ref="abfe395b1320ac52cea6be0e912135351" args="(u32 index)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::getTextureByIndex </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a texture by index. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index,:</td><td>Index of the texture, must be smaller than <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a4c3f976980dd8387db37feca8c8e2d73" title="Returns amount of textures currently loaded.">getTextureCount()</a> Please note that this index might change when adding or removing textures </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the texture, or 0 if the texture was not set or index is out of bounds. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div>
<a class="anchor" id="a4c3f976980dd8387db37feca8c8e2d73"></a><!-- doxytag: member="irr::video::IVideoDriver::getTextureCount" ref="a4c3f976980dd8387db37feca8c8e2d73" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getTextureCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns amount of textures currently loaded. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Amount of textures currently loaded </dd></dl>

</div>
</div>
<a class="anchor" id="ae64d474cbca38f64f2dbb8fcacb1a035"></a><!-- doxytag: member="irr::video::IVideoDriver::getTextureCreationFlag" ref="ae64d474cbca38f64f2dbb8fcacb1a035" args="(E_TEXTURE_CREATION_FLAG flag) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::video::IVideoDriver::getTextureCreationFlag </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876f">E_TEXTURE_CREATION_FLAG</a>&#160;</td>
          <td class="paramname"><em>flag</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns if a texture creation flag is enabled or disabled. </p>
<p>You can change this value using <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a868b58a6b86b9e4841ca3879ce246c4e" title="Enables or disables a texture creation flag.">setTextureCreationFlag()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">flag</td><td>Texture creation flag. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current texture creation flag enabled mode. </dd></dl>

</div>
</div>
<a class="anchor" id="a85c7d04aee02c2d5d8102279f9233101"></a><!-- doxytag: member="irr::video::IVideoDriver::getTransform" ref="a85c7d04aee02c2d5d8102279f9233101" args="(E_TRANSFORMATION_STATE state) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a>&amp; irr::video::IVideoDriver::getTransform </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">E_TRANSFORMATION_STATE</a>&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the transformation set by setTransform. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>Transformation type to query </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Matrix describing the transformation. </dd></dl>

</div>
</div>
<a class="anchor" id="a221a3ee79676ad9fbebc39cf0150516e"></a><!-- doxytag: member="irr::video::IVideoDriver::getVendorInfo" ref="a221a3ee79676ad9fbebc39cf0150516e" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr_1_1core.html#ade1071a878633f2f6d8a75c5d11fec19">core::stringc</a> irr::video::IVideoDriver::getVendorInfo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the graphics card vendor name. </p>

</div>
</div>
<a class="anchor" id="aa21810374736559e937fcad30ac699b4"></a><!-- doxytag: member="irr::video::IVideoDriver::getViewPort" ref="aa21810374736559e937fcad30ac699b4" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt;<a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&gt;&amp; irr::video::IVideoDriver::getViewPort </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the area of the current viewport. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Rectangle of the current viewport. </dd></dl>

</div>
</div>
<a class="anchor" id="a701e7d2101eb26888f57928134bc2ffb"></a><!-- doxytag: member="irr::video::IVideoDriver::makeColorKeyTexture" ref="a701e7d2101eb26888f57928134bc2ffb" args="(video::ITexture *texture, video::SColor color, bool zeroTexels=false) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::makeColorKeyTexture </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>zeroTexels</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a boolean alpha channel on the texture based on a color key. </p>
<p>This makes the texture fully transparent at the texels where this color key can be found when using for example draw2DImage with useAlphachannel==true. The alpha of other texels is not modified. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>Texture whose alpha channel is modified. </td></tr>
    <tr><td class="paramname">color</td><td>Color key color. Every texel with this color will become fully transparent as described above. Please note that the colors of a texture may be converted when loading it, so the color values may not be exactly the same in the engine and for example in picture edit programs. To avoid this problem, you could use the makeColorKeyTexture method, which takes the position of a pixel instead a color value. </td></tr>
    <tr><td class="paramname">zeroTexels\xrefitem</td><td>deprecated 21. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aed772902f4fe1185b44ce81b9b0b9add"></a><!-- doxytag: member="irr::video::IVideoDriver::makeColorKeyTexture" ref="aed772902f4fe1185b44ce81b9b0b9add" args="(video::ITexture *texture, core::position2d&lt; s32 &gt; colorKeyPixelPos, bool zeroTexels=false) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::makeColorKeyTexture </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt;&#160;</td>
          <td class="paramname"><em>colorKeyPixelPos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>zeroTexels</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a boolean alpha channel on the texture based on the color at a position. </p>
<p>This makes the texture fully transparent at the texels where the color key can be found when using for example draw2DImage with useAlphachannel==true. The alpha of other texels is not modified. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>Texture whose alpha channel is modified. </td></tr>
    <tr><td class="paramname">colorKeyPixelPos</td><td>Position of a pixel with the color key color. Every texel with this color will become fully transparent as described above. </td></tr>
    <tr><td class="paramname">zeroTexels\xrefitem</td><td>deprecated 22. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6470e31c1aaf2c0fa5e5a5b3f8f092e0"></a><!-- doxytag: member="irr::video::IVideoDriver::makeNormalMapTexture" ref="a6470e31c1aaf2c0fa5e5a5b3f8f092e0" args="(video::ITexture *texture, f32 amplitude=1.0f) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::makeNormalMapTexture </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>amplitude</em> = <code>1.0f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a normal map from a height map texture. </p>
<p>If the target texture has 32 bit, the height value is stored in the alpha component of the texture as addition. This value is used by the <a class="el" href="namespaceirr_1_1video.html#ac8e9b6c66f7cebabd1a6d30cbc5430f1a833aaad409476c3c4baf59e2d1096f4a" title="Just like EMT_NORMAL_MAP_SOLID, but uses parallax mapping.">video::EMT_PARALLAX_MAP_SOLID</a> material and similar materials. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>Texture whose alpha channel is modified. </td></tr>
    <tr><td class="paramname">amplitude</td><td>Constant value by which the height information is multiplied. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1a236e1233fc6fc2c5f36aaa830814fc"></a><!-- doxytag: member="irr::video::IVideoDriver::OnResize" ref="a1a236e1233fc6fc2c5f36aaa830814fc" args="(const core::dimension2d&lt; u32 &gt; &amp;size)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::OnResize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Event handler for resize events. Only used by the engine internally. </p>
<p>Used to notify the driver that the window was resized. Usually, there is no need to call this method. </p>

</div>
</div>
<a class="anchor" id="adde468368b77441ada246e1603da4f47"></a><!-- doxytag: member="irr::video::IVideoDriver::queryFeature" ref="adde468368b77441ada246e1603da4f47" args="(E_VIDEO_DRIVER_FEATURE feature) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::video::IVideoDriver::queryFeature </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a57b1721e42a79c5dcf8e830e3621e08f">E_VIDEO_DRIVER_FEATURE</a>&#160;</td>
          <td class="paramname"><em>feature</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Queries the features of the driver. </p>
<p>Returns true if a feature is available </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">feature</td><td>Feature to query. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the feature is available, false if not. </dd></dl>

</div>
</div>
<a class="anchor" id="a2538b3163d6e072f5b3deb905cb2abb0"></a><!-- doxytag: member="irr::video::IVideoDriver::removeAllHardwareBuffers" ref="a2538b3163d6e072f5b3deb905cb2abb0" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::removeAllHardwareBuffers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove all hardware buffers. </p>

</div>
</div>
<a class="anchor" id="a5d77478ed4e0896fd2fd8b8d042dc1ff"></a><!-- doxytag: member="irr::video::IVideoDriver::removeAllOcclusionQueries" ref="a5d77478ed4e0896fd2fd8b8d042dc1ff" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::removeAllOcclusionQueries </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove all occlusion queries. </p>

</div>
</div>
<a class="anchor" id="a179990e76fa91175d46c891b3508e717"></a><!-- doxytag: member="irr::video::IVideoDriver::removeAllTextures" ref="a179990e76fa91175d46c891b3508e717" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::removeAllTextures </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes all textures from the texture cache and deletes them. </p>
<p>This method can free a lot of memory! Please note that after calling this, the pointer to the <a class="el" href="classirr_1_1video_1_1_i_texture.html" title="Interface of a Video Driver dependent Texture.">ITexture</a> may no longer be valid, if it was not grabbed before by other parts of the engine for storing it longer. So it is a good idea to set all materials which are using this texture to 0 or another texture first. </p>

</div>
</div>
<a class="anchor" id="a1454ef5ba92de420f35678e2803485f6"></a><!-- doxytag: member="irr::video::IVideoDriver::removeHardwareBuffer" ref="a1454ef5ba92de420f35678e2803485f6" args="(const scene::IMeshBuffer *mb)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::removeHardwareBuffer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">scene::IMeshBuffer</a> *&#160;</td>
          <td class="paramname"><em>mb</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove hardware buffer. </p>

</div>
</div>
<a class="anchor" id="a9f7d9cec8356edf3e16e264e476d849a"></a><!-- doxytag: member="irr::video::IVideoDriver::removeOcclusionQuery" ref="a9f7d9cec8356edf3e16e264e476d849a" args="(scene::ISceneNode *node)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::removeOcclusionQuery </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *&#160;</td>
          <td class="paramname"><em>node</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove occlusion query. </p>

</div>
</div>
<a class="anchor" id="ac88319ec41daa23fef2ae935285afcc9"></a><!-- doxytag: member="irr::video::IVideoDriver::removeTexture" ref="ac88319ec41daa23fef2ae935285afcc9" args="(ITexture *texture)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::removeTexture </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes a texture from the texture cache and deletes it. </p>
<p>This method can free a lot of memory! Please note that after calling this, the pointer to the <a class="el" href="classirr_1_1video_1_1_i_texture.html" title="Interface of a Video Driver dependent Texture.">ITexture</a> may no longer be valid, if it was not grabbed before by other parts of the engine for storing it longer. So it is a good idea to set all materials which are using this texture to 0 or another texture first. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>Texture to delete from the engine cache. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2cefddb9ebd7f46ee946c04b301a5c5b"></a><!-- doxytag: member="irr::video::IVideoDriver::renameTexture" ref="a2cefddb9ebd7f46ee946c04b301a5c5b" args="(ITexture *texture, const io::path &amp;newName)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::renameTexture </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
          <td class="paramname"><em>newName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Renames a texture. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>Pointer to the texture to rename. </td></tr>
    <tr><td class="paramname">newName</td><td>New name for the texture. This should be a unique name. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae2ba500924a7d74fe74dd4724b737628"></a><!-- doxytag: member="irr::video::IVideoDriver::runAllOcclusionQueries" ref="ae2ba500924a7d74fe74dd4724b737628" args="(bool visible=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::runAllOcclusionQueries </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>visible</em> = <code>false</code></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Run all occlusion queries. Draws all meshes stored in queries. </p>
<p>If the meshes shall not be rendered visible, use overrideMaterial to disable the color and depth buffer. </p>

</div>
</div>
<a class="anchor" id="aaf92a35268dad06996c4f5edabec249f"></a><!-- doxytag: member="irr::video::IVideoDriver::runOcclusionQuery" ref="aaf92a35268dad06996c4f5edabec249f" args="(scene::ISceneNode *node, bool visible=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::runOcclusionQuery </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>visible</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Run occlusion query. Draws mesh stored in query. </p>
<p>If the mesh shall not be rendered visible, use overrideMaterial to disable the color and depth buffer. </p>

</div>
</div>
<a class="anchor" id="af78022589e5b7cb42b4d6ed2f7950e42"></a><!-- doxytag: member="irr::video::IVideoDriver::setAllowZWriteOnTransparent" ref="af78022589e5b7cb42b4d6ed2f7950e42" args="(bool flag)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::setAllowZWriteOnTransparent </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flag</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Only used by the engine internally. </p>
<p>Passes the global material flag AllowZWriteOnTransparent. Use the SceneManager attribute to set this value from your app. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">flag</td><td>Default behavior is to disable ZWrite, i.e. false. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaba8d96a8061264393fc74ac9a3cd04f"></a><!-- doxytag: member="irr::video::IVideoDriver::setAmbientLight" ref="aaba8d96a8061264393fc74ac9a3cd04f" args="(const SColorf &amp;color)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::setAmbientLight </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_colorf.html">SColorf</a> &amp;&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Only used by the engine internally. </p>
<p>The ambient color is set in the scene manager, see <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a8a424accb615c4f60fde59f55033a816" title="Sets ambient color of the scene.">scene::ISceneManager::setAmbientLight()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">color</td><td>New color of the ambient light. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a959ac385891941e7ec8d99b2f105b265"></a><!-- doxytag: member="irr::video::IVideoDriver::setClipPlane" ref="a959ac385891941e7ec8d99b2f105b265" args="(u32 index, const core::plane3df &amp;plane, bool enable=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::video::IVideoDriver::setClipPlane </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#ae7491b7985dcb74b840bfcd9c054b232">core::plane3df</a> &amp;&#160;</td>
          <td class="paramname"><em>plane</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set or unset a clipping plane. </p>
<p>There are at least 6 clipping planes available for the user to set at will. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The plane index. Must be between 0 and MaxUserClipPlanes. </td></tr>
    <tr><td class="paramname">plane</td><td>The plane itself. </td></tr>
    <tr><td class="paramname">enable</td><td>If true, enable the clipping plane else disable it. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the clipping plane is usable. </dd></dl>

</div>
</div>
<a class="anchor" id="af8cbb090b42198244c1703eb17024bbc"></a><!-- doxytag: member="irr::video::IVideoDriver::setFog" ref="af8cbb090b42198244c1703eb17024bbc" args="(SColor color=SColor(0, 255, 255, 255), E_FOG_TYPE fogType=EFT_FOG_LINEAR, f32 start=50.0f, f32 end=100.0f, f32 density=0.01f, bool pixelFog=false, bool rangeFog=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::setFog </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>(0,&#160;255,&#160;255,&#160;255)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#adf41b1a85e067f5988ba1eb8bb50f44e">E_FOG_TYPE</a>&#160;</td>
          <td class="paramname"><em>fogType</em> = <code>EFT_FOG_LINEAR</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>start</em> = <code>50.0f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>end</em> = <code>100.0f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
          <td class="paramname"><em>density</em> = <code>0.01f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>pixelFog</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>rangeFog</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the fog mode. </p>
<p>These are global values attached to each 3d object rendered, which has the fog flag enabled in its material. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">color</td><td>Color of the fog </td></tr>
    <tr><td class="paramname">fogType</td><td>Type of fog used </td></tr>
    <tr><td class="paramname">start</td><td>Only used in linear fog mode (linearFog=true). Specifies where fog starts. </td></tr>
    <tr><td class="paramname">end</td><td>Only used in linear fog mode (linearFog=true). Specifies where fog ends. </td></tr>
    <tr><td class="paramname">density</td><td>Only used in exponential fog mode (linearFog=false). Must be a value between 0 and 1. </td></tr>
    <tr><td class="paramname">pixelFog</td><td>Set this to false for vertex fog, and true if you want per-pixel fog. </td></tr>
    <tr><td class="paramname">rangeFog</td><td>Set this to true to enable range-based vertex fog. The distance from the viewer is used to compute the fog, not the z-coordinate. This is better, but slower. This might not be available with all drivers and fog settings. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8c9e31b41b7e6fd26cf65ce538ebab05"></a><!-- doxytag: member="irr::video::IVideoDriver::setMaterial" ref="a8c9e31b41b7e6fd26cf65ce538ebab05" args="(const SMaterial &amp;material)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::setMaterial </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_material.html">SMaterial</a> &amp;&#160;</td>
          <td class="paramname"><em>material</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a material. </p>
<p>All 3d drawing functions will draw geometry using this material thereafter. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">material,:</td><td>Material to be used from now on. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4ef324ed93094f84832e8d31cf0776f2"></a><!-- doxytag: member="irr::video::IVideoDriver::setMaterialRendererName" ref="a4ef324ed93094f84832e8d31cf0776f2" args="(s32 idx, const c8 *name)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::setMaterialRendererName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the name of a material renderer. </p>
<p>Will have no effect on built-in material renderers. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">idx,:</td><td>Id of the material renderer. Can be a value of the E_MATERIAL_TYPE enum or a value which was returned by <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a0dfc3a7168f3a73a6f4323b579f03ff6" title="Adds a new material renderer to the video device.">addMaterialRenderer()</a>. </td></tr>
    <tr><td class="paramname">name,:</td><td>New name of the material renderer. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a79cbd1329b4206503e9a9593592502ea"></a><!-- doxytag: member="irr::video::IVideoDriver::setMinHardwareBufferVertexCount" ref="a79cbd1329b4206503e9a9593592502ea" args="(u32 count)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::setMinHardwareBufferVertexCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>count</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the minimum number of vertices for which a hw buffer will be created. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">count</td><td>Number of vertices to set as minimum. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8c38a8d8d6d49be53bda55eb0749e7eb"></a><!-- doxytag: member="irr::video::IVideoDriver::setRenderTarget" ref="a8c38a8d8d6d49be53bda55eb0749e7eb" args="(video::ITexture *texture, bool clearBackBuffer=true, bool clearZBuffer=true, SColor color=video::SColor(0, 0, 0, 0))=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::video::IVideoDriver::setRenderTarget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clearBackBuffer</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clearZBuffer</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0,&#160;0,&#160;0,&#160;0)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a new render target. </p>
<p>This will only work if the driver supports the EVDF_RENDER_TO_TARGET feature, which can be queried with <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#adde468368b77441ada246e1603da4f47" title="Queries the features of the driver.">queryFeature()</a>. Usually, rendering to textures is done in this way: </p>
<div class="fragment"><pre class="fragment">        <span class="comment">// create render target</span>
        ITexture* target = driver-&gt;addRenderTargetTexture(core::dimension2d&lt;u32&gt;(128,128), <span class="stringliteral">&quot;rtt1&quot;</span>);

        <span class="comment">// ...</span>

        driver-&gt;setRenderTarget(target); <span class="comment">// set render target</span>
        <span class="comment">// .. draw stuff here</span>
        driver-&gt;setRenderTarget(0); <span class="comment">// set previous render target</span>
</pre></div><p> Please note that you cannot render 3D or 2D geometry with a render target as texture on it when you are rendering the scene into this render target at the same time. It is usually only possible to render into a texture between the <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a015b8f2f18c260a00a858181be1e9945" title="Applications must call this method before performing any rendering.">IVideoDriver::beginScene()</a> and <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a75f61a93c5fc9fdf161c044d27bc994e" title="Presents the rendered image to the screen.">endScene()</a> method calls. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">texture</td><td>New render target. Must be a texture created with <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aa704cece826ee37d02e4bb054b0b8797" title="Adds a new render target texture to the texture cache.">IVideoDriver::addRenderTargetTexture()</a>. If set to 0, it sets the previous render target which was set before the last <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a8c38a8d8d6d49be53bda55eb0749e7eb" title="Sets a new render target.">setRenderTarget()</a> call. </td></tr>
    <tr><td class="paramname">clearBackBuffer</td><td>Clears the backbuffer of the render target with the color parameter </td></tr>
    <tr><td class="paramname">clearZBuffer</td><td>Clears the zBuffer of the rendertarget. Note that because the frame buffer may share the zbuffer with the rendertarget, its zbuffer might be partially cleared too by this. </td></tr>
    <tr><td class="paramname">color</td><td>The background color for the render target. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if sucessful and false if not. </dd></dl>

</div>
</div>
<a class="anchor" id="ad75e7606ab186f1e31cc126bcaaeba9c"></a><!-- doxytag: member="irr::video::IVideoDriver::setRenderTarget" ref="ad75e7606ab186f1e31cc126bcaaeba9c" args="(E_RENDER_TARGET target, bool clearTarget=true, bool clearZBuffer=true, SColor color=video::SColor(0, 0, 0, 0))=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::video::IVideoDriver::setRenderTarget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a5b61a3f2bd5d458f76f2eb20b0f40972">E_RENDER_TARGET</a>&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clearTarget</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clearZBuffer</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0,&#160;0,&#160;0,&#160;0)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>set or reset special render targets </p>
<p>This method enables access to special color buffers such as stereoscopic buffers or auxiliary buffers. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>Enum value for the render target </td></tr>
    <tr><td class="paramname">clearTarget</td><td>Clears the target buffer with the color parameter </td></tr>
    <tr><td class="paramname">clearZBuffer</td><td>Clears the zBuffer of the rendertarget. Note that because the main frame buffer may share the zbuffer with the rendertarget, its zbuffer might be partially cleared too by this. </td></tr>
    <tr><td class="paramname">color</td><td>The background color for the render target. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if sucessful and false if not. </dd></dl>

</div>
</div>
<a class="anchor" id="a1e2bd871ef54ae9bf16c3a49b318d777"></a><!-- doxytag: member="irr::video::IVideoDriver::setRenderTarget" ref="a1e2bd871ef54ae9bf16c3a49b318d777" args="(const core::array&lt; video::IRenderTarget &gt; &amp;texture, bool clearBackBuffer=true, bool clearZBuffer=true, SColor color=video::SColor(0, 0, 0, 0))=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::video::IVideoDriver::setRenderTarget </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="structirr_1_1video_1_1_i_render_target.html">video::IRenderTarget</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clearBackBuffer</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clearZBuffer</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
          <td class="paramname"><em>color</em> = <code><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>(0,&#160;0,&#160;0,&#160;0)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets new multiple render targets. </p>

</div>
</div>
<a class="anchor" id="a868b58a6b86b9e4841ca3879ce246c4e"></a><!-- doxytag: member="irr::video::IVideoDriver::setTextureCreationFlag" ref="a868b58a6b86b9e4841ca3879ce246c4e" args="(E_TEXTURE_CREATION_FLAG flag, bool enabled=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::setTextureCreationFlag </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876f">E_TEXTURE_CREATION_FLAG</a>&#160;</td>
          <td class="paramname"><em>flag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enables or disables a texture creation flag. </p>
<p>These flags define how textures should be created. By changing this value, you can influence for example the speed of rendering a lot. But please note that the video drivers take this value only as recommendation. It could happen that you enable the ETCF_ALWAYS_16_BIT mode, but the driver still creates 32 bit textures. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">flag</td><td>Texture creation flag. </td></tr>
    <tr><td class="paramname">enabled</td><td>Specifies if the given flag should be enabled or disabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaf6e88bedf7b91666a2bd34f46e092fc"></a><!-- doxytag: member="irr::video::IVideoDriver::setTransform" ref="aaf6e88bedf7b91666a2bd34f46e092fc" args="(E_TRANSFORMATION_STATE state, const core::matrix4 &amp;mat)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::setTransform </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">E_TRANSFORMATION_STATE</a>&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;&#160;</td>
          <td class="paramname"><em>mat</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets transformation matrices. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>Transformation type to be set, e.g. view, world, or projection. </td></tr>
    <tr><td class="paramname">mat</td><td>Matrix describing the transformation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af03cf9b67bb7b43a8021bbe4baa78a08"></a><!-- doxytag: member="irr::video::IVideoDriver::setViewPort" ref="af03cf9b67bb7b43a8021bbe4baa78a08" args="(const core::rect&lt; s32 &gt; &amp;area)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::setViewPort </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>area</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a new viewport. </p>
<p>Every rendering operation is done into this new area. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">area,:</td><td>Rectangle defining the new area of rendering operations. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3c26904f7d1bf0e37d51fe71562346a0"></a><!-- doxytag: member="irr::video::IVideoDriver::turnLightOn" ref="a3c26904f7d1bf0e37d51fe71562346a0" args="(s32 lightIndex, bool turnOn)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::turnLightOn </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
          <td class="paramname"><em>lightIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>turnOn</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Turns a dynamic light on or off </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">lightIndex,:</td><td>the index returned by addDynamicLight </td></tr>
    <tr><td class="paramname">turnOn,:</td><td>true to turn the light on, false to turn it off </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab611513a8cdb3cc62c29b864de0d1de7"></a><!-- doxytag: member="irr::video::IVideoDriver::updateAllOcclusionQueries" ref="ab611513a8cdb3cc62c29b864de0d1de7" args="(bool block=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::updateAllOcclusionQueries </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>block</em> = <code>true</code></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update all occlusion queries. Retrieves results from GPU. </p>
<p>If the query shall not block, set the flag to false. Update might not occur in this case, though </p>

</div>
</div>
<a class="anchor" id="a626061128fcf018516c6d931bd616ea7"></a><!-- doxytag: member="irr::video::IVideoDriver::updateOcclusionQuery" ref="a626061128fcf018516c6d931bd616ea7" args="(scene::ISceneNode *node, bool block=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::updateOcclusionQuery </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>block</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update occlusion query. Retrieves results from GPU. </p>
<p>If the query shall not block, set the flag to false. Update might not occur in this case, though </p>

</div>
</div>
<a class="anchor" id="a407d6a1483f995060035340e0a92ce9b"></a><!-- doxytag: member="irr::video::IVideoDriver::writeImageToFile" ref="a407d6a1483f995060035340e0a92ce9b" args="(IImage *image, const io::path &amp;filename, u32 param=0)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::video::IVideoDriver::writeImageToFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>param</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Writes the provided image to a file. </p>
<p>Requires that there is a suitable image writer registered for writing the image. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>Image to write. </td></tr>
    <tr><td class="paramname">filename</td><td>Name of the file to write. </td></tr>
    <tr><td class="paramname">param</td><td>Control parameter for the backend (e.g. compression level). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True on successful write. </dd></dl>

</div>
</div>
<a class="anchor" id="ae12c362cfbc92a7c59b434666c8436c0"></a><!-- doxytag: member="irr::video::IVideoDriver::writeImageToFile" ref="ae12c362cfbc92a7c59b434666c8436c0" args="(IImage *image, io::IWriteFile *file, u32 param=0)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::video::IVideoDriver::writeImageToFile </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_write_file.html">io::IWriteFile</a> *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>param</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Writes the provided image to a file. </p>
<p>Requires that there is a suitable image writer registered for writing the image. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>Image to write. </td></tr>
    <tr><td class="paramname">file</td><td>An already open <a class="el" href="classirr_1_1io_1_1_i_write_file.html" title="Interface providing write access to a file.">io::IWriteFile</a> object. The name will be used to determine the appropriate image writer to use. </td></tr>
    <tr><td class="paramname">param</td><td>Control parameter for the backend (e.g. compression level). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True on successful write. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceirr.html">irr</a>      </li>
      <li class="navelem"><a class="el" href="namespaceirr_1_1video.html">video</a>      </li>
      <li class="navelem"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html">IVideoDriver</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:48 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>