aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_video_driver.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_video_driver.html')
-rw-r--r--src/others/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_video_driver.html4478
1 files changed, 4478 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_video_driver.html b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_video_driver.html
new file mode 100644
index 0000000..a6afc35
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_video_driver.html
@@ -0,0 +1,4478 @@
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<title>Irrlicht 3D Engine: irr::video::IVideoDriver Class Reference</title>
6
7<link href="tabs.css" rel="stylesheet" type="text/css"/>
8<link href="doxygen.css" rel="stylesheet" type="text/css" />
9<link href="navtree.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="resize.js"></script>
12<script type="text/javascript" src="navtree.js"></script>
13<script type="text/javascript">
14 $(document).ready(initResizable);
15</script>
16<link href="search/search.css" rel="stylesheet" type="text/css"/>
17<script type="text/javascript" src="search/search.js"></script>
18<script type="text/javascript">
19 $(document).ready(function() { searchBox.OnSelectItem(0); });
20</script>
21
22</head>
23<body>
24<div id="top"><!-- do not remove this div! -->
25
26
27<div id="titlearea">
28<table cellspacing="0" cellpadding="0">
29 <tbody>
30 <tr style="height: 56px;">
31
32 <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
33
34
35 <td style="padding-left: 0.5em;">
36 <div id="projectname">Irrlicht 3D Engine
37
38 </div>
39
40 </td>
41
42
43
44
45 <td> <div id="MSearchBox" class="MSearchBoxInactive">
46 <span class="left">
47 <img id="MSearchSelect" src="search/mag_sel.png"
48 onmouseover="return searchBox.OnSearchSelectShow()"
49 onmouseout="return searchBox.OnSearchSelectHide()"
50 alt=""/>
51 <input type="text" id="MSearchField" value="Search" accesskey="S"
52 onfocus="searchBox.OnSearchFieldFocus(true)"
53 onblur="searchBox.OnSearchFieldFocus(false)"
54 onkeyup="searchBox.OnSearchFieldChange(event)"/>
55 </span><span class="right">
56 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
57 </span>
58 </div>
59</td>
60
61
62 </tr>
63 </tbody>
64</table>
65</div>
66
67<!-- Generated by Doxygen 1.7.5.1 -->
68<script type="text/javascript">
69var searchBox = new SearchBox("searchBox", "search",false,'Search');
70</script>
71<script type="text/javascript" src="dynsections.js"></script>
72</div>
73<div id="side-nav" class="ui-resizable side-nav-resizable">
74 <div id="nav-tree">
75 <div id="nav-tree-contents">
76 </div>
77 </div>
78 <div id="splitbar" style="-moz-user-select:none;"
79 class="ui-resizable-handle">
80 </div>
81</div>
82<script type="text/javascript">
83 initNavTree('classirr_1_1video_1_1_i_video_driver.html','');
84</script>
85<div id="doc-content">
86<div class="header">
87 <div class="summary">
88<a href="#pub-methods">Public Member Functions</a> </div>
89 <div class="headertitle">
90<div class="title">irr::video::IVideoDriver Class Reference</div> </div>
91</div>
92<div class="contents">
93<!-- doxytag: class="irr::video::IVideoDriver" --><!-- doxytag: inherits="irr::IReferenceCounted" -->
94<p>Interface to driver which is able to perform 2d and 3d graphics functions.
95 <a href="classirr_1_1video_1_1_i_video_driver.html#details">More...</a></p>
96
97<p><code>#include &lt;<a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>&gt;</code></p>
98<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
99 <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for irr::video::IVideoDriver:</div>
100<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
101</div>
102<div id="dynsection-0-content" class="dyncontent" style="display:none;">
103 <div class="center">
104 <img src="classirr_1_1video_1_1_i_video_driver.png" usemap="#irr::video::IVideoDriver_map" alt=""/>
105 <map id="irr::video::IVideoDriver_map" name="irr::video::IVideoDriver_map">
106<area href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine." alt="irr::IReferenceCounted" shape="rect" coords="0,0,140,24"/>
107</map>
108 </div></div>
109
110<p><a href="classirr_1_1video_1_1_i_video_driver-members.html">List of all members.</a></p>
111<h2><a name="pub-methods"></a>
112Public Member Functions</h2>
113<ul>
114<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
115<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
116<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
117<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
118<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
119<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
120<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
121<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
122<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
123<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
124<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
125<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
126<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
127<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
128<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
129<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
130<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
131<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
132<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
133<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
134<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
135<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
136<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
137<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
138<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
139<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
140<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
141<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
142<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
143<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
144<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
145<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
146<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
147<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
148<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
149<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
150<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
151<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)
152<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)
153<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)
154<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)
155<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)
156<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)
157<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
158<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
159<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
160<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
161<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
162<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
163<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
164<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
165<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
166<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
167<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
168<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
169<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"/>
170<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
171<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
172<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
173<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
174<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
175<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
176<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
177<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
178<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
179<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
180<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
181<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
182<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
183<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
184<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
185<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
186<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
187<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
188<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
189<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
190<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
191<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
192<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
193<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
194<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
195<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"/>
196<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
197<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
198<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
199<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
200<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
201<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
202<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
203<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
204<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
205<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
206<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
207<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
208<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
209<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
210<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
211<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
212<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
213<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
214<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
215<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
216<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
217<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
218<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
219<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
220<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
221<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
222<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
223<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
224<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
225<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
226<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
227<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
228<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
229<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
230<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
231<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
232<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
233<li>virtual void <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab611513a8cdb3cc62c29b864de0d1de7">updateAllOcclusionQueries</a> (bool block=true)=0
234<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
235<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
236<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
237<dl class="el"><dd class="mdescRight">Writes the provided image to a file. <a href="#ae12c362cfbc92a7c59b434666c8436c0"></a><br/></dl></ul>
238<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
239<div class="textblock"><p>Interface to driver which is able to perform 2d and 3d graphics functions. </p>
240<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>
241
242<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>
243</div><hr/><h2>Member Function Documentation</h2>
244<a class="anchor" id="a813a39352eae26c4d30b5882618639be"></a><!-- doxytag: member="irr::video::IVideoDriver::addDynamicLight" ref="a813a39352eae26c4d30b5882618639be" args="(const SLight &amp;light)=0" -->
245<div class="memitem">
246<div class="memproto">
247 <table class="memname">
248 <tr>
249 <td class="memname">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> irr::video::IVideoDriver::addDynamicLight </td>
250 <td>(</td>
251 <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s_light.html">SLight</a> &amp;&#160;</td>
252 <td class="paramname"><em>light</em></td><td>)</td>
253 <td><code> [pure virtual]</code></td>
254 </tr>
255 </table>
256</div>
257<div class="memdoc">
258<p>adds a dynamic light, returning an index to the light </p>
259<dl><dt><b>Parameters:</b></dt><dd>
260 <table class="params">
261 <tr><td class="paramname">light,:</td><td>the light data to use to create the light </td></tr>
262 </table>
263 </dd>
264</dl>
265<dl class="return"><dt><b>Returns:</b></dt><dd>An index to the light, or -1 if an error occurs </dd></dl>
266
267</div>
268</div>
269<a class="anchor" id="a9479ae15f0e26eaaf15c9420ff289b6d"></a><!-- doxytag: member="irr::video::IVideoDriver::addExternalImageLoader" ref="a9479ae15f0e26eaaf15c9420ff289b6d" args="(IImageLoader *loader)=0" -->
270<div class="memitem">
271<div class="memproto">
272 <table class="memname">
273 <tr>
274 <td class="memname">virtual void irr::video::IVideoDriver::addExternalImageLoader </td>
275 <td>(</td>
276 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image_loader.html">IImageLoader</a> *&#160;</td>
277 <td class="paramname"><em>loader</em></td><td>)</td>
278 <td><code> [pure virtual]</code></td>
279 </tr>
280 </table>
281</div>
282<div class="memdoc">
283
284<p>Adds an external image loader to the engine. </p>
285<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>
286<dl><dt><b>Parameters:</b></dt><dd>
287 <table class="params">
288 <tr><td class="paramname">loader</td><td>Pointer to the external loader created. </td></tr>
289 </table>
290 </dd>
291</dl>
292
293</div>
294</div>
295<a class="anchor" id="a56160e0d88346e04db921fbe4635a7ae"></a><!-- doxytag: member="irr::video::IVideoDriver::addExternalImageWriter" ref="a56160e0d88346e04db921fbe4635a7ae" args="(IImageWriter *writer)=0" -->
296<div class="memitem">
297<div class="memproto">
298 <table class="memname">
299 <tr>
300 <td class="memname">virtual void irr::video::IVideoDriver::addExternalImageWriter </td>
301 <td>(</td>
302 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image_writer.html">IImageWriter</a> *&#160;</td>
303 <td class="paramname"><em>writer</em></td><td>)</td>
304 <td><code> [pure virtual]</code></td>
305 </tr>
306 </table>
307</div>
308<div class="memdoc">
309
310<p>Adds an external image writer to the engine. </p>
311<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>
312<dl><dt><b>Parameters:</b></dt><dd>
313 <table class="params">
314 <tr><td class="paramname">writer,:</td><td>Pointer to the external writer created. </td></tr>
315 </table>
316 </dd>
317</dl>
318
319</div>
320</div>
321<a class="anchor" id="a0dfc3a7168f3a73a6f4323b579f03ff6"></a><!-- doxytag: member="irr::video::IVideoDriver::addMaterialRenderer" ref="a0dfc3a7168f3a73a6f4323b579f03ff6" args="(IMaterialRenderer *renderer, const c8 *name=0)=0" -->
322<div class="memitem">
323<div class="memproto">
324 <table class="memname">
325 <tr>
326 <td class="memname">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> irr::video::IVideoDriver::addMaterialRenderer </td>
327 <td>(</td>
328 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_material_renderer.html">IMaterialRenderer</a> *&#160;</td>
329 <td class="paramname"><em>renderer</em>, </td>
330 </tr>
331 <tr>
332 <td class="paramkey"></td>
333 <td></td>
334 <td class="paramtype">const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> *&#160;</td>
335 <td class="paramname"><em>name</em> = <code>0</code>&#160;</td>
336 </tr>
337 <tr>
338 <td></td>
339 <td>)</td>
340 <td></td><td><code> [pure virtual]</code></td>
341 </tr>
342 </table>
343</div>
344<div class="memdoc">
345
346<p>Adds a new material renderer to the video device. </p>
347<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>
348<dl><dt><b>Parameters:</b></dt><dd>
349 <table class="params">
350 <tr><td class="paramname">renderer</td><td>A pointer to the new renderer. </td></tr>
351 <tr><td class="paramname">name</td><td>Optional name for the material renderer entry. </td></tr>
352 </table>
353 </dd>
354</dl>
355<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>
356
357</div>
358</div>
359<a class="anchor" id="a07f15814e039772ee43be272e97d1633"></a><!-- doxytag: member="irr::video::IVideoDriver::addOcclusionQuery" ref="a07f15814e039772ee43be272e97d1633" args="(scene::ISceneNode *node, const scene::IMesh *mesh=0)=0" -->
360<div class="memitem">
361<div class="memproto">
362 <table class="memname">
363 <tr>
364 <td class="memname">virtual void irr::video::IVideoDriver::addOcclusionQuery </td>
365 <td>(</td>
366 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *&#160;</td>
367 <td class="paramname"><em>node</em>, </td>
368 </tr>
369 <tr>
370 <td class="paramkey"></td>
371 <td></td>
372 <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">scene::IMesh</a> *&#160;</td>
373 <td class="paramname"><em>mesh</em> = <code>0</code>&#160;</td>
374 </tr>
375 <tr>
376 <td></td>
377 <td>)</td>
378 <td></td><td><code> [pure virtual]</code></td>
379 </tr>
380 </table>
381</div>
382<div class="memdoc">
383
384<p>Create occlusion query. </p>
385<p>Use node for identification and mesh for occlusion test. </p>
386
387</div>
388</div>
389<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" -->
390<div class="memitem">
391<div class="memproto">
392 <table class="memname">
393 <tr>
394 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::addRenderTargetTexture </td>
395 <td>(</td>
396 <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>
397 <td class="paramname"><em>size</em>, </td>
398 </tr>
399 <tr>
400 <td class="paramkey"></td>
401 <td></td>
402 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
403 <td class="paramname"><em>name</em> = <code>&quot;rt&quot;</code>, </td>
404 </tr>
405 <tr>
406 <td class="paramkey"></td>
407 <td></td>
408 <td class="paramtype">const <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
409 <td class="paramname"><em>format</em> = <code>ECF_UNKNOWN</code>&#160;</td>
410 </tr>
411 <tr>
412 <td></td>
413 <td>)</td>
414 <td></td><td><code> [pure virtual]</code></td>
415 </tr>
416 </table>
417</div>
418<div class="memdoc">
419
420<p>Adds a new render target texture to the texture cache. </p>
421<dl><dt><b>Parameters:</b></dt><dd>
422 <table class="params">
423 <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>
424 <tr><td class="paramname">name</td><td>An optional name for the RTT. </td></tr>
425 <tr><td class="paramname">format</td><td>The color format of the render target. Floating point formats are supported. </td></tr>
426 </table>
427 </dd>
428</dl>
429<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>
430
431</div>
432</div>
433<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" -->
434<div class="memitem">
435<div class="memproto">
436 <table class="memname">
437 <tr>
438 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::addTexture </td>
439 <td>(</td>
440 <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>
441 <td class="paramname"><em>size</em>, </td>
442 </tr>
443 <tr>
444 <td class="paramkey"></td>
445 <td></td>
446 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
447 <td class="paramname"><em>name</em>, </td>
448 </tr>
449 <tr>
450 <td class="paramkey"></td>
451 <td></td>
452 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
453 <td class="paramname"><em>format</em> = <code>ECF_A8R8G8B8</code>&#160;</td>
454 </tr>
455 <tr>
456 <td></td>
457 <td>)</td>
458 <td></td><td><code> [pure virtual]</code></td>
459 </tr>
460 </table>
461</div>
462<div class="memdoc">
463
464<p>Creates an empty texture of specified size. </p>
465<dl><dt><b>Parameters:</b></dt><dd>
466 <table class="params">
467 <tr><td class="paramname">size,:</td><td>Size of the texture. </td></tr>
468 <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>
469 <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>
470 </table>
471 </dd>
472</dl>
473<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>
474
475<p>Referenced by <a class="el" href="_i_q3_shader_8h_source.html#l00770">irr::scene::quake3::getTextures()</a>.</p>
476
477</div>
478</div>
479<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" -->
480<div class="memitem">
481<div class="memproto">
482 <table class="memname">
483 <tr>
484 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::addTexture </td>
485 <td>(</td>
486 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
487 <td class="paramname"><em>name</em>, </td>
488 </tr>
489 <tr>
490 <td class="paramkey"></td>
491 <td></td>
492 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&#160;</td>
493 <td class="paramname"><em>image</em>, </td>
494 </tr>
495 <tr>
496 <td class="paramkey"></td>
497 <td></td>
498 <td class="paramtype">void *&#160;</td>
499 <td class="paramname"><em>mipmapData</em> = <code>0</code>&#160;</td>
500 </tr>
501 <tr>
502 <td></td>
503 <td>)</td>
504 <td></td><td><code> [pure virtual]</code></td>
505 </tr>
506 </table>
507</div>
508<div class="memdoc">
509
510<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>
511<dl><dt><b>Parameters:</b></dt><dd>
512 <table class="params">
513 <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>
514 <tr><td class="paramname">image</td><td>Image the texture is created from. </td></tr>
515 <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>
516 </table>
517 </dd>
518</dl>
519<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>
520
521</div>
522</div>
523<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" -->
524<div class="memitem">
525<div class="memproto">
526 <table class="memname">
527 <tr>
528 <td class="memname">virtual bool irr::video::IVideoDriver::beginScene </td>
529 <td>(</td>
530 <td class="paramtype">bool&#160;</td>
531 <td class="paramname"><em>backBuffer</em> = <code>true</code>, </td>
532 </tr>
533 <tr>
534 <td class="paramkey"></td>
535 <td></td>
536 <td class="paramtype">bool&#160;</td>
537 <td class="paramname"><em>zBuffer</em> = <code>true</code>, </td>
538 </tr>
539 <tr>
540 <td class="paramkey"></td>
541 <td></td>
542 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
543 <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>
544 </tr>
545 <tr>
546 <td class="paramkey"></td>
547 <td></td>
548 <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s_exposed_video_data.html">SExposedVideoData</a> &amp;&#160;</td>
549 <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>
550 </tr>
551 <tr>
552 <td class="paramkey"></td>
553 <td></td>
554 <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>
555 <td class="paramname"><em>sourceRect</em> = <code>0</code>&#160;</td>
556 </tr>
557 <tr>
558 <td></td>
559 <td>)</td>
560 <td></td><td><code> [pure virtual]</code></td>
561 </tr>
562 </table>
563</div>
564<div class="memdoc">
565
566<p>Applications must call this method before performing any rendering. </p>
567<p>This method can clear the back- and the z-buffer. </p>
568<dl><dt><b>Parameters:</b></dt><dd>
569 <table class="params">
570 <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>
571 <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>
572 <tr><td class="paramname">color</td><td>The color used for back buffer clearing </td></tr>
573 <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>
574 <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>
575 </table>
576 </dd>
577</dl>
578<dl class="return"><dt><b>Returns:</b></dt><dd>False if failed. </dd></dl>
579
580</div>
581</div>
582<a class="anchor" id="a4ba84ee992939fc913d4935caffce87b"></a><!-- doxytag: member="irr::video::IVideoDriver::checkDriverReset" ref="a4ba84ee992939fc913d4935caffce87b" args="()=0" -->
583<div class="memitem">
584<div class="memproto">
585 <table class="memname">
586 <tr>
587 <td class="memname">virtual bool irr::video::IVideoDriver::checkDriverReset </td>
588 <td>(</td>
589 <td class="paramname"></td><td>)</td>
590 <td><code> [pure virtual]</code></td>
591 </tr>
592 </table>
593</div>
594<div class="memdoc">
595
596<p>Check if the driver was recently reset. </p>
597<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>
598
599</div>
600</div>
601<a class="anchor" id="a2036fe0a27dbd1a123ff5aedb07373a5"></a><!-- doxytag: member="irr::video::IVideoDriver::clearZBuffer" ref="a2036fe0a27dbd1a123ff5aedb07373a5" args="()=0" -->
602<div class="memitem">
603<div class="memproto">
604 <table class="memname">
605 <tr>
606 <td class="memname">virtual void irr::video::IVideoDriver::clearZBuffer </td>
607 <td>(</td>
608 <td class="paramname"></td><td>)</td>
609 <td><code> [pure virtual]</code></td>
610 </tr>
611 </table>
612</div>
613<div class="memdoc">
614
615<p>Clears the ZBuffer. </p>
616<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>
617
618</div>
619</div>
620<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" -->
621<div class="memitem">
622<div class="memproto">
623 <table class="memname">
624 <tr>
625 <td class="memname">virtual void irr::video::IVideoDriver::convertColor </td>
626 <td>(</td>
627 <td class="paramtype">const void *&#160;</td>
628 <td class="paramname"><em>sP</em>, </td>
629 </tr>
630 <tr>
631 <td class="paramkey"></td>
632 <td></td>
633 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
634 <td class="paramname"><em>sF</em>, </td>
635 </tr>
636 <tr>
637 <td class="paramkey"></td>
638 <td></td>
639 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
640 <td class="paramname"><em>sN</em>, </td>
641 </tr>
642 <tr>
643 <td class="paramkey"></td>
644 <td></td>
645 <td class="paramtype">void *&#160;</td>
646 <td class="paramname"><em>dP</em>, </td>
647 </tr>
648 <tr>
649 <td class="paramkey"></td>
650 <td></td>
651 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
652 <td class="paramname"><em>dF</em>&#160;</td>
653 </tr>
654 <tr>
655 <td></td>
656 <td>)</td>
657 <td></td><td> const<code> [pure virtual]</code></td>
658 </tr>
659 </table>
660</div>
661<div class="memdoc">
662
663<p>Color conversion convenience function. </p>
664<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>
665<dl><dt><b>Parameters:</b></dt><dd>
666 <table class="params">
667 <tr><td class="paramname">sP</td><td>Pointer to source </td></tr>
668 <tr><td class="paramname">sF</td><td>Color format of source </td></tr>
669 <tr><td class="paramname">sN</td><td>Number of pixels to convert, both array must be large enough </td></tr>
670 <tr><td class="paramname">dP</td><td>Pointer to destination </td></tr>
671 <tr><td class="paramname">dF</td><td>Color format of destination </td></tr>
672 </table>
673 </dd>
674</dl>
675
676</div>
677</div>
678<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" -->
679<div class="memitem">
680<div class="memproto">
681 <table class="memname">
682 <tr>
683 <td class="memname">virtual <a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a>* irr::video::IVideoDriver::createAttributesFromMaterial </td>
684 <td>(</td>
685 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &amp;&#160;</td>
686 <td class="paramname"><em>material</em>, </td>
687 </tr>
688 <tr>
689 <td class="paramkey"></td>
690 <td></td>
691 <td class="paramtype"><a class="el" href="structirr_1_1io_1_1_s_attribute_read_write_options.html">io::SAttributeReadWriteOptions</a> *&#160;</td>
692 <td class="paramname"><em>options</em> = <code>0</code>&#160;</td>
693 </tr>
694 <tr>
695 <td></td>
696 <td>)</td>
697 <td></td><td><code> [pure virtual]</code></td>
698 </tr>
699 </table>
700</div>
701<div class="memdoc">
702
703<p>Creates material attributes list from a material. </p>
704<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>
705<dl><dt><b>Parameters:</b></dt><dd>
706 <table class="params">
707 <tr><td class="paramname">material</td><td>The material to serialize. </td></tr>
708 <tr><td class="paramname">options</td><td>Additional options which might influence the serialization. </td></tr>
709 </table>
710 </dd>
711</dl>
712<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>
713
714</div>
715</div>
716<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" -->
717<div class="memitem">
718<div class="memproto">
719 <table class="memname">
720 <tr>
721 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImage </td>
722 <td>(</td>
723 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
724 <td class="paramname"><em>format</em>, </td>
725 </tr>
726 <tr>
727 <td class="paramkey"></td>
728 <td></td>
729 <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>
730 <td class="paramname"><em>size</em>&#160;</td>
731 </tr>
732 <tr>
733 <td></td>
734 <td>)</td>
735 <td></td><td><code> [pure virtual]</code></td>
736 </tr>
737 </table>
738</div>
739<div class="memdoc">
740
741<p>Creates an empty software image. </p>
742<dl><dt><b>Parameters:</b></dt><dd>
743 <table class="params">
744 <tr><td class="paramname">format</td><td>Desired color format of the image. </td></tr>
745 <tr><td class="paramname">size</td><td>Size of the image to create. </td></tr>
746 </table>
747 </dd>
748</dl>
749<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>
750
751</div>
752</div>
753<a class="anchor" id="af92ef735bc8c755f5c201a52a70d05e8"></a><!-- doxytag: member="irr::video::IVideoDriver::createImage" ref="af92ef735bc8c755f5c201a52a70d05e8" args="(ECOLOR_FORMAT format, IImage *imageToCopy)=0" -->
754<div class="memitem">
755<div class="memproto">
756 <table class="memname">
757 <tr>
758 <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>
759 <td>(</td>
760 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
761 <td class="paramname"><em>format</em>, </td>
762 </tr>
763 <tr>
764 <td class="paramkey"></td>
765 <td></td>
766 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&#160;</td>
767 <td class="paramname"><em>imageToCopy</em>&#160;</td>
768 </tr>
769 <tr>
770 <td></td>
771 <td>)</td>
772 <td></td><td><code> [pure virtual]</code></td>
773 </tr>
774 </table>
775</div>
776<div class="memdoc">
777
778<p>Creates a software image by converting it to given format from another image. </p>
779<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>
780<dl><dt><b>Parameters:</b></dt><dd>
781 <table class="params">
782 <tr><td class="paramname">format</td><td>Desired color format of the image. </td></tr>
783 <tr><td class="paramname">imageToCopy</td><td>Image to copy to the new image. </td></tr>
784 </table>
785 </dd>
786</dl>
787<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>
788
789</div>
790</div>
791<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" -->
792<div class="memitem">
793<div class="memproto">
794 <table class="memname">
795 <tr>
796 <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>
797 <td>(</td>
798 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&#160;</td>
799 <td class="paramname"><em>imageToCopy</em>, </td>
800 </tr>
801 <tr>
802 <td class="paramkey"></td>
803 <td></td>
804 <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
805 <td class="paramname"><em>pos</em>, </td>
806 </tr>
807 <tr>
808 <td class="paramkey"></td>
809 <td></td>
810 <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>
811 <td class="paramname"><em>size</em>&#160;</td>
812 </tr>
813 <tr>
814 <td></td>
815 <td>)</td>
816 <td></td><td><code> [pure virtual]</code></td>
817 </tr>
818 </table>
819</div>
820<div class="memdoc">
821
822<p>Creates a software image from a part of another image. </p>
823<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>
824<dl><dt><b>Parameters:</b></dt><dd>
825 <table class="params">
826 <tr><td class="paramname">imageToCopy</td><td>Image to copy to the new image in part. </td></tr>
827 <tr><td class="paramname">pos</td><td>Position of rectangle to copy. </td></tr>
828 <tr><td class="paramname">size</td><td>Extents of rectangle to copy. </td></tr>
829 </table>
830 </dd>
831</dl>
832<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>
833
834</div>
835</div>
836<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" -->
837<div class="memitem">
838<div class="memproto">
839 <table class="memname">
840 <tr>
841 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImage </td>
842 <td>(</td>
843 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&#160;</td>
844 <td class="paramname"><em>texture</em>, </td>
845 </tr>
846 <tr>
847 <td class="paramkey"></td>
848 <td></td>
849 <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
850 <td class="paramname"><em>pos</em>, </td>
851 </tr>
852 <tr>
853 <td class="paramkey"></td>
854 <td></td>
855 <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>
856 <td class="paramname"><em>size</em>&#160;</td>
857 </tr>
858 <tr>
859 <td></td>
860 <td>)</td>
861 <td></td><td><code> [pure virtual]</code></td>
862 </tr>
863 </table>
864</div>
865<div class="memdoc">
866
867<p>Creates a software image from a part of a texture. </p>
868<dl><dt><b>Parameters:</b></dt><dd>
869 <table class="params">
870 <tr><td class="paramname">texture</td><td>Texture to copy to the new image in part. </td></tr>
871 <tr><td class="paramname">pos</td><td>Position of rectangle to copy. </td></tr>
872 <tr><td class="paramname">size</td><td>Extents of rectangle to copy. </td></tr>
873 </table>
874 </dd>
875</dl>
876<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>
877
878</div>
879</div>
880<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" -->
881<div class="memitem">
882<div class="memproto">
883 <table class="memname">
884 <tr>
885 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImageFromData </td>
886 <td>(</td>
887 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&#160;</td>
888 <td class="paramname"><em>format</em>, </td>
889 </tr>
890 <tr>
891 <td class="paramkey"></td>
892 <td></td>
893 <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>
894 <td class="paramname"><em>size</em>, </td>
895 </tr>
896 <tr>
897 <td class="paramkey"></td>
898 <td></td>
899 <td class="paramtype">void *&#160;</td>
900 <td class="paramname"><em>data</em>, </td>
901 </tr>
902 <tr>
903 <td class="paramkey"></td>
904 <td></td>
905 <td class="paramtype">bool&#160;</td>
906 <td class="paramname"><em>ownForeignMemory</em> = <code>false</code>, </td>
907 </tr>
908 <tr>
909 <td class="paramkey"></td>
910 <td></td>
911 <td class="paramtype">bool&#160;</td>
912 <td class="paramname"><em>deleteMemory</em> = <code>true</code>&#160;</td>
913 </tr>
914 <tr>
915 <td></td>
916 <td>)</td>
917 <td></td><td><code> [pure virtual]</code></td>
918 </tr>
919 </table>
920</div>
921<div class="memdoc">
922
923<p>Creates a software image from a byte array. </p>
924<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>
925<dl><dt><b>Parameters:</b></dt><dd>
926 <table class="params">
927 <tr><td class="paramname">format</td><td>Desired color format of the texture </td></tr>
928 <tr><td class="paramname">size</td><td>Desired size of the image </td></tr>
929 <tr><td class="paramname">data</td><td>A byte array with pixel color information </td></tr>
930 <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>
931 <tr><td class="paramname">deleteMemory</td><td>Whether the memory is deallocated upon destruction. </td></tr>
932 </table>
933 </dd>
934</dl>
935<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>
936
937<p>Referenced by <a class="el" href="_i_q3_shader_8h_source.html#l00770">irr::scene::quake3::getTextures()</a>.</p>
938
939</div>
940</div>
941<a class="anchor" id="ac5b4c13f64d96d27fa27f52b68f77b8c"></a><!-- doxytag: member="irr::video::IVideoDriver::createImageFromFile" ref="ac5b4c13f64d96d27fa27f52b68f77b8c" args="(const io::path &amp;filename)=0" -->
942<div class="memitem">
943<div class="memproto">
944 <table class="memname">
945 <tr>
946 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImageFromFile </td>
947 <td>(</td>
948 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
949 <td class="paramname"><em>filename</em></td><td>)</td>
950 <td><code> [pure virtual]</code></td>
951 </tr>
952 </table>
953</div>
954<div class="memdoc">
955
956<p>Creates a software image from a file. </p>
957<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>
958<dl><dt><b>Parameters:</b></dt><dd>
959 <table class="params">
960 <tr><td class="paramname">filename</td><td>Name of the file from which the image is created. </td></tr>
961 </table>
962 </dd>
963</dl>
964<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>
965
966</div>
967</div>
968<a class="anchor" id="a322c41fa08c1da9de4633cf8a1e68607"></a><!-- doxytag: member="irr::video::IVideoDriver::createImageFromFile" ref="a322c41fa08c1da9de4633cf8a1e68607" args="(io::IReadFile *file)=0" -->
969<div class="memitem">
970<div class="memproto">
971 <table class="memname">
972 <tr>
973 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createImageFromFile </td>
974 <td>(</td>
975 <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *&#160;</td>
976 <td class="paramname"><em>file</em></td><td>)</td>
977 <td><code> [pure virtual]</code></td>
978 </tr>
979 </table>
980</div>
981<div class="memdoc">
982
983<p>Creates a software image from a file. </p>
984<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>
985<dl><dt><b>Parameters:</b></dt><dd>
986 <table class="params">
987 <tr><td class="paramname">file</td><td>File from which the image is created. </td></tr>
988 </table>
989 </dd>
990</dl>
991<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>
992
993</div>
994</div>
995<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" -->
996<div class="memitem">
997<div class="memproto">
998 <table class="memname">
999 <tr>
1000 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createScreenShot </td>
1001 <td>(</td>
1002 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">video::ECOLOR_FORMAT</a>&#160;</td>
1003 <td class="paramname"><em>format</em> = <code>video::ECF_UNKNOWN</code>, </td>
1004 </tr>
1005 <tr>
1006 <td class="paramkey"></td>
1007 <td></td>
1008 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a5b61a3f2bd5d458f76f2eb20b0f40972">video::E_RENDER_TARGET</a>&#160;</td>
1009 <td class="paramname"><em>target</em> = <code>video::ERT_FRAME_BUFFER</code>&#160;</td>
1010 </tr>
1011 <tr>
1012 <td></td>
1013 <td>)</td>
1014 <td></td><td><code> [pure virtual]</code></td>
1015 </tr>
1016 </table>
1017</div>
1018<div class="memdoc">
1019
1020<p>Make a screenshot of the last rendered frame. </p>
1021<dl class="return"><dt><b>Returns:</b></dt><dd>An image created from the last rendered frame. </dd></dl>
1022
1023</div>
1024</div>
1025<a class="anchor" id="ab1bd29567ef6eb31a43bebe04c47eb5e"></a><!-- doxytag: member="irr::video::IVideoDriver::deleteAllDynamicLights" ref="ab1bd29567ef6eb31a43bebe04c47eb5e" args="()=0" -->
1026<div class="memitem">
1027<div class="memproto">
1028 <table class="memname">
1029 <tr>
1030 <td class="memname">virtual void irr::video::IVideoDriver::deleteAllDynamicLights </td>
1031 <td>(</td>
1032 <td class="paramname"></td><td>)</td>
1033 <td><code> [pure virtual]</code></td>
1034 </tr>
1035 </table>
1036</div>
1037<div class="memdoc">
1038
1039<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>
1040
1041</div>
1042</div>
1043<a class="anchor" id="aea64c03fc205f23ec7575884fb7309c8"></a><!-- doxytag: member="irr::video::IVideoDriver::disableFeature" ref="aea64c03fc205f23ec7575884fb7309c8" args="(E_VIDEO_DRIVER_FEATURE feature, bool flag=true)=0" -->
1044<div class="memitem">
1045<div class="memproto">
1046 <table class="memname">
1047 <tr>
1048 <td class="memname">virtual void irr::video::IVideoDriver::disableFeature </td>
1049 <td>(</td>
1050 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a57b1721e42a79c5dcf8e830e3621e08f">E_VIDEO_DRIVER_FEATURE</a>&#160;</td>
1051 <td class="paramname"><em>feature</em>, </td>
1052 </tr>
1053 <tr>
1054 <td class="paramkey"></td>
1055 <td></td>
1056 <td class="paramtype">bool&#160;</td>
1057 <td class="paramname"><em>flag</em> = <code>true</code>&#160;</td>
1058 </tr>
1059 <tr>
1060 <td></td>
1061 <td>)</td>
1062 <td></td><td><code> [pure virtual]</code></td>
1063 </tr>
1064 </table>
1065</div>
1066<div class="memdoc">
1067
1068<p>Disable a feature of the driver. </p>
1069<p>Can also be used to enable the features again. It is not possible to enable unsupported features this way, though. </p>
1070<dl><dt><b>Parameters:</b></dt><dd>
1071 <table class="params">
1072 <tr><td class="paramname">feature</td><td>Feature to disable. </td></tr>
1073 <tr><td class="paramname">flag</td><td>When true the feature is disabled, otherwise it is enabled. </td></tr>
1074 </table>
1075 </dd>
1076</dl>
1077
1078</div>
1079</div>
1080<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" -->
1081<div class="memitem">
1082<div class="memproto">
1083 <table class="memname">
1084 <tr>
1085 <td class="memname">virtual void irr::video::IVideoDriver::draw2DImage </td>
1086 <td>(</td>
1087 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1088 <td class="paramname"><em>texture</em>, </td>
1089 </tr>
1090 <tr>
1091 <td class="paramkey"></td>
1092 <td></td>
1093 <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
1094 <td class="paramname"><em>destPos</em>&#160;</td>
1095 </tr>
1096 <tr>
1097 <td></td>
1098 <td>)</td>
1099 <td></td><td><code> [pure virtual]</code></td>
1100 </tr>
1101 </table>
1102</div>
1103<div class="memdoc">
1104
1105<p>Draws a 2d image without any special effects. </p>
1106<dl><dt><b>Parameters:</b></dt><dd>
1107 <table class="params">
1108 <tr><td class="paramname">texture</td><td>Pointer to texture to use. </td></tr>
1109 <tr><td class="paramname">destPos</td><td>Upper left 2d destination position where the image will be drawn. </td></tr>
1110 </table>
1111 </dd>
1112</dl>
1113
1114</div>
1115</div>
1116<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" -->
1117<div class="memitem">
1118<div class="memproto">
1119 <table class="memname">
1120 <tr>
1121 <td class="memname">virtual void irr::video::IVideoDriver::draw2DImage </td>
1122 <td>(</td>
1123 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1124 <td class="paramname"><em>texture</em>, </td>
1125 </tr>
1126 <tr>
1127 <td class="paramkey"></td>
1128 <td></td>
1129 <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
1130 <td class="paramname"><em>destPos</em>, </td>
1131 </tr>
1132 <tr>
1133 <td class="paramkey"></td>
1134 <td></td>
1135 <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>
1136 <td class="paramname"><em>sourceRect</em>, </td>
1137 </tr>
1138 <tr>
1139 <td class="paramkey"></td>
1140 <td></td>
1141 <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>
1142 <td class="paramname"><em>clipRect</em> = <code>0</code>, </td>
1143 </tr>
1144 <tr>
1145 <td class="paramkey"></td>
1146 <td></td>
1147 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1148 <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>
1149 </tr>
1150 <tr>
1151 <td class="paramkey"></td>
1152 <td></td>
1153 <td class="paramtype">bool&#160;</td>
1154 <td class="paramname"><em>useAlphaChannelOfTexture</em> = <code>false</code>&#160;</td>
1155 </tr>
1156 <tr>
1157 <td></td>
1158 <td>)</td>
1159 <td></td><td><code> [pure virtual]</code></td>
1160 </tr>
1161 </table>
1162</div>
1163<div class="memdoc">
1164
1165<p>Draws a 2d image using a color. </p>
1166<p>(if color is other than Color(255,255,255,255)) and the alpha channel of the texture. </p>
1167<dl><dt><b>Parameters:</b></dt><dd>
1168 <table class="params">
1169 <tr><td class="paramname">texture</td><td>Texture to be drawn. </td></tr>
1170 <tr><td class="paramname">destPos</td><td>Upper left 2d destination position where the image will be drawn. </td></tr>
1171 <tr><td class="paramname">sourceRect</td><td>Source rectangle in the image. </td></tr>
1172 <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>
1173 <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>
1174 <tr><td class="paramname">useAlphaChannelOfTexture,:</td><td>If true, the alpha channel of the texture is used to draw the image. </td></tr>
1175 </table>
1176 </dd>
1177</dl>
1178
1179</div>
1180</div>
1181<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" -->
1182<div class="memitem">
1183<div class="memproto">
1184 <table class="memname">
1185 <tr>
1186 <td class="memname">virtual void irr::video::IVideoDriver::draw2DImage </td>
1187 <td>(</td>
1188 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1189 <td class="paramname"><em>texture</em>, </td>
1190 </tr>
1191 <tr>
1192 <td class="paramkey"></td>
1193 <td></td>
1194 <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>
1195 <td class="paramname"><em>destRect</em>, </td>
1196 </tr>
1197 <tr>
1198 <td class="paramkey"></td>
1199 <td></td>
1200 <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>
1201 <td class="paramname"><em>sourceRect</em>, </td>
1202 </tr>
1203 <tr>
1204 <td class="paramkey"></td>
1205 <td></td>
1206 <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>
1207 <td class="paramname"><em>clipRect</em> = <code>0</code>, </td>
1208 </tr>
1209 <tr>
1210 <td class="paramkey"></td>
1211 <td></td>
1212 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> *const&#160;</td>
1213 <td class="paramname"><em>colors</em> = <code>0</code>, </td>
1214 </tr>
1215 <tr>
1216 <td class="paramkey"></td>
1217 <td></td>
1218 <td class="paramtype">bool&#160;</td>
1219 <td class="paramname"><em>useAlphaChannelOfTexture</em> = <code>false</code>&#160;</td>
1220 </tr>
1221 <tr>
1222 <td></td>
1223 <td>)</td>
1224 <td></td><td><code> [pure virtual]</code></td>
1225 </tr>
1226 </table>
1227</div>
1228<div class="memdoc">
1229
1230<p>Draws a part of the texture into the rectangle. Note that colors must be an array of 4 colors if used. </p>
1231<p>Suggested and first implemented by zola. </p>
1232<dl><dt><b>Parameters:</b></dt><dd>
1233 <table class="params">
1234 <tr><td class="paramname">texture</td><td>The texture to draw from </td></tr>
1235 <tr><td class="paramname">destRect</td><td>The rectangle to draw into </td></tr>
1236 <tr><td class="paramname">sourceRect</td><td>The rectangle denoting a part of the texture </td></tr>
1237 <tr><td class="paramname">clipRect</td><td>Clips the destination rectangle (may be 0) </td></tr>
1238 <tr><td class="paramname">colors</td><td>Array of 4 colors denoting the color values of the corners of the destRect </td></tr>
1239 <tr><td class="paramname">useAlphaChannelOfTexture</td><td>True if alpha channel will be blended. </td></tr>
1240 </table>
1241 </dd>
1242</dl>
1243
1244</div>
1245</div>
1246<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" -->
1247<div class="memitem">
1248<div class="memproto">
1249 <table class="memname">
1250 <tr>
1251 <td class="memname">virtual void irr::video::IVideoDriver::draw2DImageBatch </td>
1252 <td>(</td>
1253 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1254 <td class="paramname"><em>texture</em>, </td>
1255 </tr>
1256 <tr>
1257 <td class="paramkey"></td>
1258 <td></td>
1259 <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
1260 <td class="paramname"><em>pos</em>, </td>
1261 </tr>
1262 <tr>
1263 <td class="paramkey"></td>
1264 <td></td>
1265 <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>
1266 <td class="paramname"><em>sourceRects</em>, </td>
1267 </tr>
1268 <tr>
1269 <td class="paramkey"></td>
1270 <td></td>
1271 <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>
1272 <td class="paramname"><em>indices</em>, </td>
1273 </tr>
1274 <tr>
1275 <td class="paramkey"></td>
1276 <td></td>
1277 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1278 <td class="paramname"><em>kerningWidth</em> = <code>0</code>, </td>
1279 </tr>
1280 <tr>
1281 <td class="paramkey"></td>
1282 <td></td>
1283 <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>
1284 <td class="paramname"><em>clipRect</em> = <code>0</code>, </td>
1285 </tr>
1286 <tr>
1287 <td class="paramkey"></td>
1288 <td></td>
1289 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1290 <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>
1291 </tr>
1292 <tr>
1293 <td class="paramkey"></td>
1294 <td></td>
1295 <td class="paramtype">bool&#160;</td>
1296 <td class="paramname"><em>useAlphaChannelOfTexture</em> = <code>false</code>&#160;</td>
1297 </tr>
1298 <tr>
1299 <td></td>
1300 <td>)</td>
1301 <td></td><td><code> [pure virtual]</code></td>
1302 </tr>
1303 </table>
1304</div>
1305<div class="memdoc">
1306
1307<p>Draws a set of 2d images, using a color and the alpha channel of the texture. </p>
1308<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>
1309<dl><dt><b>Parameters:</b></dt><dd>
1310 <table class="params">
1311 <tr><td class="paramname">texture</td><td>Texture to be drawn. </td></tr>
1312 <tr><td class="paramname">pos</td><td>Upper left 2d destination position where the image will be drawn. </td></tr>
1313 <tr><td class="paramname">sourceRects</td><td>Source rectangles of the image. </td></tr>
1314 <tr><td class="paramname">indices</td><td>List of indices which choose the actual rectangle used each time. </td></tr>
1315 <tr><td class="paramname">kerningWidth</td><td>Offset to Position on X </td></tr>
1316 <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>
1317 <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>
1318 <tr><td class="paramname">useAlphaChannelOfTexture,:</td><td>If true, the alpha channel of the texture is used to draw the image. </td></tr>
1319 </table>
1320 </dd>
1321</dl>
1322
1323</div>
1324</div>
1325<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" -->
1326<div class="memitem">
1327<div class="memproto">
1328 <table class="memname">
1329 <tr>
1330 <td class="memname">virtual void irr::video::IVideoDriver::draw2DImageBatch </td>
1331 <td>(</td>
1332 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
1333 <td class="paramname"><em>texture</em>, </td>
1334 </tr>
1335 <tr>
1336 <td class="paramkey"></td>
1337 <td></td>
1338 <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>
1339 <td class="paramname"><em>positions</em>, </td>
1340 </tr>
1341 <tr>
1342 <td class="paramkey"></td>
1343 <td></td>
1344 <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>
1345 <td class="paramname"><em>sourceRects</em>, </td>
1346 </tr>
1347 <tr>
1348 <td class="paramkey"></td>
1349 <td></td>
1350 <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>
1351 <td class="paramname"><em>clipRect</em> = <code>0</code>, </td>
1352 </tr>
1353 <tr>
1354 <td class="paramkey"></td>
1355 <td></td>
1356 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1357 <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>
1358 </tr>
1359 <tr>
1360 <td class="paramkey"></td>
1361 <td></td>
1362 <td class="paramtype">bool&#160;</td>
1363 <td class="paramname"><em>useAlphaChannelOfTexture</em> = <code>false</code>&#160;</td>
1364 </tr>
1365 <tr>
1366 <td></td>
1367 <td>)</td>
1368 <td></td><td><code> [pure virtual]</code></td>
1369 </tr>
1370 </table>
1371</div>
1372<div class="memdoc">
1373
1374<p>Draws a set of 2d images, using a color and the alpha channel of the texture. </p>
1375<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>
1376<dl><dt><b>Parameters:</b></dt><dd>
1377 <table class="params">
1378 <tr><td class="paramname">texture</td><td>Texture to be drawn. </td></tr>
1379 <tr><td class="paramname">positions</td><td>Array of upper left 2d destinations where the images will be drawn. </td></tr>
1380 <tr><td class="paramname">sourceRects</td><td>Source rectangles of the image. </td></tr>
1381 <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>
1382 <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>
1383 <tr><td class="paramname">useAlphaChannelOfTexture,:</td><td>If true, the alpha channel of the texture is used to draw the image. </td></tr>
1384 </table>
1385 </dd>
1386</dl>
1387
1388</div>
1389</div>
1390<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" -->
1391<div class="memitem">
1392<div class="memproto">
1393 <table class="memname">
1394 <tr>
1395 <td class="memname">virtual void irr::video::IVideoDriver::draw2DLine </td>
1396 <td>(</td>
1397 <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
1398 <td class="paramname"><em>start</em>, </td>
1399 </tr>
1400 <tr>
1401 <td class="paramkey"></td>
1402 <td></td>
1403 <td class="paramtype">const core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&#160;</td>
1404 <td class="paramname"><em>end</em>, </td>
1405 </tr>
1406 <tr>
1407 <td class="paramkey"></td>
1408 <td></td>
1409 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1410 <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>
1411 </tr>
1412 <tr>
1413 <td></td>
1414 <td>)</td>
1415 <td></td><td><code> [pure virtual]</code></td>
1416 </tr>
1417 </table>
1418</div>
1419<div class="memdoc">
1420
1421<p>Draws a 2d line. Both start and end will be included in coloring. </p>
1422<dl><dt><b>Parameters:</b></dt><dd>
1423 <table class="params">
1424 <tr><td class="paramname">start</td><td>Screen coordinates of the start of the line in pixels. </td></tr>
1425 <tr><td class="paramname">end</td><td>Screen coordinates of the start of the line in pixels. </td></tr>
1426 <tr><td class="paramname">color</td><td>Color of the line to draw. </td></tr>
1427 </table>
1428 </dd>
1429</dl>
1430
1431</div>
1432</div>
1433<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" -->
1434<div class="memitem">
1435<div class="memproto">
1436 <table class="memname">
1437 <tr>
1438 <td class="memname">virtual void irr::video::IVideoDriver::draw2DPolygon </td>
1439 <td>(</td>
1440 <td class="paramtype">core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt;&#160;</td>
1441 <td class="paramname"><em>center</em>, </td>
1442 </tr>
1443 <tr>
1444 <td class="paramkey"></td>
1445 <td></td>
1446 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
1447 <td class="paramname"><em>radius</em>, </td>
1448 </tr>
1449 <tr>
1450 <td class="paramkey"></td>
1451 <td></td>
1452 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
1453 <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>
1454 </tr>
1455 <tr>
1456 <td class="paramkey"></td>
1457 <td></td>
1458 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
1459 <td class="paramname"><em>vertexCount</em> = <code>10</code>&#160;</td>
1460 </tr>
1461 <tr>
1462 <td></td>
1463 <td>)</td>
1464 <td></td><td><code> [pure virtual]</code></td>
1465 </tr>
1466 </table>
1467</div>
1468<div class="memdoc">
1469
1470<p>Draws a non filled concyclic regular 2d polyon. </p>
1471<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>
1472<dl><dt><b>Parameters:</b></dt><dd>
1473 <table class="params">
1474 <tr><td class="paramname">center</td><td>Position of center of circle (pixels). </td></tr>
1475 <tr><td class="paramname">radius</td><td>Radius of circle in pixels. </td></tr>
1476 <tr><td class="paramname">color</td><td>Color of the circle. </td></tr>
1477 <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>
1478 </table>
1479 </dd>
1480</dl>
1481
1482</div>
1483</div>
1484<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" -->
1485<div class="memitem">
1486<div class="memproto">
1487 <table class="memname">
1488 <tr>
1489 <td class="memname">virtual void irr::video::IVideoDriver::draw2DRectangle </td>
1490 <td>(</td>
1491 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1492 <td class="paramname"><em>color</em>, </td>
1493 </tr>
1494 <tr>
1495 <td class="paramkey"></td>
1496 <td></td>
1497 <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>
1498 <td class="paramname"><em>pos</em>, </td>
1499 </tr>
1500 <tr>
1501 <td class="paramkey"></td>
1502 <td></td>
1503 <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>
1504 <td class="paramname"><em>clip</em> = <code>0</code>&#160;</td>
1505 </tr>
1506 <tr>
1507 <td></td>
1508 <td>)</td>
1509 <td></td><td><code> [pure virtual]</code></td>
1510 </tr>
1511 </table>
1512</div>
1513<div class="memdoc">
1514
1515<p>Draws a 2d rectangle. </p>
1516<dl><dt><b>Parameters:</b></dt><dd>
1517 <table class="params">
1518 <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>
1519 <tr><td class="paramname">pos</td><td>Position of the rectangle. </td></tr>
1520 <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>
1521 </table>
1522 </dd>
1523</dl>
1524
1525</div>
1526</div>
1527<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" -->
1528<div class="memitem">
1529<div class="memproto">
1530 <table class="memname">
1531 <tr>
1532 <td class="memname">virtual void irr::video::IVideoDriver::draw2DRectangle </td>
1533 <td>(</td>
1534 <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>
1535 <td class="paramname"><em>pos</em>, </td>
1536 </tr>
1537 <tr>
1538 <td class="paramkey"></td>
1539 <td></td>
1540 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1541 <td class="paramname"><em>colorLeftUp</em>, </td>
1542 </tr>
1543 <tr>
1544 <td class="paramkey"></td>
1545 <td></td>
1546 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1547 <td class="paramname"><em>colorRightUp</em>, </td>
1548 </tr>
1549 <tr>
1550 <td class="paramkey"></td>
1551 <td></td>
1552 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1553 <td class="paramname"><em>colorLeftDown</em>, </td>
1554 </tr>
1555 <tr>
1556 <td class="paramkey"></td>
1557 <td></td>
1558 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1559 <td class="paramname"><em>colorRightDown</em>, </td>
1560 </tr>
1561 <tr>
1562 <td class="paramkey"></td>
1563 <td></td>
1564 <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>
1565 <td class="paramname"><em>clip</em> = <code>0</code>&#160;</td>
1566 </tr>
1567 <tr>
1568 <td></td>
1569 <td>)</td>
1570 <td></td><td><code> [pure virtual]</code></td>
1571 </tr>
1572 </table>
1573</div>
1574<div class="memdoc">
1575
1576<p>Draws a 2d rectangle with a gradient. </p>
1577<dl><dt><b>Parameters:</b></dt><dd>
1578 <table class="params">
1579 <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>
1580 <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>
1581 <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>
1582 <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>
1583 <tr><td class="paramname">pos</td><td>Position of the rectangle. </td></tr>
1584 <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>
1585 </table>
1586 </dd>
1587</dl>
1588
1589</div>
1590</div>
1591<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" -->
1592<div class="memitem">
1593<div class="memproto">
1594 <table class="memname">
1595 <tr>
1596 <td class="memname">virtual void irr::video::IVideoDriver::draw2DRectangleOutline </td>
1597 <td>(</td>
1598 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a628365d56b9d3ca9c887cd7f651f7b45">core::recti</a> &amp;&#160;</td>
1599 <td class="paramname"><em>pos</em>, </td>
1600 </tr>
1601 <tr>
1602 <td class="paramkey"></td>
1603 <td></td>
1604 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1605 <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>
1606 </tr>
1607 <tr>
1608 <td></td>
1609 <td>)</td>
1610 <td></td><td><code> [pure virtual]</code></td>
1611 </tr>
1612 </table>
1613</div>
1614<div class="memdoc">
1615
1616<p>Draws the outline of a 2D rectangle. </p>
1617<dl><dt><b>Parameters:</b></dt><dd>
1618 <table class="params">
1619 <tr><td class="paramname">pos</td><td>Position of the rectangle. </td></tr>
1620 <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>
1621 </table>
1622 </dd>
1623</dl>
1624
1625</div>
1626</div>
1627<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" -->
1628<div class="memitem">
1629<div class="memproto">
1630 <table class="memname">
1631 <tr>
1632 <td class="memname">virtual void irr::video::IVideoDriver::draw2DVertexPrimitiveList </td>
1633 <td>(</td>
1634 <td class="paramtype">const void *&#160;</td>
1635 <td class="paramname"><em>vertices</em>, </td>
1636 </tr>
1637 <tr>
1638 <td class="paramkey"></td>
1639 <td></td>
1640 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1641 <td class="paramname"><em>vertexCount</em>, </td>
1642 </tr>
1643 <tr>
1644 <td class="paramkey"></td>
1645 <td></td>
1646 <td class="paramtype">const void *&#160;</td>
1647 <td class="paramname"><em>indexList</em>, </td>
1648 </tr>
1649 <tr>
1650 <td class="paramkey"></td>
1651 <td></td>
1652 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1653 <td class="paramname"><em>primCount</em>, </td>
1654 </tr>
1655 <tr>
1656 <td class="paramkey"></td>
1657 <td></td>
1658 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a0e3b59e025e0d0db0ed2ee0ce904deac">E_VERTEX_TYPE</a>&#160;</td>
1659 <td class="paramname"><em>vType</em> = <code>EVT_STANDARD</code>, </td>
1660 </tr>
1661 <tr>
1662 <td class="paramkey"></td>
1663 <td></td>
1664 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a5d7de82f2169761194b2f44d95cdc1dc">scene::E_PRIMITIVE_TYPE</a>&#160;</td>
1665 <td class="paramname"><em>pType</em> = <code>scene::EPT_TRIANGLES</code>, </td>
1666 </tr>
1667 <tr>
1668 <td class="paramkey"></td>
1669 <td></td>
1670 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#af152a1edea2579f0517e0049525acb55">E_INDEX_TYPE</a>&#160;</td>
1671 <td class="paramname"><em>iType</em> = <code>EIT_16BIT</code>&#160;</td>
1672 </tr>
1673 <tr>
1674 <td></td>
1675 <td>)</td>
1676 <td></td><td><code> [pure virtual]</code></td>
1677 </tr>
1678 </table>
1679</div>
1680<div class="memdoc">
1681
1682<p>Draws a vertex primitive list in 2d. </p>
1683<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>
1684<dl><dt><b>Parameters:</b></dt><dd>
1685 <table class="params">
1686 <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
1687 <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
1688 <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>
1689 <tr><td class="paramname">primCount</td><td>Amount of Primitives </td></tr>
1690 <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>
1691 <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>
1692 <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>
1693 </table>
1694 </dd>
1695</dl>
1696
1697</div>
1698</div>
1699<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" -->
1700<div class="memitem">
1701<div class="memproto">
1702 <table class="memname">
1703 <tr>
1704 <td class="memname">virtual void irr::video::IVideoDriver::draw3DBox </td>
1705 <td>(</td>
1706 <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>
1707 <td class="paramname"><em>box</em>, </td>
1708 </tr>
1709 <tr>
1710 <td class="paramkey"></td>
1711 <td></td>
1712 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1713 <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>
1714 </tr>
1715 <tr>
1716 <td></td>
1717 <td>)</td>
1718 <td></td><td><code> [pure virtual]</code></td>
1719 </tr>
1720 </table>
1721</div>
1722<div class="memdoc">
1723
1724<p>Draws a 3d axis aligned box. </p>
1725<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>
1726<div class="fragment"><pre class="fragment"> driver-&gt;setMaterial(someMaterial);
1727 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>);
1728</pre></div><p> for some properly set up material before drawing the box. </p>
1729<dl><dt><b>Parameters:</b></dt><dd>
1730 <table class="params">
1731 <tr><td class="paramname">box</td><td>The axis aligned box to draw </td></tr>
1732 <tr><td class="paramname">color</td><td>Color to use while drawing the box. </td></tr>
1733 </table>
1734 </dd>
1735</dl>
1736
1737</div>
1738</div>
1739<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" -->
1740<div class="memitem">
1741<div class="memproto">
1742 <table class="memname">
1743 <tr>
1744 <td class="memname">virtual void irr::video::IVideoDriver::draw3DLine </td>
1745 <td>(</td>
1746 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1747 <td class="paramname"><em>start</em>, </td>
1748 </tr>
1749 <tr>
1750 <td class="paramkey"></td>
1751 <td></td>
1752 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a06f169d08b5c429f5575acb7edbad811">core::vector3df</a> &amp;&#160;</td>
1753 <td class="paramname"><em>end</em>, </td>
1754 </tr>
1755 <tr>
1756 <td class="paramkey"></td>
1757 <td></td>
1758 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1759 <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>
1760 </tr>
1761 <tr>
1762 <td></td>
1763 <td>)</td>
1764 <td></td><td><code> [pure virtual]</code></td>
1765 </tr>
1766 </table>
1767</div>
1768<div class="memdoc">
1769
1770<p>Draws a 3d line. </p>
1771<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>
1772<div class="fragment"><pre class="fragment"> driver-&gt;setMaterial(someMaterial);
1773 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>);
1774</pre></div><p> for some properly set up material before drawing the line. Some drivers support line thickness set in the material. </p>
1775<dl><dt><b>Parameters:</b></dt><dd>
1776 <table class="params">
1777 <tr><td class="paramname">start</td><td>Start of the 3d line. </td></tr>
1778 <tr><td class="paramname">end</td><td>End of the 3d line. </td></tr>
1779 <tr><td class="paramname">color</td><td>Color of the line. </td></tr>
1780 </table>
1781 </dd>
1782</dl>
1783
1784</div>
1785</div>
1786<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" -->
1787<div class="memitem">
1788<div class="memproto">
1789 <table class="memname">
1790 <tr>
1791 <td class="memname">virtual void irr::video::IVideoDriver::draw3DTriangle </td>
1792 <td>(</td>
1793 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a1112835405bbec5dadf031dc7934e7d0">core::triangle3df</a> &amp;&#160;</td>
1794 <td class="paramname"><em>triangle</em>, </td>
1795 </tr>
1796 <tr>
1797 <td class="paramkey"></td>
1798 <td></td>
1799 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
1800 <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>
1801 </tr>
1802 <tr>
1803 <td></td>
1804 <td>)</td>
1805 <td></td><td><code> [pure virtual]</code></td>
1806 </tr>
1807 </table>
1808</div>
1809<div class="memdoc">
1810
1811<p>Draws a 3d triangle. </p>
1812<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>
1813<div class="fragment"><pre class="fragment"> driver-&gt;setMaterial(someMaterial);
1814 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>);
1815</pre></div><p> for some properly set up material before drawing the triangle. </p>
1816<dl><dt><b>Parameters:</b></dt><dd>
1817 <table class="params">
1818 <tr><td class="paramname">triangle</td><td>The triangle to draw. </td></tr>
1819 <tr><td class="paramname">color</td><td>Color of the line. </td></tr>
1820 </table>
1821 </dd>
1822</dl>
1823
1824</div>
1825</div>
1826<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)" -->
1827<div class="memitem">
1828<div class="memproto">
1829 <table class="memname">
1830 <tr>
1831 <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleFan </td>
1832 <td>(</td>
1833 <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex.html">S3DVertex</a> *&#160;</td>
1834 <td class="paramname"><em>vertices</em>, </td>
1835 </tr>
1836 <tr>
1837 <td class="paramkey"></td>
1838 <td></td>
1839 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1840 <td class="paramname"><em>vertexCount</em>, </td>
1841 </tr>
1842 <tr>
1843 <td class="paramkey"></td>
1844 <td></td>
1845 <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
1846 <td class="paramname"><em>indexList</em>, </td>
1847 </tr>
1848 <tr>
1849 <td class="paramkey"></td>
1850 <td></td>
1851 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1852 <td class="paramname"><em>triangleCount</em>&#160;</td>
1853 </tr>
1854 <tr>
1855 <td></td>
1856 <td>)</td>
1857 <td></td><td><code> [inline]</code></td>
1858 </tr>
1859 </table>
1860</div>
1861<div class="memdoc">
1862
1863<p>Draws an indexed triangle fan. </p>
1864<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>
1865<dl><dt><b>Parameters:</b></dt><dd>
1866 <table class="params">
1867 <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
1868 <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
1869 <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
1870 <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices - 2. </td></tr>
1871 </table>
1872 </dd>
1873</dl>
1874
1875<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>
1876
1877<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>
1878
1879</div>
1880</div>
1881<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)" -->
1882<div class="memitem">
1883<div class="memproto">
1884 <table class="memname">
1885 <tr>
1886 <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleFan </td>
1887 <td>(</td>
1888 <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html">S3DVertex2TCoords</a> *&#160;</td>
1889 <td class="paramname"><em>vertices</em>, </td>
1890 </tr>
1891 <tr>
1892 <td class="paramkey"></td>
1893 <td></td>
1894 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1895 <td class="paramname"><em>vertexCount</em>, </td>
1896 </tr>
1897 <tr>
1898 <td class="paramkey"></td>
1899 <td></td>
1900 <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
1901 <td class="paramname"><em>indexList</em>, </td>
1902 </tr>
1903 <tr>
1904 <td class="paramkey"></td>
1905 <td></td>
1906 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1907 <td class="paramname"><em>triangleCount</em>&#160;</td>
1908 </tr>
1909 <tr>
1910 <td></td>
1911 <td>)</td>
1912 <td></td><td><code> [inline]</code></td>
1913 </tr>
1914 </table>
1915</div>
1916<div class="memdoc">
1917
1918<p>Draws an indexed triangle fan. </p>
1919<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>
1920<dl><dt><b>Parameters:</b></dt><dd>
1921 <table class="params">
1922 <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
1923 <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
1924 <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
1925 <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices - 2. </td></tr>
1926 </table>
1927 </dd>
1928</dl>
1929
1930<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>
1931
1932<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>
1933
1934</div>
1935</div>
1936<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)" -->
1937<div class="memitem">
1938<div class="memproto">
1939 <table class="memname">
1940 <tr>
1941 <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleFan </td>
1942 <td>(</td>
1943 <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html">S3DVertexTangents</a> *&#160;</td>
1944 <td class="paramname"><em>vertices</em>, </td>
1945 </tr>
1946 <tr>
1947 <td class="paramkey"></td>
1948 <td></td>
1949 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1950 <td class="paramname"><em>vertexCount</em>, </td>
1951 </tr>
1952 <tr>
1953 <td class="paramkey"></td>
1954 <td></td>
1955 <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
1956 <td class="paramname"><em>indexList</em>, </td>
1957 </tr>
1958 <tr>
1959 <td class="paramkey"></td>
1960 <td></td>
1961 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
1962 <td class="paramname"><em>triangleCount</em>&#160;</td>
1963 </tr>
1964 <tr>
1965 <td></td>
1966 <td>)</td>
1967 <td></td><td><code> [inline]</code></td>
1968 </tr>
1969 </table>
1970</div>
1971<div class="memdoc">
1972
1973<p>Draws an indexed triangle fan. </p>
1974<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>
1975<dl><dt><b>Parameters:</b></dt><dd>
1976 <table class="params">
1977 <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
1978 <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
1979 <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
1980 <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices - 2. </td></tr>
1981 </table>
1982 </dd>
1983</dl>
1984
1985<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>
1986
1987<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>
1988
1989</div>
1990</div>
1991<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)" -->
1992<div class="memitem">
1993<div class="memproto">
1994 <table class="memname">
1995 <tr>
1996 <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleList </td>
1997 <td>(</td>
1998 <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex.html">S3DVertex</a> *&#160;</td>
1999 <td class="paramname"><em>vertices</em>, </td>
2000 </tr>
2001 <tr>
2002 <td class="paramkey"></td>
2003 <td></td>
2004 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2005 <td class="paramname"><em>vertexCount</em>, </td>
2006 </tr>
2007 <tr>
2008 <td class="paramkey"></td>
2009 <td></td>
2010 <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
2011 <td class="paramname"><em>indexList</em>, </td>
2012 </tr>
2013 <tr>
2014 <td class="paramkey"></td>
2015 <td></td>
2016 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2017 <td class="paramname"><em>triangleCount</em>&#160;</td>
2018 </tr>
2019 <tr>
2020 <td></td>
2021 <td>)</td>
2022 <td></td><td><code> [inline]</code></td>
2023 </tr>
2024 </table>
2025</div>
2026<div class="memdoc">
2027
2028<p>Draws an indexed triangle list. </p>
2029<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>
2030<dl><dt><b>Parameters:</b></dt><dd>
2031 <table class="params">
2032 <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
2033 <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
2034 <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
2035 <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices / 3. </td></tr>
2036 </table>
2037 </dd>
2038</dl>
2039
2040<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>
2041
2042<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>
2043
2044</div>
2045</div>
2046<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)" -->
2047<div class="memitem">
2048<div class="memproto">
2049 <table class="memname">
2050 <tr>
2051 <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleList </td>
2052 <td>(</td>
2053 <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex2_t_coords.html">S3DVertex2TCoords</a> *&#160;</td>
2054 <td class="paramname"><em>vertices</em>, </td>
2055 </tr>
2056 <tr>
2057 <td class="paramkey"></td>
2058 <td></td>
2059 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2060 <td class="paramname"><em>vertexCount</em>, </td>
2061 </tr>
2062 <tr>
2063 <td class="paramkey"></td>
2064 <td></td>
2065 <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
2066 <td class="paramname"><em>indexList</em>, </td>
2067 </tr>
2068 <tr>
2069 <td class="paramkey"></td>
2070 <td></td>
2071 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2072 <td class="paramname"><em>triangleCount</em>&#160;</td>
2073 </tr>
2074 <tr>
2075 <td></td>
2076 <td>)</td>
2077 <td></td><td><code> [inline]</code></td>
2078 </tr>
2079 </table>
2080</div>
2081<div class="memdoc">
2082
2083<p>Draws an indexed triangle list. </p>
2084<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>
2085<dl><dt><b>Parameters:</b></dt><dd>
2086 <table class="params">
2087 <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
2088 <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
2089 <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
2090 <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices / 3. </td></tr>
2091 </table>
2092 </dd>
2093</dl>
2094
2095<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>
2096
2097<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>
2098
2099</div>
2100</div>
2101<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)" -->
2102<div class="memitem">
2103<div class="memproto">
2104 <table class="memname">
2105 <tr>
2106 <td class="memname">void irr::video::IVideoDriver::drawIndexedTriangleList </td>
2107 <td>(</td>
2108 <td class="paramtype">const <a class="el" href="structirr_1_1video_1_1_s3_d_vertex_tangents.html">S3DVertexTangents</a> *&#160;</td>
2109 <td class="paramname"><em>vertices</em>, </td>
2110 </tr>
2111 <tr>
2112 <td class="paramkey"></td>
2113 <td></td>
2114 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2115 <td class="paramname"><em>vertexCount</em>, </td>
2116 </tr>
2117 <tr>
2118 <td class="paramkey"></td>
2119 <td></td>
2120 <td class="paramtype">const <a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *&#160;</td>
2121 <td class="paramname"><em>indexList</em>, </td>
2122 </tr>
2123 <tr>
2124 <td class="paramkey"></td>
2125 <td></td>
2126 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2127 <td class="paramname"><em>triangleCount</em>&#160;</td>
2128 </tr>
2129 <tr>
2130 <td></td>
2131 <td>)</td>
2132 <td></td><td><code> [inline]</code></td>
2133 </tr>
2134 </table>
2135</div>
2136<div class="memdoc">
2137
2138<p>Draws an indexed triangle list. </p>
2139<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>
2140<dl><dt><b>Parameters:</b></dt><dd>
2141 <table class="params">
2142 <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
2143 <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
2144 <tr><td class="paramname">indexList</td><td>Pointer to array of indices. </td></tr>
2145 <tr><td class="paramname">triangleCount</td><td>Amount of Triangles. Usually amount of indices / 3. </td></tr>
2146 </table>
2147 </dd>
2148</dl>
2149
2150<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>
2151
2152<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>
2153
2154</div>
2155</div>
2156<a class="anchor" id="ab09507d0b00502912b75e31d2c344e5c"></a><!-- doxytag: member="irr::video::IVideoDriver::drawMeshBuffer" ref="ab09507d0b00502912b75e31d2c344e5c" args="(const scene::IMeshBuffer *mb)=0" -->
2157<div class="memitem">
2158<div class="memproto">
2159 <table class="memname">
2160 <tr>
2161 <td class="memname">virtual void irr::video::IVideoDriver::drawMeshBuffer </td>
2162 <td>(</td>
2163 <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">scene::IMeshBuffer</a> *&#160;</td>
2164 <td class="paramname"><em>mb</em></td><td>)</td>
2165 <td><code> [pure virtual]</code></td>
2166 </tr>
2167 </table>
2168</div>
2169<div class="memdoc">
2170
2171<p>Draws a mesh buffer. </p>
2172<dl><dt><b>Parameters:</b></dt><dd>
2173 <table class="params">
2174 <tr><td class="paramname">mb</td><td>Buffer to draw </td></tr>
2175 </table>
2176 </dd>
2177</dl>
2178
2179</div>
2180</div>
2181<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" -->
2182<div class="memitem">
2183<div class="memproto">
2184 <table class="memname">
2185 <tr>
2186 <td class="memname">virtual void irr::video::IVideoDriver::drawMeshBufferNormals </td>
2187 <td>(</td>
2188 <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">scene::IMeshBuffer</a> *&#160;</td>
2189 <td class="paramname"><em>mb</em>, </td>
2190 </tr>
2191 <tr>
2192 <td class="paramkey"></td>
2193 <td></td>
2194 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
2195 <td class="paramname"><em>length</em> = <code>10.f</code>, </td>
2196 </tr>
2197 <tr>
2198 <td class="paramkey"></td>
2199 <td></td>
2200 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
2201 <td class="paramname"><em>color</em> = <code>0xffffffff</code>&#160;</td>
2202 </tr>
2203 <tr>
2204 <td></td>
2205 <td>)</td>
2206 <td></td><td><code> [pure virtual]</code></td>
2207 </tr>
2208 </table>
2209</div>
2210<div class="memdoc">
2211
2212<p>Draws normals of a mesh buffer. </p>
2213<dl><dt><b>Parameters:</b></dt><dd>
2214 <table class="params">
2215 <tr><td class="paramname">mb</td><td>Buffer to draw the normals of </td></tr>
2216 <tr><td class="paramname">length</td><td>length scale factor of the normals </td></tr>
2217 <tr><td class="paramname">color</td><td>Color the normals are rendered with </td></tr>
2218 </table>
2219 </dd>
2220</dl>
2221
2222</div>
2223</div>
2224<a class="anchor" id="a6567ced74ed6dc8cb1b325493ae7a093"></a><!-- doxytag: member="irr::video::IVideoDriver::drawPixel" ref="a6567ced74ed6dc8cb1b325493ae7a093" args="(u32 x, u32 y, const SColor &amp;color)=0" -->
2225<div class="memitem">
2226<div class="memproto">
2227 <table class="memname">
2228 <tr>
2229 <td class="memname">virtual void irr::video::IVideoDriver::drawPixel </td>
2230 <td>(</td>
2231 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2232 <td class="paramname"><em>x</em>, </td>
2233 </tr>
2234 <tr>
2235 <td class="paramkey"></td>
2236 <td></td>
2237 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2238 <td class="paramname"><em>y</em>, </td>
2239 </tr>
2240 <tr>
2241 <td class="paramkey"></td>
2242 <td></td>
2243 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> &amp;&#160;</td>
2244 <td class="paramname"><em>color</em>&#160;</td>
2245 </tr>
2246 <tr>
2247 <td></td>
2248 <td>)</td>
2249 <td></td><td><code> [pure virtual]</code></td>
2250 </tr>
2251 </table>
2252</div>
2253<div class="memdoc">
2254
2255<p>Draws a pixel. </p>
2256<dl><dt><b>Parameters:</b></dt><dd>
2257 <table class="params">
2258 <tr><td class="paramname">x</td><td>The x-position of the pixel. </td></tr>
2259 <tr><td class="paramname">y</td><td>The y-position of the pixel. </td></tr>
2260 <tr><td class="paramname">color</td><td>Color of the pixel to draw. </td></tr>
2261 </table>
2262 </dd>
2263</dl>
2264
2265</div>
2266</div>
2267<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" -->
2268<div class="memitem">
2269<div class="memproto">
2270 <table class="memname">
2271 <tr>
2272 <td class="memname">virtual void irr::video::IVideoDriver::drawStencilShadow </td>
2273 <td>(</td>
2274 <td class="paramtype">bool&#160;</td>
2275 <td class="paramname"><em>clearStencilBuffer</em> = <code>false</code>, </td>
2276 </tr>
2277 <tr>
2278 <td class="paramkey"></td>
2279 <td></td>
2280 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
2281 <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>
2282 </tr>
2283 <tr>
2284 <td class="paramkey"></td>
2285 <td></td>
2286 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
2287 <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>
2288 </tr>
2289 <tr>
2290 <td class="paramkey"></td>
2291 <td></td>
2292 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
2293 <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>
2294 </tr>
2295 <tr>
2296 <td class="paramkey"></td>
2297 <td></td>
2298 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
2299 <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>
2300 </tr>
2301 <tr>
2302 <td></td>
2303 <td>)</td>
2304 <td></td><td><code> [pure virtual]</code></td>
2305 </tr>
2306 </table>
2307</div>
2308<div class="memdoc">
2309
2310<p>Fills the stencil shadow with color. </p>
2311<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>
2312<dl><dt><b>Parameters:</b></dt><dd>
2313 <table class="params">
2314 <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>
2315 <tr><td class="paramname">leftUpEdge</td><td>Color of the shadow in the upper left corner of screen. </td></tr>
2316 <tr><td class="paramname">rightUpEdge</td><td>Color of the shadow in the upper right corner of screen. </td></tr>
2317 <tr><td class="paramname">leftDownEdge</td><td>Color of the shadow in the lower left corner of screen. </td></tr>
2318 <tr><td class="paramname">rightDownEdge</td><td>Color of the shadow in the lower right corner of screen. </td></tr>
2319 </table>
2320 </dd>
2321</dl>
2322
2323</div>
2324</div>
2325<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" -->
2326<div class="memitem">
2327<div class="memproto">
2328 <table class="memname">
2329 <tr>
2330 <td class="memname">virtual void irr::video::IVideoDriver::drawStencilShadowVolume </td>
2331 <td>(</td>
2332 <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>
2333 <td class="paramname"><em>triangles</em>, </td>
2334 </tr>
2335 <tr>
2336 <td class="paramkey"></td>
2337 <td></td>
2338 <td class="paramtype">bool&#160;</td>
2339 <td class="paramname"><em>zfail</em> = <code>true</code>, </td>
2340 </tr>
2341 <tr>
2342 <td class="paramkey"></td>
2343 <td></td>
2344 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2345 <td class="paramname"><em>debugDataVisible</em> = <code>0</code>&#160;</td>
2346 </tr>
2347 <tr>
2348 <td></td>
2349 <td>)</td>
2350 <td></td><td><code> [pure virtual]</code></td>
2351 </tr>
2352 </table>
2353</div>
2354<div class="memdoc">
2355
2356<p>Draws a shadow volume into the stencil buffer. </p>
2357<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>
2358<dl><dt><b>Parameters:</b></dt><dd>
2359 <table class="params">
2360 <tr><td class="paramname">triangles</td><td>Array of 3d vectors, specifying the shadow volume. </td></tr>
2361 <tr><td class="paramname">zfail</td><td>If set to true, zfail method is used, otherwise zpass. </td></tr>
2362 <tr><td class="paramname">debugDataVisible</td><td>The debug data that is enabled for this shadow node </td></tr>
2363 </table>
2364 </dd>
2365</dl>
2366
2367</div>
2368</div>
2369<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" -->
2370<div class="memitem">
2371<div class="memproto">
2372 <table class="memname">
2373 <tr>
2374 <td class="memname">virtual void irr::video::IVideoDriver::drawVertexPrimitiveList </td>
2375 <td>(</td>
2376 <td class="paramtype">const void *&#160;</td>
2377 <td class="paramname"><em>vertices</em>, </td>
2378 </tr>
2379 <tr>
2380 <td class="paramkey"></td>
2381 <td></td>
2382 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2383 <td class="paramname"><em>vertexCount</em>, </td>
2384 </tr>
2385 <tr>
2386 <td class="paramkey"></td>
2387 <td></td>
2388 <td class="paramtype">const void *&#160;</td>
2389 <td class="paramname"><em>indexList</em>, </td>
2390 </tr>
2391 <tr>
2392 <td class="paramkey"></td>
2393 <td></td>
2394 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2395 <td class="paramname"><em>primCount</em>, </td>
2396 </tr>
2397 <tr>
2398 <td class="paramkey"></td>
2399 <td></td>
2400 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a0e3b59e025e0d0db0ed2ee0ce904deac">E_VERTEX_TYPE</a>&#160;</td>
2401 <td class="paramname"><em>vType</em> = <code>EVT_STANDARD</code>, </td>
2402 </tr>
2403 <tr>
2404 <td class="paramkey"></td>
2405 <td></td>
2406 <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a5d7de82f2169761194b2f44d95cdc1dc">scene::E_PRIMITIVE_TYPE</a>&#160;</td>
2407 <td class="paramname"><em>pType</em> = <code>scene::EPT_TRIANGLES</code>, </td>
2408 </tr>
2409 <tr>
2410 <td class="paramkey"></td>
2411 <td></td>
2412 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#af152a1edea2579f0517e0049525acb55">E_INDEX_TYPE</a>&#160;</td>
2413 <td class="paramname"><em>iType</em> = <code>EIT_16BIT</code>&#160;</td>
2414 </tr>
2415 <tr>
2416 <td></td>
2417 <td>)</td>
2418 <td></td><td><code> [pure virtual]</code></td>
2419 </tr>
2420 </table>
2421</div>
2422<div class="memdoc">
2423
2424<p>Draws a vertex primitive list. </p>
2425<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>
2426<dl><dt><b>Parameters:</b></dt><dd>
2427 <table class="params">
2428 <tr><td class="paramname">vertices</td><td>Pointer to array of vertices. </td></tr>
2429 <tr><td class="paramname">vertexCount</td><td>Amount of vertices in the array. </td></tr>
2430 <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>
2431 <tr><td class="paramname">primCount</td><td>Amount of Primitives </td></tr>
2432 <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>
2433 <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>
2434 <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>
2435 </table>
2436 </dd>
2437</dl>
2438
2439<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>
2440
2441</div>
2442</div>
2443<a class="anchor" id="aaaf9567c759f866311c76e3874822339"></a><!-- doxytag: member="irr::video::IVideoDriver::enableClipPlane" ref="aaaf9567c759f866311c76e3874822339" args="(u32 index, bool enable)=0" -->
2444<div class="memitem">
2445<div class="memproto">
2446 <table class="memname">
2447 <tr>
2448 <td class="memname">virtual void irr::video::IVideoDriver::enableClipPlane </td>
2449 <td>(</td>
2450 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2451 <td class="paramname"><em>index</em>, </td>
2452 </tr>
2453 <tr>
2454 <td class="paramkey"></td>
2455 <td></td>
2456 <td class="paramtype">bool&#160;</td>
2457 <td class="paramname"><em>enable</em>&#160;</td>
2458 </tr>
2459 <tr>
2460 <td></td>
2461 <td>)</td>
2462 <td></td><td><code> [pure virtual]</code></td>
2463 </tr>
2464 </table>
2465</div>
2466<div class="memdoc">
2467
2468<p>Enable or disable a clipping plane. </p>
2469<p>There are at least 6 clipping planes available for the user to set at will. </p>
2470<dl><dt><b>Parameters:</b></dt><dd>
2471 <table class="params">
2472 <tr><td class="paramname">index</td><td>The plane index. Must be between 0 and MaxUserClipPlanes. </td></tr>
2473 <tr><td class="paramname">enable</td><td>If true, enable the clipping plane else disable it. </td></tr>
2474 </table>
2475 </dd>
2476</dl>
2477
2478</div>
2479</div>
2480<a class="anchor" id="a7686a41fe0f506bb04c262f724f65756"></a><!-- doxytag: member="irr::video::IVideoDriver::enableMaterial2D" ref="a7686a41fe0f506bb04c262f724f65756" args="(bool enable=true)=0" -->
2481<div class="memitem">
2482<div class="memproto">
2483 <table class="memname">
2484 <tr>
2485 <td class="memname">virtual void irr::video::IVideoDriver::enableMaterial2D </td>
2486 <td>(</td>
2487 <td class="paramtype">bool&#160;</td>
2488 <td class="paramname"><em>enable</em> = <code>true</code></td><td>)</td>
2489 <td><code> [pure virtual]</code></td>
2490 </tr>
2491 </table>
2492</div>
2493<div class="memdoc">
2494
2495<p>Enable the 2d override material. </p>
2496<dl><dt><b>Parameters:</b></dt><dd>
2497 <table class="params">
2498 <tr><td class="paramname">enable</td><td>Flag which tells whether the material shall be enabled or disabled. </td></tr>
2499 </table>
2500 </dd>
2501</dl>
2502
2503</div>
2504</div>
2505<a class="anchor" id="a75f61a93c5fc9fdf161c044d27bc994e"></a><!-- doxytag: member="irr::video::IVideoDriver::endScene" ref="a75f61a93c5fc9fdf161c044d27bc994e" args="()=0" -->
2506<div class="memitem">
2507<div class="memproto">
2508 <table class="memname">
2509 <tr>
2510 <td class="memname">virtual bool irr::video::IVideoDriver::endScene </td>
2511 <td>(</td>
2512 <td class="paramname"></td><td>)</td>
2513 <td><code> [pure virtual]</code></td>
2514 </tr>
2515 </table>
2516</div>
2517<div class="memdoc">
2518
2519<p>Presents the rendered image to the screen. </p>
2520<p>Applications must call this method after performing any rendering. </p>
2521<dl class="return"><dt><b>Returns:</b></dt><dd>False if failed and true if succeeded. </dd></dl>
2522
2523</div>
2524</div>
2525<a class="anchor" id="a9b7b5942cf2378f9f96d47ec7a0cd881"></a><!-- doxytag: member="irr::video::IVideoDriver::fillMaterialStructureFromAttributes" ref="a9b7b5942cf2378f9f96d47ec7a0cd881" args="(video::SMaterial &amp;outMaterial, io::IAttributes *attributes)=0" -->
2526<div class="memitem">
2527<div class="memproto">
2528 <table class="memname">
2529 <tr>
2530 <td class="memname">virtual void irr::video::IVideoDriver::fillMaterialStructureFromAttributes </td>
2531 <td>(</td>
2532 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &amp;&#160;</td>
2533 <td class="paramname"><em>outMaterial</em>, </td>
2534 </tr>
2535 <tr>
2536 <td class="paramkey"></td>
2537 <td></td>
2538 <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> *&#160;</td>
2539 <td class="paramname"><em>attributes</em>&#160;</td>
2540 </tr>
2541 <tr>
2542 <td></td>
2543 <td>)</td>
2544 <td></td><td><code> [pure virtual]</code></td>
2545 </tr>
2546 </table>
2547</div>
2548<div class="memdoc">
2549
2550<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>
2551<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>
2552<dl><dt><b>Parameters:</b></dt><dd>
2553 <table class="params">
2554 <tr><td class="paramname">outMaterial</td><td>The material to set the properties for. </td></tr>
2555 <tr><td class="paramname">attributes</td><td>The attributes to read from. </td></tr>
2556 </table>
2557 </dd>
2558</dl>
2559
2560</div>
2561</div>
2562<a class="anchor" id="ad4eaed6d56b092e6805400ca59795de9"></a><!-- doxytag: member="irr::video::IVideoDriver::findTexture" ref="ad4eaed6d56b092e6805400ca59795de9" args="(const io::path &amp;filename)=0" -->
2563<div class="memitem">
2564<div class="memproto">
2565 <table class="memname">
2566 <tr>
2567 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a>* irr::video::IVideoDriver::findTexture </td>
2568 <td>(</td>
2569 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
2570 <td class="paramname"><em>filename</em></td><td>)</td>
2571 <td><code> [pure virtual]</code></td>
2572 </tr>
2573 </table>
2574</div>
2575<div class="memdoc">
2576
2577<p>Check if the image is already loaded. </p>
2578<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>
2579<dl><dt><b>Parameters:</b></dt><dd>
2580 <table class="params">
2581 <tr><td class="paramname">filename</td><td>Name of the texture. </td></tr>
2582 </table>
2583 </dd>
2584</dl>
2585<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to loaded texture, or 0 if not found. </dd></dl>
2586
2587</div>
2588</div>
2589<a class="anchor" id="afc8f27bfd9756f4ca8de2d4bb37b0e15"></a><!-- doxytag: member="irr::video::IVideoDriver::getColorFormat" ref="afc8f27bfd9756f4ca8de2d4bb37b0e15" args="() const =0" -->
2590<div class="memitem">
2591<div class="memproto">
2592 <table class="memname">
2593 <tr>
2594 <td class="memname">virtual <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> irr::video::IVideoDriver::getColorFormat </td>
2595 <td>(</td>
2596 <td class="paramname"></td><td>)</td>
2597 <td> const<code> [pure virtual]</code></td>
2598 </tr>
2599 </table>
2600</div>
2601<div class="memdoc">
2602
2603<p>Get the current color format of the color buffer. </p>
2604<dl class="return"><dt><b>Returns:</b></dt><dd>Color format of the color buffer. </dd></dl>
2605
2606</div>
2607</div>
2608<a class="anchor" id="a76fc2aba131b5986d07d92c6888cfc0c"></a><!-- doxytag: member="irr::video::IVideoDriver::getCurrentRenderTargetSize" ref="a76fc2aba131b5986d07d92c6888cfc0c" args="() const =0" -->
2609<div class="memitem">
2610<div class="memproto">
2611 <table class="memname">
2612 <tr>
2613 <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>
2614 <td>(</td>
2615 <td class="paramname"></td><td>)</td>
2616 <td> const<code> [pure virtual]</code></td>
2617 </tr>
2618 </table>
2619</div>
2620<div class="memdoc">
2621
2622<p>Get the size of the current render target. </p>
2623<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>
2624<dl class="return"><dt><b>Returns:</b></dt><dd>Size of render target or screen/window </dd></dl>
2625
2626</div>
2627</div>
2628<a class="anchor" id="a2b43d2215f2e5aad9b4f92aa635bcc85"></a><!-- doxytag: member="irr::video::IVideoDriver::getDriverAttributes" ref="a2b43d2215f2e5aad9b4f92aa635bcc85" args="() const =0" -->
2629<div class="memitem">
2630<div class="memproto">
2631 <table class="memname">
2632 <tr>
2633 <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>
2634 <td>(</td>
2635 <td class="paramname"></td><td>)</td>
2636 <td> const<code> [pure virtual]</code></td>
2637 </tr>
2638 </table>
2639</div>
2640<div class="memdoc">
2641
2642<p>Get attributes of the actual video driver. </p>
2643<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>
2644
2645</div>
2646</div>
2647<a class="anchor" id="af89a0c4fcc0337f3befe8b90424e68aa"></a><!-- doxytag: member="irr::video::IVideoDriver::getDriverType" ref="af89a0c4fcc0337f3befe8b90424e68aa" args="() const =0" -->
2648<div class="memitem">
2649<div class="memproto">
2650 <table class="memname">
2651 <tr>
2652 <td class="memname">virtual <a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0">E_DRIVER_TYPE</a> irr::video::IVideoDriver::getDriverType </td>
2653 <td>(</td>
2654 <td class="paramname"></td><td>)</td>
2655 <td> const<code> [pure virtual]</code></td>
2656 </tr>
2657 </table>
2658</div>
2659<div class="memdoc">
2660
2661<p>Get type of video driver. </p>
2662<dl class="return"><dt><b>Returns:</b></dt><dd>Type of driver. </dd></dl>
2663
2664</div>
2665</div>
2666<a class="anchor" id="a9eb9ee246e85a56300031f7d7516054e"></a><!-- doxytag: member="irr::video::IVideoDriver::getDynamicLight" ref="a9eb9ee246e85a56300031f7d7516054e" args="(u32 idx) const =0" -->
2667<div class="memitem">
2668<div class="memproto">
2669 <table class="memname">
2670 <tr>
2671 <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>
2672 <td>(</td>
2673 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2674 <td class="paramname"><em>idx</em></td><td>)</td>
2675 <td> const<code> [pure virtual]</code></td>
2676 </tr>
2677 </table>
2678</div>
2679<div class="memdoc">
2680
2681<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>
2682<dl><dt><b>Parameters:</b></dt><dd>
2683 <table class="params">
2684 <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>
2685 </table>
2686 </dd>
2687</dl>
2688<dl class="return"><dt><b>Returns:</b></dt><dd>Light data. </dd></dl>
2689
2690</div>
2691</div>
2692<a class="anchor" id="a9b1e5de698f264a9f74a17bdba313138"></a><!-- doxytag: member="irr::video::IVideoDriver::getDynamicLightCount" ref="a9b1e5de698f264a9f74a17bdba313138" args="() const =0" -->
2693<div class="memitem">
2694<div class="memproto">
2695 <table class="memname">
2696 <tr>
2697 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getDynamicLightCount </td>
2698 <td>(</td>
2699 <td class="paramname"></td><td>)</td>
2700 <td> const<code> [pure virtual]</code></td>
2701 </tr>
2702 </table>
2703</div>
2704<div class="memdoc">
2705
2706<p>Returns amount of dynamic lights currently set. </p>
2707<dl class="return"><dt><b>Returns:</b></dt><dd>Amount of dynamic lights currently set </dd></dl>
2708
2709</div>
2710</div>
2711<a class="anchor" id="a4f3535b2125e654e2e9645745e50cc49"></a><!-- doxytag: member="irr::video::IVideoDriver::getExposedVideoData" ref="a4f3535b2125e654e2e9645745e50cc49" args="()=0" -->
2712<div class="memitem">
2713<div class="memproto">
2714 <table class="memname">
2715 <tr>
2716 <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>
2717 <td>(</td>
2718 <td class="paramname"></td><td>)</td>
2719 <td><code> [pure virtual]</code></td>
2720 </tr>
2721 </table>
2722</div>
2723<div class="memdoc">
2724
2725<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>
2726<p>This method should only be used if the engine should be extended without having to modify the source of the engine. </p>
2727<dl class="return"><dt><b>Returns:</b></dt><dd>Collection of device dependent pointers. </dd></dl>
2728
2729</div>
2730</div>
2731<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" -->
2732<div class="memitem">
2733<div class="memproto">
2734 <table class="memname">
2735 <tr>
2736 <td class="memname">virtual void irr::video::IVideoDriver::getFog </td>
2737 <td>(</td>
2738 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> &amp;&#160;</td>
2739 <td class="paramname"><em>color</em>, </td>
2740 </tr>
2741 <tr>
2742 <td class="paramkey"></td>
2743 <td></td>
2744 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#adf41b1a85e067f5988ba1eb8bb50f44e">E_FOG_TYPE</a> &amp;&#160;</td>
2745 <td class="paramname"><em>fogType</em>, </td>
2746 </tr>
2747 <tr>
2748 <td class="paramkey"></td>
2749 <td></td>
2750 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;&#160;</td>
2751 <td class="paramname"><em>start</em>, </td>
2752 </tr>
2753 <tr>
2754 <td class="paramkey"></td>
2755 <td></td>
2756 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;&#160;</td>
2757 <td class="paramname"><em>end</em>, </td>
2758 </tr>
2759 <tr>
2760 <td class="paramkey"></td>
2761 <td></td>
2762 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;&#160;</td>
2763 <td class="paramname"><em>density</em>, </td>
2764 </tr>
2765 <tr>
2766 <td class="paramkey"></td>
2767 <td></td>
2768 <td class="paramtype">bool &amp;&#160;</td>
2769 <td class="paramname"><em>pixelFog</em>, </td>
2770 </tr>
2771 <tr>
2772 <td class="paramkey"></td>
2773 <td></td>
2774 <td class="paramtype">bool &amp;&#160;</td>
2775 <td class="paramname"><em>rangeFog</em>&#160;</td>
2776 </tr>
2777 <tr>
2778 <td></td>
2779 <td>)</td>
2780 <td></td><td><code> [pure virtual]</code></td>
2781 </tr>
2782 </table>
2783</div>
2784<div class="memdoc">
2785
2786<p>Gets the fog mode. </p>
2787
2788</div>
2789</div>
2790<a class="anchor" id="a5b71428402c0b6a3b18b8f2fa408af13"></a><!-- doxytag: member="irr::video::IVideoDriver::getFPS" ref="a5b71428402c0b6a3b18b8f2fa408af13" args="() const =0" -->
2791<div class="memitem">
2792<div class="memproto">
2793 <table class="memname">
2794 <tr>
2795 <td class="memname">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> irr::video::IVideoDriver::getFPS </td>
2796 <td>(</td>
2797 <td class="paramname"></td><td>)</td>
2798 <td> const<code> [pure virtual]</code></td>
2799 </tr>
2800 </table>
2801</div>
2802<div class="memdoc">
2803
2804<p>Returns current frames per second value. </p>
2805<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>
2806<dl class="return"><dt><b>Returns:</b></dt><dd>Approximate amount of frames per second drawn. </dd></dl>
2807
2808</div>
2809</div>
2810<a class="anchor" id="ad2098a408bbe9dad8053c3f4aea7d856"></a><!-- doxytag: member="irr::video::IVideoDriver::getGPUProgrammingServices" ref="ad2098a408bbe9dad8053c3f4aea7d856" args="()=0" -->
2811<div class="memitem">
2812<div class="memproto">
2813 <table class="memname">
2814 <tr>
2815 <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>
2816 <td>(</td>
2817 <td class="paramname"></td><td>)</td>
2818 <td><code> [pure virtual]</code></td>
2819 </tr>
2820 </table>
2821</div>
2822<div class="memdoc">
2823
2824<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>
2825<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>
2826
2827</div>
2828</div>
2829<a class="anchor" id="a5cc08e7cd2ce2a30275e22ce13bb1013"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageLoader" ref="a5cc08e7cd2ce2a30275e22ce13bb1013" args="(u32 n)=0" -->
2830<div class="memitem">
2831<div class="memproto">
2832 <table class="memname">
2833 <tr>
2834 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image_loader.html">IImageLoader</a>* irr::video::IVideoDriver::getImageLoader </td>
2835 <td>(</td>
2836 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2837 <td class="paramname"><em>n</em></td><td>)</td>
2838 <td><code> [pure virtual]</code></td>
2839 </tr>
2840 </table>
2841</div>
2842<div class="memdoc">
2843
2844<p>Retrieve the given image loader. </p>
2845<dl><dt><b>Parameters:</b></dt><dd>
2846 <table class="params">
2847 <tr><td class="paramname">n</td><td>The index of the loader to retrieve. This parameter is an 0-based array index. </td></tr>
2848 </table>
2849 </dd>
2850</dl>
2851<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the specified loader, 0 if the index is incorrect. </dd></dl>
2852
2853</div>
2854</div>
2855<a class="anchor" id="a92535921ad01c90570533ba60b0b76b2"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageLoaderCount" ref="a92535921ad01c90570533ba60b0b76b2" args="() const =0" -->
2856<div class="memitem">
2857<div class="memproto">
2858 <table class="memname">
2859 <tr>
2860 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getImageLoaderCount </td>
2861 <td>(</td>
2862 <td class="paramname"></td><td>)</td>
2863 <td> const<code> [pure virtual]</code></td>
2864 </tr>
2865 </table>
2866</div>
2867<div class="memdoc">
2868
2869<p>Retrieve the number of image loaders. </p>
2870<dl class="return"><dt><b>Returns:</b></dt><dd>Number of image loaders </dd></dl>
2871
2872</div>
2873</div>
2874<a class="anchor" id="acdc5e788993c117efebb22e155ab6a77"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageWriter" ref="acdc5e788993c117efebb22e155ab6a77" args="(u32 n)=0" -->
2875<div class="memitem">
2876<div class="memproto">
2877 <table class="memname">
2878 <tr>
2879 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image_writer.html">IImageWriter</a>* irr::video::IVideoDriver::getImageWriter </td>
2880 <td>(</td>
2881 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2882 <td class="paramname"><em>n</em></td><td>)</td>
2883 <td><code> [pure virtual]</code></td>
2884 </tr>
2885 </table>
2886</div>
2887<div class="memdoc">
2888
2889<p>Retrieve the given image writer. </p>
2890<dl><dt><b>Parameters:</b></dt><dd>
2891 <table class="params">
2892 <tr><td class="paramname">n</td><td>The index of the writer to retrieve. This parameter is an 0-based array index. </td></tr>
2893 </table>
2894 </dd>
2895</dl>
2896<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the specified writer, 0 if the index is incorrect. </dd></dl>
2897
2898</div>
2899</div>
2900<a class="anchor" id="a173f33f0537a1511abdf35ed235a683a"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageWriterCount" ref="a173f33f0537a1511abdf35ed235a683a" args="() const =0" -->
2901<div class="memitem">
2902<div class="memproto">
2903 <table class="memname">
2904 <tr>
2905 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getImageWriterCount </td>
2906 <td>(</td>
2907 <td class="paramname"></td><td>)</td>
2908 <td> const<code> [pure virtual]</code></td>
2909 </tr>
2910 </table>
2911</div>
2912<div class="memdoc">
2913
2914<p>Retrieve the number of image writers. </p>
2915<dl class="return"><dt><b>Returns:</b></dt><dd>Number of image writers </dd></dl>
2916
2917</div>
2918</div>
2919<a class="anchor" id="a198bbe60fdb1b5d6d0f4921e8a26109c"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaterial2D" ref="a198bbe60fdb1b5d6d0f4921e8a26109c" args="()=0" -->
2920<div class="memitem">
2921<div class="memproto">
2922 <table class="memname">
2923 <tr>
2924 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_s_material.html">SMaterial</a>&amp; irr::video::IVideoDriver::getMaterial2D </td>
2925 <td>(</td>
2926 <td class="paramname"></td><td>)</td>
2927 <td><code> [pure virtual]</code></td>
2928 </tr>
2929 </table>
2930</div>
2931<div class="memdoc">
2932
2933<p>Get the 2d override material for altering its values. </p>
2934<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>
2935<dl class="return"><dt><b>Returns:</b></dt><dd>Material reference which should be altered to reflect the new settings. </dd></dl>
2936
2937</div>
2938</div>
2939<a class="anchor" id="accb321dfb32ad3c76efb99427bc90cc8"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaterialRenderer" ref="accb321dfb32ad3c76efb99427bc90cc8" args="(u32 idx)=0" -->
2940<div class="memitem">
2941<div class="memproto">
2942 <table class="memname">
2943 <tr>
2944 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_material_renderer.html">IMaterialRenderer</a>* irr::video::IVideoDriver::getMaterialRenderer </td>
2945 <td>(</td>
2946 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2947 <td class="paramname"><em>idx</em></td><td>)</td>
2948 <td><code> [pure virtual]</code></td>
2949 </tr>
2950 </table>
2951</div>
2952<div class="memdoc">
2953
2954<p>Get access to a material renderer by index. </p>
2955<dl><dt><b>Parameters:</b></dt><dd>
2956 <table class="params">
2957 <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>
2958 </table>
2959 </dd>
2960</dl>
2961<dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to material renderer or null if not existing. </dd></dl>
2962
2963</div>
2964</div>
2965<a class="anchor" id="ac1d0e2e952afdcdbdd915dc106375381"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaterialRendererCount" ref="ac1d0e2e952afdcdbdd915dc106375381" args="() const =0" -->
2966<div class="memitem">
2967<div class="memproto">
2968 <table class="memname">
2969 <tr>
2970 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getMaterialRendererCount </td>
2971 <td>(</td>
2972 <td class="paramname"></td><td>)</td>
2973 <td> const<code> [pure virtual]</code></td>
2974 </tr>
2975 </table>
2976</div>
2977<div class="memdoc">
2978
2979<p>Get amount of currently available material renderers. </p>
2980<dl class="return"><dt><b>Returns:</b></dt><dd>Amount of currently available material renderers. </dd></dl>
2981
2982</div>
2983</div>
2984<a class="anchor" id="ac6f8c53abcd5a24d94c84185b0ef65e0"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaterialRendererName" ref="ac6f8c53abcd5a24d94c84185b0ef65e0" args="(u32 idx) const =0" -->
2985<div class="memitem">
2986<div class="memproto">
2987 <table class="memname">
2988 <tr>
2989 <td class="memname">virtual const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a>* irr::video::IVideoDriver::getMaterialRendererName </td>
2990 <td>(</td>
2991 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
2992 <td class="paramname"><em>idx</em></td><td>)</td>
2993 <td> const<code> [pure virtual]</code></td>
2994 </tr>
2995 </table>
2996</div>
2997<div class="memdoc">
2998
2999<p>Get name of a material renderer. </p>
3000<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>
3001<dl><dt><b>Parameters:</b></dt><dd>
3002 <table class="params">
3003 <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>
3004 </table>
3005 </dd>
3006</dl>
3007<dl class="return"><dt><b>Returns:</b></dt><dd>String with the name of the renderer, or 0 if not exisiting </dd></dl>
3008
3009</div>
3010</div>
3011<a class="anchor" id="ab64a2875011c8870fd011a486f3503ec"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaximalDynamicLightAmount" ref="ab64a2875011c8870fd011a486f3503ec" args="() const =0" -->
3012<div class="memitem">
3013<div class="memproto">
3014 <table class="memname">
3015 <tr>
3016 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getMaximalDynamicLightAmount </td>
3017 <td>(</td>
3018 <td class="paramname"></td><td>)</td>
3019 <td> const<code> [pure virtual]</code></td>
3020 </tr>
3021 </table>
3022</div>
3023<div class="memdoc">
3024
3025<p>Returns the maximal amount of dynamic lights the device can handle. </p>
3026<dl class="return"><dt><b>Returns:</b></dt><dd>Maximal amount of dynamic lights. </dd></dl>
3027
3028</div>
3029</div>
3030<a class="anchor" id="afd93e778fac79f7863da72a50e720f88"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaximalPrimitiveCount" ref="afd93e778fac79f7863da72a50e720f88" args="() const =0" -->
3031<div class="memitem">
3032<div class="memproto">
3033 <table class="memname">
3034 <tr>
3035 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getMaximalPrimitiveCount </td>
3036 <td>(</td>
3037 <td class="paramname"></td><td>)</td>
3038 <td> const<code> [pure virtual]</code></td>
3039 </tr>
3040 </table>
3041</div>
3042<div class="memdoc">
3043
3044<p>Returns the maximum amount of primitives. </p>
3045<p>(mostly vertices) which the device is able to render with one drawVertexPrimitiveList call. </p>
3046<dl class="return"><dt><b>Returns:</b></dt><dd>Maximum amount of primitives. </dd></dl>
3047
3048</div>
3049</div>
3050<a class="anchor" id="a9bc9632861757d167c035bb5ecfa6854"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaxTextureSize" ref="a9bc9632861757d167c035bb5ecfa6854" args="() const =0" -->
3051<div class="memitem">
3052<div class="memproto">
3053 <table class="memname">
3054 <tr>
3055 <td class="memname">virtual <a class="el" href="namespaceirr_1_1core.html#ad2e562e3219072e2f7fc7c2bba0ef0cb">core::dimension2du</a> irr::video::IVideoDriver::getMaxTextureSize </td>
3056 <td>(</td>
3057 <td class="paramname"></td><td>)</td>
3058 <td> const<code> [pure virtual]</code></td>
3059 </tr>
3060 </table>
3061</div>
3062<div class="memdoc">
3063
3064<p>Get the maximum texture size supported. </p>
3065
3066</div>
3067</div>
3068<a class="anchor" id="a9b76ea8ba013885c0f3d5f00131431ec"></a><!-- doxytag: member="irr::video::IVideoDriver::getMeshManipulator" ref="a9b76ea8ba013885c0f3d5f00131431ec" args="()=0" -->
3069<div class="memitem">
3070<div class="memproto">
3071 <table class="memname">
3072 <tr>
3073 <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>
3074 <td>(</td>
3075 <td class="paramname"></td><td>)</td>
3076 <td><code> [pure virtual]</code></td>
3077 </tr>
3078 </table>
3079</div>
3080<div class="memdoc">
3081
3082<p>Returns a pointer to the mesh manipulator. </p>
3083
3084</div>
3085</div>
3086<a class="anchor" id="a87ca51832295b2dceaa1e258daf863f1"></a><!-- doxytag: member="irr::video::IVideoDriver::getName" ref="a87ca51832295b2dceaa1e258daf863f1" args="() const =0" -->
3087<div class="memitem">
3088<div class="memproto">
3089 <table class="memname">
3090 <tr>
3091 <td class="memname">virtual const wchar_t* irr::video::IVideoDriver::getName </td>
3092 <td>(</td>
3093 <td class="paramname"></td><td>)</td>
3094 <td> const<code> [pure virtual]</code></td>
3095 </tr>
3096 </table>
3097</div>
3098<div class="memdoc">
3099
3100<p>Gets name of this video driver. </p>
3101<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>
3102
3103</div>
3104</div>
3105<a class="anchor" id="a149ea92e04b2d0fe18bf5b584ccf6de4"></a><!-- doxytag: member="irr::video::IVideoDriver::getOcclusionQueryResult" ref="a149ea92e04b2d0fe18bf5b584ccf6de4" args="(scene::ISceneNode *node) const =0" -->
3106<div class="memitem">
3107<div class="memproto">
3108 <table class="memname">
3109 <tr>
3110 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getOcclusionQueryResult </td>
3111 <td>(</td>
3112 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *&#160;</td>
3113 <td class="paramname"><em>node</em></td><td>)</td>
3114 <td> const<code> [pure virtual]</code></td>
3115 </tr>
3116 </table>
3117</div>
3118<div class="memdoc">
3119
3120<p>Return query result. </p>
3121<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>
3122
3123</div>
3124</div>
3125<a class="anchor" id="af119ebfd02f99f77a463007277abf14a"></a><!-- doxytag: member="irr::video::IVideoDriver::getOverrideMaterial" ref="af119ebfd02f99f77a463007277abf14a" args="()=0" -->
3126<div class="memitem">
3127<div class="memproto">
3128 <table class="memname">
3129 <tr>
3130 <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>
3131 <td>(</td>
3132 <td class="paramname"></td><td>)</td>
3133 <td><code> [pure virtual]</code></td>
3134 </tr>
3135 </table>
3136</div>
3137<div class="memdoc">
3138
3139<p>Get the global Material, which might override local materials. </p>
3140<p>Depending on the enable flags, values from this Material are used to override those of local materials of some meshbuffer being rendered. </p>
3141<dl class="return"><dt><b>Returns:</b></dt><dd>Reference to the Override Material. </dd></dl>
3142
3143</div>
3144</div>
3145<a class="anchor" id="a2ce9be45cacb4aa034d3afdb489a57a3"></a><!-- doxytag: member="irr::video::IVideoDriver::getPrimitiveCountDrawn" ref="a2ce9be45cacb4aa034d3afdb489a57a3" args="(u32 mode=0) const =0" -->
3146<div class="memitem">
3147<div class="memproto">
3148 <table class="memname">
3149 <tr>
3150 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getPrimitiveCountDrawn </td>
3151 <td>(</td>
3152 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
3153 <td class="paramname"><em>mode</em> = <code>0</code></td><td>)</td>
3154 <td> const<code> [pure virtual]</code></td>
3155 </tr>
3156 </table>
3157</div>
3158<div class="memdoc">
3159
3160<p>Returns amount of primitives (mostly triangles) which were drawn in the last frame. </p>
3161<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>
3162<dl><dt><b>Parameters:</b></dt><dd>
3163 <table class="params">
3164 <tr><td class="paramname">mode</td><td>Defines if the primitives drawn are accumulated or counted per frame. </td></tr>
3165 </table>
3166 </dd>
3167</dl>
3168<dl class="return"><dt><b>Returns:</b></dt><dd>Amount of primitives drawn in the last frame. </dd></dl>
3169
3170</div>
3171</div>
3172<a class="anchor" id="aa106dd9ff233497f9ea9a07dc6441c82"></a><!-- doxytag: member="irr::video::IVideoDriver::getScreenSize" ref="aa106dd9ff233497f9ea9a07dc6441c82" args="() const =0" -->
3173<div class="memitem">
3174<div class="memproto">
3175 <table class="memname">
3176 <tr>
3177 <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>
3178 <td>(</td>
3179 <td class="paramname"></td><td>)</td>
3180 <td> const<code> [pure virtual]</code></td>
3181 </tr>
3182 </table>
3183</div>
3184<div class="memdoc">
3185
3186<p>Get the size of the screen or render window. </p>
3187<dl class="return"><dt><b>Returns:</b></dt><dd>Size of screen or render window. </dd></dl>
3188
3189</div>
3190</div>
3191<a class="anchor" id="af4055165190e4adf221c6dc6f2434ea0"></a><!-- doxytag: member="irr::video::IVideoDriver::getTexture" ref="af4055165190e4adf221c6dc6f2434ea0" args="(const io::path &amp;filename)=0" -->
3192<div class="memitem">
3193<div class="memproto">
3194 <table class="memname">
3195 <tr>
3196 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::getTexture </td>
3197 <td>(</td>
3198 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
3199 <td class="paramname"><em>filename</em></td><td>)</td>
3200 <td><code> [pure virtual]</code></td>
3201 </tr>
3202 </table>
3203</div>
3204<div class="memdoc">
3205
3206<p>Get access to a named texture. </p>
3207<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>
3208<dl><dt><b>Parameters:</b></dt><dd>
3209 <table class="params">
3210 <tr><td class="paramname">filename</td><td>Filename of the texture to be loaded. </td></tr>
3211 </table>
3212 </dd>
3213</dl>
3214<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>
3215
3216<p>Referenced by <a class="el" href="_i_q3_shader_8h_source.html#l00770">irr::scene::quake3::getTextures()</a>.</p>
3217
3218</div>
3219</div>
3220<a class="anchor" id="aaf989c8688ffe2a28a4b8e7b6ec2bce7"></a><!-- doxytag: member="irr::video::IVideoDriver::getTexture" ref="aaf989c8688ffe2a28a4b8e7b6ec2bce7" args="(io::IReadFile *file)=0" -->
3221<div class="memitem">
3222<div class="memproto">
3223 <table class="memname">
3224 <tr>
3225 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::getTexture </td>
3226 <td>(</td>
3227 <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *&#160;</td>
3228 <td class="paramname"><em>file</em></td><td>)</td>
3229 <td><code> [pure virtual]</code></td>
3230 </tr>
3231 </table>
3232</div>
3233<div class="memdoc">
3234
3235<p>Get access to a named texture. </p>
3236<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>
3237<dl><dt><b>Parameters:</b></dt><dd>
3238 <table class="params">
3239 <tr><td class="paramname">file</td><td>Pointer to an already opened file. </td></tr>
3240 </table>
3241 </dd>
3242</dl>
3243<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>
3244
3245</div>
3246</div>
3247<a class="anchor" id="abfe395b1320ac52cea6be0e912135351"></a><!-- doxytag: member="irr::video::IVideoDriver::getTextureByIndex" ref="abfe395b1320ac52cea6be0e912135351" args="(u32 index)=0" -->
3248<div class="memitem">
3249<div class="memproto">
3250 <table class="memname">
3251 <tr>
3252 <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a>* irr::video::IVideoDriver::getTextureByIndex </td>
3253 <td>(</td>
3254 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
3255 <td class="paramname"><em>index</em></td><td>)</td>
3256 <td><code> [pure virtual]</code></td>
3257 </tr>
3258 </table>
3259</div>
3260<div class="memdoc">
3261
3262<p>Returns a texture by index. </p>
3263<dl><dt><b>Parameters:</b></dt><dd>
3264 <table class="params">
3265 <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>
3266 </table>
3267 </dd>
3268</dl>
3269<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>
3270
3271</div>
3272</div>
3273<a class="anchor" id="a4c3f976980dd8387db37feca8c8e2d73"></a><!-- doxytag: member="irr::video::IVideoDriver::getTextureCount" ref="a4c3f976980dd8387db37feca8c8e2d73" args="() const =0" -->
3274<div class="memitem">
3275<div class="memproto">
3276 <table class="memname">
3277 <tr>
3278 <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getTextureCount </td>
3279 <td>(</td>
3280 <td class="paramname"></td><td>)</td>
3281 <td> const<code> [pure virtual]</code></td>
3282 </tr>
3283 </table>
3284</div>
3285<div class="memdoc">
3286
3287<p>Returns amount of textures currently loaded. </p>
3288<dl class="return"><dt><b>Returns:</b></dt><dd>Amount of textures currently loaded </dd></dl>
3289
3290</div>
3291</div>
3292<a class="anchor" id="ae64d474cbca38f64f2dbb8fcacb1a035"></a><!-- doxytag: member="irr::video::IVideoDriver::getTextureCreationFlag" ref="ae64d474cbca38f64f2dbb8fcacb1a035" args="(E_TEXTURE_CREATION_FLAG flag) const =0" -->
3293<div class="memitem">
3294<div class="memproto">
3295 <table class="memname">
3296 <tr>
3297 <td class="memname">virtual bool irr::video::IVideoDriver::getTextureCreationFlag </td>
3298 <td>(</td>
3299 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876f">E_TEXTURE_CREATION_FLAG</a>&#160;</td>
3300 <td class="paramname"><em>flag</em></td><td>)</td>
3301 <td> const<code> [pure virtual]</code></td>
3302 </tr>
3303 </table>
3304</div>
3305<div class="memdoc">
3306
3307<p>Returns if a texture creation flag is enabled or disabled. </p>
3308<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>
3309<dl><dt><b>Parameters:</b></dt><dd>
3310 <table class="params">
3311 <tr><td class="paramname">flag</td><td>Texture creation flag. </td></tr>
3312 </table>
3313 </dd>
3314</dl>
3315<dl class="return"><dt><b>Returns:</b></dt><dd>The current texture creation flag enabled mode. </dd></dl>
3316
3317</div>
3318</div>
3319<a class="anchor" id="a85c7d04aee02c2d5d8102279f9233101"></a><!-- doxytag: member="irr::video::IVideoDriver::getTransform" ref="a85c7d04aee02c2d5d8102279f9233101" args="(E_TRANSFORMATION_STATE state) const =0" -->
3320<div class="memitem">
3321<div class="memproto">
3322 <table class="memname">
3323 <tr>
3324 <td class="memname">virtual const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a>&amp; irr::video::IVideoDriver::getTransform </td>
3325 <td>(</td>
3326 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">E_TRANSFORMATION_STATE</a>&#160;</td>
3327 <td class="paramname"><em>state</em></td><td>)</td>
3328 <td> const<code> [pure virtual]</code></td>
3329 </tr>
3330 </table>
3331</div>
3332<div class="memdoc">
3333
3334<p>Returns the transformation set by setTransform. </p>
3335<dl><dt><b>Parameters:</b></dt><dd>
3336 <table class="params">
3337 <tr><td class="paramname">state</td><td>Transformation type to query </td></tr>
3338 </table>
3339 </dd>
3340</dl>
3341<dl class="return"><dt><b>Returns:</b></dt><dd>Matrix describing the transformation. </dd></dl>
3342
3343</div>
3344</div>
3345<a class="anchor" id="a221a3ee79676ad9fbebc39cf0150516e"></a><!-- doxytag: member="irr::video::IVideoDriver::getVendorInfo" ref="a221a3ee79676ad9fbebc39cf0150516e" args="()=0" -->
3346<div class="memitem">
3347<div class="memproto">
3348 <table class="memname">
3349 <tr>
3350 <td class="memname">virtual <a class="el" href="namespaceirr_1_1core.html#ade1071a878633f2f6d8a75c5d11fec19">core::stringc</a> irr::video::IVideoDriver::getVendorInfo </td>
3351 <td>(</td>
3352 <td class="paramname"></td><td>)</td>
3353 <td><code> [pure virtual]</code></td>
3354 </tr>
3355 </table>
3356</div>
3357<div class="memdoc">
3358
3359<p>Get the graphics card vendor name. </p>
3360
3361</div>
3362</div>
3363<a class="anchor" id="aa21810374736559e937fcad30ac699b4"></a><!-- doxytag: member="irr::video::IVideoDriver::getViewPort" ref="aa21810374736559e937fcad30ac699b4" args="() const =0" -->
3364<div class="memitem">
3365<div class="memproto">
3366 <table class="memname">
3367 <tr>
3368 <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>
3369 <td>(</td>
3370 <td class="paramname"></td><td>)</td>
3371 <td> const<code> [pure virtual]</code></td>
3372 </tr>
3373 </table>
3374</div>
3375<div class="memdoc">
3376
3377<p>Gets the area of the current viewport. </p>
3378<dl class="return"><dt><b>Returns:</b></dt><dd>Rectangle of the current viewport. </dd></dl>
3379
3380</div>
3381</div>
3382<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" -->
3383<div class="memitem">
3384<div class="memproto">
3385 <table class="memname">
3386 <tr>
3387 <td class="memname">virtual void irr::video::IVideoDriver::makeColorKeyTexture </td>
3388 <td>(</td>
3389 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
3390 <td class="paramname"><em>texture</em>, </td>
3391 </tr>
3392 <tr>
3393 <td class="paramkey"></td>
3394 <td></td>
3395 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a>&#160;</td>
3396 <td class="paramname"><em>color</em>, </td>
3397 </tr>
3398 <tr>
3399 <td class="paramkey"></td>
3400 <td></td>
3401 <td class="paramtype">bool&#160;</td>
3402 <td class="paramname"><em>zeroTexels</em> = <code>false</code>&#160;</td>
3403 </tr>
3404 <tr>
3405 <td></td>
3406 <td>)</td>
3407 <td></td><td> const<code> [pure virtual]</code></td>
3408 </tr>
3409 </table>
3410</div>
3411<div class="memdoc">
3412
3413<p>Sets a boolean alpha channel on the texture based on a color key. </p>
3414<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>
3415<dl><dt><b>Parameters:</b></dt><dd>
3416 <table class="params">
3417 <tr><td class="paramname">texture</td><td>Texture whose alpha channel is modified. </td></tr>
3418 <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>
3419 <tr><td class="paramname">zeroTexels\xrefitem</td><td>deprecated 21. </td></tr>
3420 </table>
3421 </dd>
3422</dl>
3423
3424</div>
3425</div>
3426<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" -->
3427<div class="memitem">
3428<div class="memproto">
3429 <table class="memname">
3430 <tr>
3431 <td class="memname">virtual void irr::video::IVideoDriver::makeColorKeyTexture </td>
3432 <td>(</td>
3433 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
3434 <td class="paramname"><em>texture</em>, </td>
3435 </tr>
3436 <tr>
3437 <td class="paramkey"></td>
3438 <td></td>
3439 <td class="paramtype">core::position2d&lt; <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt;&#160;</td>
3440 <td class="paramname"><em>colorKeyPixelPos</em>, </td>
3441 </tr>
3442 <tr>
3443 <td class="paramkey"></td>
3444 <td></td>
3445 <td class="paramtype">bool&#160;</td>
3446 <td class="paramname"><em>zeroTexels</em> = <code>false</code>&#160;</td>
3447 </tr>
3448 <tr>
3449 <td></td>
3450 <td>)</td>
3451 <td></td><td> const<code> [pure virtual]</code></td>
3452 </tr>
3453 </table>
3454</div>
3455<div class="memdoc">
3456
3457<p>Sets a boolean alpha channel on the texture based on the color at a position. </p>
3458<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>
3459<dl><dt><b>Parameters:</b></dt><dd>
3460 <table class="params">
3461 <tr><td class="paramname">texture</td><td>Texture whose alpha channel is modified. </td></tr>
3462 <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>
3463 <tr><td class="paramname">zeroTexels\xrefitem</td><td>deprecated 22. </td></tr>
3464 </table>
3465 </dd>
3466</dl>
3467
3468</div>
3469</div>
3470<a class="anchor" id="a6470e31c1aaf2c0fa5e5a5b3f8f092e0"></a><!-- doxytag: member="irr::video::IVideoDriver::makeNormalMapTexture" ref="a6470e31c1aaf2c0fa5e5a5b3f8f092e0" args="(video::ITexture *texture, f32 amplitude=1.0f) const =0" -->
3471<div class="memitem">
3472<div class="memproto">
3473 <table class="memname">
3474 <tr>
3475 <td class="memname">virtual void irr::video::IVideoDriver::makeNormalMapTexture </td>
3476 <td>(</td>
3477 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
3478 <td class="paramname"><em>texture</em>, </td>
3479 </tr>
3480 <tr>
3481 <td class="paramkey"></td>
3482 <td></td>
3483 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
3484 <td class="paramname"><em>amplitude</em> = <code>1.0f</code>&#160;</td>
3485 </tr>
3486 <tr>
3487 <td></td>
3488 <td>)</td>
3489 <td></td><td> const<code> [pure virtual]</code></td>
3490 </tr>
3491 </table>
3492</div>
3493<div class="memdoc">
3494
3495<p>Creates a normal map from a height map texture. </p>
3496<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>
3497<dl><dt><b>Parameters:</b></dt><dd>
3498 <table class="params">
3499 <tr><td class="paramname">texture</td><td>Texture whose alpha channel is modified. </td></tr>
3500 <tr><td class="paramname">amplitude</td><td>Constant value by which the height information is multiplied. </td></tr>
3501 </table>
3502 </dd>
3503</dl>
3504
3505</div>
3506</div>
3507<a class="anchor" id="a1a236e1233fc6fc2c5f36aaa830814fc"></a><!-- doxytag: member="irr::video::IVideoDriver::OnResize" ref="a1a236e1233fc6fc2c5f36aaa830814fc" args="(const core::dimension2d&lt; u32 &gt; &amp;size)=0" -->
3508<div class="memitem">
3509<div class="memproto">
3510 <table class="memname">
3511 <tr>
3512 <td class="memname">virtual void irr::video::IVideoDriver::OnResize </td>
3513 <td>(</td>
3514 <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>
3515 <td class="paramname"><em>size</em></td><td>)</td>
3516 <td><code> [pure virtual]</code></td>
3517 </tr>
3518 </table>
3519</div>
3520<div class="memdoc">
3521
3522<p>Event handler for resize events. Only used by the engine internally. </p>
3523<p>Used to notify the driver that the window was resized. Usually, there is no need to call this method. </p>
3524
3525</div>
3526</div>
3527<a class="anchor" id="adde468368b77441ada246e1603da4f47"></a><!-- doxytag: member="irr::video::IVideoDriver::queryFeature" ref="adde468368b77441ada246e1603da4f47" args="(E_VIDEO_DRIVER_FEATURE feature) const =0" -->
3528<div class="memitem">
3529<div class="memproto">
3530 <table class="memname">
3531 <tr>
3532 <td class="memname">virtual bool irr::video::IVideoDriver::queryFeature </td>
3533 <td>(</td>
3534 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a57b1721e42a79c5dcf8e830e3621e08f">E_VIDEO_DRIVER_FEATURE</a>&#160;</td>
3535 <td class="paramname"><em>feature</em></td><td>)</td>
3536 <td> const<code> [pure virtual]</code></td>
3537 </tr>
3538 </table>
3539</div>
3540<div class="memdoc">
3541
3542<p>Queries the features of the driver. </p>
3543<p>Returns true if a feature is available </p>
3544<dl><dt><b>Parameters:</b></dt><dd>
3545 <table class="params">
3546 <tr><td class="paramname">feature</td><td>Feature to query. </td></tr>
3547 </table>
3548 </dd>
3549</dl>
3550<dl class="return"><dt><b>Returns:</b></dt><dd>True if the feature is available, false if not. </dd></dl>
3551
3552</div>
3553</div>
3554<a class="anchor" id="a2538b3163d6e072f5b3deb905cb2abb0"></a><!-- doxytag: member="irr::video::IVideoDriver::removeAllHardwareBuffers" ref="a2538b3163d6e072f5b3deb905cb2abb0" args="()=0" -->
3555<div class="memitem">
3556<div class="memproto">
3557 <table class="memname">
3558 <tr>
3559 <td class="memname">virtual void irr::video::IVideoDriver::removeAllHardwareBuffers </td>
3560 <td>(</td>
3561 <td class="paramname"></td><td>)</td>
3562 <td><code> [pure virtual]</code></td>
3563 </tr>
3564 </table>
3565</div>
3566<div class="memdoc">
3567
3568<p>Remove all hardware buffers. </p>
3569
3570</div>
3571</div>
3572<a class="anchor" id="a5d77478ed4e0896fd2fd8b8d042dc1ff"></a><!-- doxytag: member="irr::video::IVideoDriver::removeAllOcclusionQueries" ref="a5d77478ed4e0896fd2fd8b8d042dc1ff" args="()=0" -->
3573<div class="memitem">
3574<div class="memproto">
3575 <table class="memname">
3576 <tr>
3577 <td class="memname">virtual void irr::video::IVideoDriver::removeAllOcclusionQueries </td>
3578 <td>(</td>
3579 <td class="paramname"></td><td>)</td>
3580 <td><code> [pure virtual]</code></td>
3581 </tr>
3582 </table>
3583</div>
3584<div class="memdoc">
3585
3586<p>Remove all occlusion queries. </p>
3587
3588</div>
3589</div>
3590<a class="anchor" id="a179990e76fa91175d46c891b3508e717"></a><!-- doxytag: member="irr::video::IVideoDriver::removeAllTextures" ref="a179990e76fa91175d46c891b3508e717" args="()=0" -->
3591<div class="memitem">
3592<div class="memproto">
3593 <table class="memname">
3594 <tr>
3595 <td class="memname">virtual void irr::video::IVideoDriver::removeAllTextures </td>
3596 <td>(</td>
3597 <td class="paramname"></td><td>)</td>
3598 <td><code> [pure virtual]</code></td>
3599 </tr>
3600 </table>
3601</div>
3602<div class="memdoc">
3603
3604<p>Removes all textures from the texture cache and deletes them. </p>
3605<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>
3606
3607</div>
3608</div>
3609<a class="anchor" id="a1454ef5ba92de420f35678e2803485f6"></a><!-- doxytag: member="irr::video::IVideoDriver::removeHardwareBuffer" ref="a1454ef5ba92de420f35678e2803485f6" args="(const scene::IMeshBuffer *mb)=0" -->
3610<div class="memitem">
3611<div class="memproto">
3612 <table class="memname">
3613 <tr>
3614 <td class="memname">virtual void irr::video::IVideoDriver::removeHardwareBuffer </td>
3615 <td>(</td>
3616 <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">scene::IMeshBuffer</a> *&#160;</td>
3617 <td class="paramname"><em>mb</em></td><td>)</td>
3618 <td><code> [pure virtual]</code></td>
3619 </tr>
3620 </table>
3621</div>
3622<div class="memdoc">
3623
3624<p>Remove hardware buffer. </p>
3625
3626</div>
3627</div>
3628<a class="anchor" id="a9f7d9cec8356edf3e16e264e476d849a"></a><!-- doxytag: member="irr::video::IVideoDriver::removeOcclusionQuery" ref="a9f7d9cec8356edf3e16e264e476d849a" args="(scene::ISceneNode *node)=0" -->
3629<div class="memitem">
3630<div class="memproto">
3631 <table class="memname">
3632 <tr>
3633 <td class="memname">virtual void irr::video::IVideoDriver::removeOcclusionQuery </td>
3634 <td>(</td>
3635 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *&#160;</td>
3636 <td class="paramname"><em>node</em></td><td>)</td>
3637 <td><code> [pure virtual]</code></td>
3638 </tr>
3639 </table>
3640</div>
3641<div class="memdoc">
3642
3643<p>Remove occlusion query. </p>
3644
3645</div>
3646</div>
3647<a class="anchor" id="ac88319ec41daa23fef2ae935285afcc9"></a><!-- doxytag: member="irr::video::IVideoDriver::removeTexture" ref="ac88319ec41daa23fef2ae935285afcc9" args="(ITexture *texture)=0" -->
3648<div class="memitem">
3649<div class="memproto">
3650 <table class="memname">
3651 <tr>
3652 <td class="memname">virtual void irr::video::IVideoDriver::removeTexture </td>
3653 <td>(</td>
3654 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&#160;</td>
3655 <td class="paramname"><em>texture</em></td><td>)</td>
3656 <td><code> [pure virtual]</code></td>
3657 </tr>
3658 </table>
3659</div>
3660<div class="memdoc">
3661
3662<p>Removes a texture from the texture cache and deletes it. </p>
3663<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>
3664<dl><dt><b>Parameters:</b></dt><dd>
3665 <table class="params">
3666 <tr><td class="paramname">texture</td><td>Texture to delete from the engine cache. </td></tr>
3667 </table>
3668 </dd>
3669</dl>
3670
3671</div>
3672</div>
3673<a class="anchor" id="a2cefddb9ebd7f46ee946c04b301a5c5b"></a><!-- doxytag: member="irr::video::IVideoDriver::renameTexture" ref="a2cefddb9ebd7f46ee946c04b301a5c5b" args="(ITexture *texture, const io::path &amp;newName)=0" -->
3674<div class="memitem">
3675<div class="memproto">
3676 <table class="memname">
3677 <tr>
3678 <td class="memname">virtual void irr::video::IVideoDriver::renameTexture </td>
3679 <td>(</td>
3680 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&#160;</td>
3681 <td class="paramname"><em>texture</em>, </td>
3682 </tr>
3683 <tr>
3684 <td class="paramkey"></td>
3685 <td></td>
3686 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
3687 <td class="paramname"><em>newName</em>&#160;</td>
3688 </tr>
3689 <tr>
3690 <td></td>
3691 <td>)</td>
3692 <td></td><td><code> [pure virtual]</code></td>
3693 </tr>
3694 </table>
3695</div>
3696<div class="memdoc">
3697
3698<p>Renames a texture. </p>
3699<dl><dt><b>Parameters:</b></dt><dd>
3700 <table class="params">
3701 <tr><td class="paramname">texture</td><td>Pointer to the texture to rename. </td></tr>
3702 <tr><td class="paramname">newName</td><td>New name for the texture. This should be a unique name. </td></tr>
3703 </table>
3704 </dd>
3705</dl>
3706
3707</div>
3708</div>
3709<a class="anchor" id="ae2ba500924a7d74fe74dd4724b737628"></a><!-- doxytag: member="irr::video::IVideoDriver::runAllOcclusionQueries" ref="ae2ba500924a7d74fe74dd4724b737628" args="(bool visible=false)=0" -->
3710<div class="memitem">
3711<div class="memproto">
3712 <table class="memname">
3713 <tr>
3714 <td class="memname">virtual void irr::video::IVideoDriver::runAllOcclusionQueries </td>
3715 <td>(</td>
3716 <td class="paramtype">bool&#160;</td>
3717 <td class="paramname"><em>visible</em> = <code>false</code></td><td>)</td>
3718 <td><code> [pure virtual]</code></td>
3719 </tr>
3720 </table>
3721</div>
3722<div class="memdoc">
3723
3724<p>Run all occlusion queries. Draws all meshes stored in queries. </p>
3725<p>If the meshes shall not be rendered visible, use overrideMaterial to disable the color and depth buffer. </p>
3726
3727</div>
3728</div>
3729<a class="anchor" id="aaf92a35268dad06996c4f5edabec249f"></a><!-- doxytag: member="irr::video::IVideoDriver::runOcclusionQuery" ref="aaf92a35268dad06996c4f5edabec249f" args="(scene::ISceneNode *node, bool visible=false)=0" -->
3730<div class="memitem">
3731<div class="memproto">
3732 <table class="memname">
3733 <tr>
3734 <td class="memname">virtual void irr::video::IVideoDriver::runOcclusionQuery </td>
3735 <td>(</td>
3736 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *&#160;</td>
3737 <td class="paramname"><em>node</em>, </td>
3738 </tr>
3739 <tr>
3740 <td class="paramkey"></td>
3741 <td></td>
3742 <td class="paramtype">bool&#160;</td>
3743 <td class="paramname"><em>visible</em> = <code>false</code>&#160;</td>
3744 </tr>
3745 <tr>
3746 <td></td>
3747 <td>)</td>
3748 <td></td><td><code> [pure virtual]</code></td>
3749 </tr>
3750 </table>
3751</div>
3752<div class="memdoc">
3753
3754<p>Run occlusion query. Draws mesh stored in query. </p>
3755<p>If the mesh shall not be rendered visible, use overrideMaterial to disable the color and depth buffer. </p>
3756
3757</div>
3758</div>
3759<a class="anchor" id="af78022589e5b7cb42b4d6ed2f7950e42"></a><!-- doxytag: member="irr::video::IVideoDriver::setAllowZWriteOnTransparent" ref="af78022589e5b7cb42b4d6ed2f7950e42" args="(bool flag)=0" -->
3760<div class="memitem">
3761<div class="memproto">
3762 <table class="memname">
3763 <tr>
3764 <td class="memname">virtual void irr::video::IVideoDriver::setAllowZWriteOnTransparent </td>
3765 <td>(</td>
3766 <td class="paramtype">bool&#160;</td>
3767 <td class="paramname"><em>flag</em></td><td>)</td>
3768 <td><code> [pure virtual]</code></td>
3769 </tr>
3770 </table>
3771</div>
3772<div class="memdoc">
3773
3774<p>Only used by the engine internally. </p>
3775<p>Passes the global material flag AllowZWriteOnTransparent. Use the SceneManager attribute to set this value from your app. </p>
3776<dl><dt><b>Parameters:</b></dt><dd>
3777 <table class="params">
3778 <tr><td class="paramname">flag</td><td>Default behavior is to disable ZWrite, i.e. false. </td></tr>
3779 </table>
3780 </dd>
3781</dl>
3782
3783</div>
3784</div>
3785<a class="anchor" id="aaba8d96a8061264393fc74ac9a3cd04f"></a><!-- doxytag: member="irr::video::IVideoDriver::setAmbientLight" ref="aaba8d96a8061264393fc74ac9a3cd04f" args="(const SColorf &amp;color)=0" -->
3786<div class="memitem">
3787<div class="memproto">
3788 <table class="memname">
3789 <tr>
3790 <td class="memname">virtual void irr::video::IVideoDriver::setAmbientLight </td>
3791 <td>(</td>
3792 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_colorf.html">SColorf</a> &amp;&#160;</td>
3793 <td class="paramname"><em>color</em></td><td>)</td>
3794 <td><code> [pure virtual]</code></td>
3795 </tr>
3796 </table>
3797</div>
3798<div class="memdoc">
3799
3800<p>Only used by the engine internally. </p>
3801<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>
3802<dl><dt><b>Parameters:</b></dt><dd>
3803 <table class="params">
3804 <tr><td class="paramname">color</td><td>New color of the ambient light. </td></tr>
3805 </table>
3806 </dd>
3807</dl>
3808
3809</div>
3810</div>
3811<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" -->
3812<div class="memitem">
3813<div class="memproto">
3814 <table class="memname">
3815 <tr>
3816 <td class="memname">virtual bool irr::video::IVideoDriver::setClipPlane </td>
3817 <td>(</td>
3818 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
3819 <td class="paramname"><em>index</em>, </td>
3820 </tr>
3821 <tr>
3822 <td class="paramkey"></td>
3823 <td></td>
3824 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#ae7491b7985dcb74b840bfcd9c054b232">core::plane3df</a> &amp;&#160;</td>
3825 <td class="paramname"><em>plane</em>, </td>
3826 </tr>
3827 <tr>
3828 <td class="paramkey"></td>
3829 <td></td>
3830 <td class="paramtype">bool&#160;</td>
3831 <td class="paramname"><em>enable</em> = <code>false</code>&#160;</td>
3832 </tr>
3833 <tr>
3834 <td></td>
3835 <td>)</td>
3836 <td></td><td><code> [pure virtual]</code></td>
3837 </tr>
3838 </table>
3839</div>
3840<div class="memdoc">
3841
3842<p>Set or unset a clipping plane. </p>
3843<p>There are at least 6 clipping planes available for the user to set at will. </p>
3844<dl><dt><b>Parameters:</b></dt><dd>
3845 <table class="params">
3846 <tr><td class="paramname">index</td><td>The plane index. Must be between 0 and MaxUserClipPlanes. </td></tr>
3847 <tr><td class="paramname">plane</td><td>The plane itself. </td></tr>
3848 <tr><td class="paramname">enable</td><td>If true, enable the clipping plane else disable it. </td></tr>
3849 </table>
3850 </dd>
3851</dl>
3852<dl class="return"><dt><b>Returns:</b></dt><dd>True if the clipping plane is usable. </dd></dl>
3853
3854</div>
3855</div>
3856<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" -->
3857<div class="memitem">
3858<div class="memproto">
3859 <table class="memname">
3860 <tr>
3861 <td class="memname">virtual void irr::video::IVideoDriver::setFog </td>
3862 <td>(</td>
3863 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
3864 <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>
3865 </tr>
3866 <tr>
3867 <td class="paramkey"></td>
3868 <td></td>
3869 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#adf41b1a85e067f5988ba1eb8bb50f44e">E_FOG_TYPE</a>&#160;</td>
3870 <td class="paramname"><em>fogType</em> = <code>EFT_FOG_LINEAR</code>, </td>
3871 </tr>
3872 <tr>
3873 <td class="paramkey"></td>
3874 <td></td>
3875 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
3876 <td class="paramname"><em>start</em> = <code>50.0f</code>, </td>
3877 </tr>
3878 <tr>
3879 <td class="paramkey"></td>
3880 <td></td>
3881 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
3882 <td class="paramname"><em>end</em> = <code>100.0f</code>, </td>
3883 </tr>
3884 <tr>
3885 <td class="paramkey"></td>
3886 <td></td>
3887 <td class="paramtype"><a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&#160;</td>
3888 <td class="paramname"><em>density</em> = <code>0.01f</code>, </td>
3889 </tr>
3890 <tr>
3891 <td class="paramkey"></td>
3892 <td></td>
3893 <td class="paramtype">bool&#160;</td>
3894 <td class="paramname"><em>pixelFog</em> = <code>false</code>, </td>
3895 </tr>
3896 <tr>
3897 <td class="paramkey"></td>
3898 <td></td>
3899 <td class="paramtype">bool&#160;</td>
3900 <td class="paramname"><em>rangeFog</em> = <code>false</code>&#160;</td>
3901 </tr>
3902 <tr>
3903 <td></td>
3904 <td>)</td>
3905 <td></td><td><code> [pure virtual]</code></td>
3906 </tr>
3907 </table>
3908</div>
3909<div class="memdoc">
3910
3911<p>Sets the fog mode. </p>
3912<p>These are global values attached to each 3d object rendered, which has the fog flag enabled in its material. </p>
3913<dl><dt><b>Parameters:</b></dt><dd>
3914 <table class="params">
3915 <tr><td class="paramname">color</td><td>Color of the fog </td></tr>
3916 <tr><td class="paramname">fogType</td><td>Type of fog used </td></tr>
3917 <tr><td class="paramname">start</td><td>Only used in linear fog mode (linearFog=true). Specifies where fog starts. </td></tr>
3918 <tr><td class="paramname">end</td><td>Only used in linear fog mode (linearFog=true). Specifies where fog ends. </td></tr>
3919 <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>
3920 <tr><td class="paramname">pixelFog</td><td>Set this to false for vertex fog, and true if you want per-pixel fog. </td></tr>
3921 <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>
3922 </table>
3923 </dd>
3924</dl>
3925
3926</div>
3927</div>
3928<a class="anchor" id="a8c9e31b41b7e6fd26cf65ce538ebab05"></a><!-- doxytag: member="irr::video::IVideoDriver::setMaterial" ref="a8c9e31b41b7e6fd26cf65ce538ebab05" args="(const SMaterial &amp;material)=0" -->
3929<div class="memitem">
3930<div class="memproto">
3931 <table class="memname">
3932 <tr>
3933 <td class="memname">virtual void irr::video::IVideoDriver::setMaterial </td>
3934 <td>(</td>
3935 <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_material.html">SMaterial</a> &amp;&#160;</td>
3936 <td class="paramname"><em>material</em></td><td>)</td>
3937 <td><code> [pure virtual]</code></td>
3938 </tr>
3939 </table>
3940</div>
3941<div class="memdoc">
3942
3943<p>Sets a material. </p>
3944<p>All 3d drawing functions will draw geometry using this material thereafter. </p>
3945<dl><dt><b>Parameters:</b></dt><dd>
3946 <table class="params">
3947 <tr><td class="paramname">material,:</td><td>Material to be used from now on. </td></tr>
3948 </table>
3949 </dd>
3950</dl>
3951
3952</div>
3953</div>
3954<a class="anchor" id="a4ef324ed93094f84832e8d31cf0776f2"></a><!-- doxytag: member="irr::video::IVideoDriver::setMaterialRendererName" ref="a4ef324ed93094f84832e8d31cf0776f2" args="(s32 idx, const c8 *name)=0" -->
3955<div class="memitem">
3956<div class="memproto">
3957 <table class="memname">
3958 <tr>
3959 <td class="memname">virtual void irr::video::IVideoDriver::setMaterialRendererName </td>
3960 <td>(</td>
3961 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
3962 <td class="paramname"><em>idx</em>, </td>
3963 </tr>
3964 <tr>
3965 <td class="paramkey"></td>
3966 <td></td>
3967 <td class="paramtype">const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> *&#160;</td>
3968 <td class="paramname"><em>name</em>&#160;</td>
3969 </tr>
3970 <tr>
3971 <td></td>
3972 <td>)</td>
3973 <td></td><td><code> [pure virtual]</code></td>
3974 </tr>
3975 </table>
3976</div>
3977<div class="memdoc">
3978
3979<p>Sets the name of a material renderer. </p>
3980<p>Will have no effect on built-in material renderers. </p>
3981<dl><dt><b>Parameters:</b></dt><dd>
3982 <table class="params">
3983 <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>
3984 <tr><td class="paramname">name,:</td><td>New name of the material renderer. </td></tr>
3985 </table>
3986 </dd>
3987</dl>
3988
3989</div>
3990</div>
3991<a class="anchor" id="a79cbd1329b4206503e9a9593592502ea"></a><!-- doxytag: member="irr::video::IVideoDriver::setMinHardwareBufferVertexCount" ref="a79cbd1329b4206503e9a9593592502ea" args="(u32 count)=0" -->
3992<div class="memitem">
3993<div class="memproto">
3994 <table class="memname">
3995 <tr>
3996 <td class="memname">virtual void irr::video::IVideoDriver::setMinHardwareBufferVertexCount </td>
3997 <td>(</td>
3998 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
3999 <td class="paramname"><em>count</em></td><td>)</td>
4000 <td><code> [pure virtual]</code></td>
4001 </tr>
4002 </table>
4003</div>
4004<div class="memdoc">
4005
4006<p>Set the minimum number of vertices for which a hw buffer will be created. </p>
4007<dl><dt><b>Parameters:</b></dt><dd>
4008 <table class="params">
4009 <tr><td class="paramname">count</td><td>Number of vertices to set as minimum. </td></tr>
4010 </table>
4011 </dd>
4012</dl>
4013
4014</div>
4015</div>
4016<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" -->
4017<div class="memitem">
4018<div class="memproto">
4019 <table class="memname">
4020 <tr>
4021 <td class="memname">virtual bool irr::video::IVideoDriver::setRenderTarget </td>
4022 <td>(</td>
4023 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&#160;</td>
4024 <td class="paramname"><em>texture</em>, </td>
4025 </tr>
4026 <tr>
4027 <td class="paramkey"></td>
4028 <td></td>
4029 <td class="paramtype">bool&#160;</td>
4030 <td class="paramname"><em>clearBackBuffer</em> = <code>true</code>, </td>
4031 </tr>
4032 <tr>
4033 <td class="paramkey"></td>
4034 <td></td>
4035 <td class="paramtype">bool&#160;</td>
4036 <td class="paramname"><em>clearZBuffer</em> = <code>true</code>, </td>
4037 </tr>
4038 <tr>
4039 <td class="paramkey"></td>
4040 <td></td>
4041 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
4042 <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>
4043 </tr>
4044 <tr>
4045 <td></td>
4046 <td>)</td>
4047 <td></td><td><code> [pure virtual]</code></td>
4048 </tr>
4049 </table>
4050</div>
4051<div class="memdoc">
4052
4053<p>Sets a new render target. </p>
4054<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>
4055<div class="fragment"><pre class="fragment"> <span class="comment">// create render target</span>
4056 ITexture* target = driver-&gt;addRenderTargetTexture(core::dimension2d&lt;u32&gt;(128,128), <span class="stringliteral">&quot;rtt1&quot;</span>);
4057
4058 <span class="comment">// ...</span>
4059
4060 driver-&gt;setRenderTarget(target); <span class="comment">// set render target</span>
4061 <span class="comment">// .. draw stuff here</span>
4062 driver-&gt;setRenderTarget(0); <span class="comment">// set previous render target</span>
4063</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>
4064<dl><dt><b>Parameters:</b></dt><dd>
4065 <table class="params">
4066 <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>
4067 <tr><td class="paramname">clearBackBuffer</td><td>Clears the backbuffer of the render target with the color parameter </td></tr>
4068 <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>
4069 <tr><td class="paramname">color</td><td>The background color for the render target. </td></tr>
4070 </table>
4071 </dd>
4072</dl>
4073<dl class="return"><dt><b>Returns:</b></dt><dd>True if sucessful and false if not. </dd></dl>
4074
4075</div>
4076</div>
4077<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" -->
4078<div class="memitem">
4079<div class="memproto">
4080 <table class="memname">
4081 <tr>
4082 <td class="memname">virtual bool irr::video::IVideoDriver::setRenderTarget </td>
4083 <td>(</td>
4084 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a5b61a3f2bd5d458f76f2eb20b0f40972">E_RENDER_TARGET</a>&#160;</td>
4085 <td class="paramname"><em>target</em>, </td>
4086 </tr>
4087 <tr>
4088 <td class="paramkey"></td>
4089 <td></td>
4090 <td class="paramtype">bool&#160;</td>
4091 <td class="paramname"><em>clearTarget</em> = <code>true</code>, </td>
4092 </tr>
4093 <tr>
4094 <td class="paramkey"></td>
4095 <td></td>
4096 <td class="paramtype">bool&#160;</td>
4097 <td class="paramname"><em>clearZBuffer</em> = <code>true</code>, </td>
4098 </tr>
4099 <tr>
4100 <td class="paramkey"></td>
4101 <td></td>
4102 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
4103 <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>
4104 </tr>
4105 <tr>
4106 <td></td>
4107 <td>)</td>
4108 <td></td><td><code> [pure virtual]</code></td>
4109 </tr>
4110 </table>
4111</div>
4112<div class="memdoc">
4113
4114<p>set or reset special render targets </p>
4115<p>This method enables access to special color buffers such as stereoscopic buffers or auxiliary buffers. </p>
4116<dl><dt><b>Parameters:</b></dt><dd>
4117 <table class="params">
4118 <tr><td class="paramname">target</td><td>Enum value for the render target </td></tr>
4119 <tr><td class="paramname">clearTarget</td><td>Clears the target buffer with the color parameter </td></tr>
4120 <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>
4121 <tr><td class="paramname">color</td><td>The background color for the render target. </td></tr>
4122 </table>
4123 </dd>
4124</dl>
4125<dl class="return"><dt><b>Returns:</b></dt><dd>True if sucessful and false if not. </dd></dl>
4126
4127</div>
4128</div>
4129<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" -->
4130<div class="memitem">
4131<div class="memproto">
4132 <table class="memname">
4133 <tr>
4134 <td class="memname">virtual bool irr::video::IVideoDriver::setRenderTarget </td>
4135 <td>(</td>
4136 <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>
4137 <td class="paramname"><em>texture</em>, </td>
4138 </tr>
4139 <tr>
4140 <td class="paramkey"></td>
4141 <td></td>
4142 <td class="paramtype">bool&#160;</td>
4143 <td class="paramname"><em>clearBackBuffer</em> = <code>true</code>, </td>
4144 </tr>
4145 <tr>
4146 <td class="paramkey"></td>
4147 <td></td>
4148 <td class="paramtype">bool&#160;</td>
4149 <td class="paramname"><em>clearZBuffer</em> = <code>true</code>, </td>
4150 </tr>
4151 <tr>
4152 <td class="paramkey"></td>
4153 <td></td>
4154 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a>&#160;</td>
4155 <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>
4156 </tr>
4157 <tr>
4158 <td></td>
4159 <td>)</td>
4160 <td></td><td><code> [pure virtual]</code></td>
4161 </tr>
4162 </table>
4163</div>
4164<div class="memdoc">
4165
4166<p>Sets new multiple render targets. </p>
4167
4168</div>
4169</div>
4170<a class="anchor" id="a868b58a6b86b9e4841ca3879ce246c4e"></a><!-- doxytag: member="irr::video::IVideoDriver::setTextureCreationFlag" ref="a868b58a6b86b9e4841ca3879ce246c4e" args="(E_TEXTURE_CREATION_FLAG flag, bool enabled=true)=0" -->
4171<div class="memitem">
4172<div class="memproto">
4173 <table class="memname">
4174 <tr>
4175 <td class="memname">virtual void irr::video::IVideoDriver::setTextureCreationFlag </td>
4176 <td>(</td>
4177 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#acaf6f7414534f7d62bff18c5bf11876f">E_TEXTURE_CREATION_FLAG</a>&#160;</td>
4178 <td class="paramname"><em>flag</em>, </td>
4179 </tr>
4180 <tr>
4181 <td class="paramkey"></td>
4182 <td></td>
4183 <td class="paramtype">bool&#160;</td>
4184 <td class="paramname"><em>enabled</em> = <code>true</code>&#160;</td>
4185 </tr>
4186 <tr>
4187 <td></td>
4188 <td>)</td>
4189 <td></td><td><code> [pure virtual]</code></td>
4190 </tr>
4191 </table>
4192</div>
4193<div class="memdoc">
4194
4195<p>Enables or disables a texture creation flag. </p>
4196<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>
4197<dl><dt><b>Parameters:</b></dt><dd>
4198 <table class="params">
4199 <tr><td class="paramname">flag</td><td>Texture creation flag. </td></tr>
4200 <tr><td class="paramname">enabled</td><td>Specifies if the given flag should be enabled or disabled. </td></tr>
4201 </table>
4202 </dd>
4203</dl>
4204
4205</div>
4206</div>
4207<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" -->
4208<div class="memitem">
4209<div class="memproto">
4210 <table class="memname">
4211 <tr>
4212 <td class="memname">virtual void irr::video::IVideoDriver::setTransform </td>
4213 <td>(</td>
4214 <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a15b57657a320243be03ae6f66fcff43d">E_TRANSFORMATION_STATE</a>&#160;</td>
4215 <td class="paramname"><em>state</em>, </td>
4216 </tr>
4217 <tr>
4218 <td class="paramkey"></td>
4219 <td></td>
4220 <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#a73fa92e638c5ca97efd72da307cc9b65">core::matrix4</a> &amp;&#160;</td>
4221 <td class="paramname"><em>mat</em>&#160;</td>
4222 </tr>
4223 <tr>
4224 <td></td>
4225 <td>)</td>
4226 <td></td><td><code> [pure virtual]</code></td>
4227 </tr>
4228 </table>
4229</div>
4230<div class="memdoc">
4231
4232<p>Sets transformation matrices. </p>
4233<dl><dt><b>Parameters:</b></dt><dd>
4234 <table class="params">
4235 <tr><td class="paramname">state</td><td>Transformation type to be set, e.g. view, world, or projection. </td></tr>
4236 <tr><td class="paramname">mat</td><td>Matrix describing the transformation. </td></tr>
4237 </table>
4238 </dd>
4239</dl>
4240
4241</div>
4242</div>
4243<a class="anchor" id="af03cf9b67bb7b43a8021bbe4baa78a08"></a><!-- doxytag: member="irr::video::IVideoDriver::setViewPort" ref="af03cf9b67bb7b43a8021bbe4baa78a08" args="(const core::rect&lt; s32 &gt; &amp;area)=0" -->
4244<div class="memitem">
4245<div class="memproto">
4246 <table class="memname">
4247 <tr>
4248 <td class="memname">virtual void irr::video::IVideoDriver::setViewPort </td>
4249 <td>(</td>
4250 <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>
4251 <td class="paramname"><em>area</em></td><td>)</td>
4252 <td><code> [pure virtual]</code></td>
4253 </tr>
4254 </table>
4255</div>
4256<div class="memdoc">
4257
4258<p>Sets a new viewport. </p>
4259<p>Every rendering operation is done into this new area. </p>
4260<dl><dt><b>Parameters:</b></dt><dd>
4261 <table class="params">
4262 <tr><td class="paramname">area,:</td><td>Rectangle defining the new area of rendering operations. </td></tr>
4263 </table>
4264 </dd>
4265</dl>
4266
4267</div>
4268</div>
4269<a class="anchor" id="a3c26904f7d1bf0e37d51fe71562346a0"></a><!-- doxytag: member="irr::video::IVideoDriver::turnLightOn" ref="a3c26904f7d1bf0e37d51fe71562346a0" args="(s32 lightIndex, bool turnOn)=0" -->
4270<div class="memitem">
4271<div class="memproto">
4272 <table class="memname">
4273 <tr>
4274 <td class="memname">virtual void irr::video::IVideoDriver::turnLightOn </td>
4275 <td>(</td>
4276 <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&#160;</td>
4277 <td class="paramname"><em>lightIndex</em>, </td>
4278 </tr>
4279 <tr>
4280 <td class="paramkey"></td>
4281 <td></td>
4282 <td class="paramtype">bool&#160;</td>
4283 <td class="paramname"><em>turnOn</em>&#160;</td>
4284 </tr>
4285 <tr>
4286 <td></td>
4287 <td>)</td>
4288 <td></td><td><code> [pure virtual]</code></td>
4289 </tr>
4290 </table>
4291</div>
4292<div class="memdoc">
4293<p>Turns a dynamic light on or off </p>
4294<dl><dt><b>Parameters:</b></dt><dd>
4295 <table class="params">
4296 <tr><td class="paramname">lightIndex,:</td><td>the index returned by addDynamicLight </td></tr>
4297 <tr><td class="paramname">turnOn,:</td><td>true to turn the light on, false to turn it off </td></tr>
4298 </table>
4299 </dd>
4300</dl>
4301
4302</div>
4303</div>
4304<a class="anchor" id="ab611513a8cdb3cc62c29b864de0d1de7"></a><!-- doxytag: member="irr::video::IVideoDriver::updateAllOcclusionQueries" ref="ab611513a8cdb3cc62c29b864de0d1de7" args="(bool block=true)=0" -->
4305<div class="memitem">
4306<div class="memproto">
4307 <table class="memname">
4308 <tr>
4309 <td class="memname">virtual void irr::video::IVideoDriver::updateAllOcclusionQueries </td>
4310 <td>(</td>
4311 <td class="paramtype">bool&#160;</td>
4312 <td class="paramname"><em>block</em> = <code>true</code></td><td>)</td>
4313 <td><code> [pure virtual]</code></td>
4314 </tr>
4315 </table>
4316</div>
4317<div class="memdoc">
4318
4319<p>Update all occlusion queries. Retrieves results from GPU. </p>
4320<p>If the query shall not block, set the flag to false. Update might not occur in this case, though </p>
4321
4322</div>
4323</div>
4324<a class="anchor" id="a626061128fcf018516c6d931bd616ea7"></a><!-- doxytag: member="irr::video::IVideoDriver::updateOcclusionQuery" ref="a626061128fcf018516c6d931bd616ea7" args="(scene::ISceneNode *node, bool block=true)=0" -->
4325<div class="memitem">
4326<div class="memproto">
4327 <table class="memname">
4328 <tr>
4329 <td class="memname">virtual void irr::video::IVideoDriver::updateOcclusionQuery </td>
4330 <td>(</td>
4331 <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *&#160;</td>
4332 <td class="paramname"><em>node</em>, </td>
4333 </tr>
4334 <tr>
4335 <td class="paramkey"></td>
4336 <td></td>
4337 <td class="paramtype">bool&#160;</td>
4338 <td class="paramname"><em>block</em> = <code>true</code>&#160;</td>
4339 </tr>
4340 <tr>
4341 <td></td>
4342 <td>)</td>
4343 <td></td><td><code> [pure virtual]</code></td>
4344 </tr>
4345 </table>
4346</div>
4347<div class="memdoc">
4348
4349<p>Update occlusion query. Retrieves results from GPU. </p>
4350<p>If the query shall not block, set the flag to false. Update might not occur in this case, though </p>
4351
4352</div>
4353</div>
4354<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" -->
4355<div class="memitem">
4356<div class="memproto">
4357 <table class="memname">
4358 <tr>
4359 <td class="memname">virtual bool irr::video::IVideoDriver::writeImageToFile </td>
4360 <td>(</td>
4361 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&#160;</td>
4362 <td class="paramname"><em>image</em>, </td>
4363 </tr>
4364 <tr>
4365 <td class="paramkey"></td>
4366 <td></td>
4367 <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &amp;&#160;</td>
4368 <td class="paramname"><em>filename</em>, </td>
4369 </tr>
4370 <tr>
4371 <td class="paramkey"></td>
4372 <td></td>
4373 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
4374 <td class="paramname"><em>param</em> = <code>0</code>&#160;</td>
4375 </tr>
4376 <tr>
4377 <td></td>
4378 <td>)</td>
4379 <td></td><td><code> [pure virtual]</code></td>
4380 </tr>
4381 </table>
4382</div>
4383<div class="memdoc">
4384
4385<p>Writes the provided image to a file. </p>
4386<p>Requires that there is a suitable image writer registered for writing the image. </p>
4387<dl><dt><b>Parameters:</b></dt><dd>
4388 <table class="params">
4389 <tr><td class="paramname">image</td><td>Image to write. </td></tr>
4390 <tr><td class="paramname">filename</td><td>Name of the file to write. </td></tr>
4391 <tr><td class="paramname">param</td><td>Control parameter for the backend (e.g. compression level). </td></tr>
4392 </table>
4393 </dd>
4394</dl>
4395<dl class="return"><dt><b>Returns:</b></dt><dd>True on successful write. </dd></dl>
4396
4397</div>
4398</div>
4399<a class="anchor" id="ae12c362cfbc92a7c59b434666c8436c0"></a><!-- doxytag: member="irr::video::IVideoDriver::writeImageToFile" ref="ae12c362cfbc92a7c59b434666c8436c0" args="(IImage *image, io::IWriteFile *file, u32 param=0)=0" -->
4400<div class="memitem">
4401<div class="memproto">
4402 <table class="memname">
4403 <tr>
4404 <td class="memname">virtual bool irr::video::IVideoDriver::writeImageToFile </td>
4405 <td>(</td>
4406 <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&#160;</td>
4407 <td class="paramname"><em>image</em>, </td>
4408 </tr>
4409 <tr>
4410 <td class="paramkey"></td>
4411 <td></td>
4412 <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_write_file.html">io::IWriteFile</a> *&#160;</td>
4413 <td class="paramname"><em>file</em>, </td>
4414 </tr>
4415 <tr>
4416 <td class="paramkey"></td>
4417 <td></td>
4418 <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
4419 <td class="paramname"><em>param</em> = <code>0</code>&#160;</td>
4420 </tr>
4421 <tr>
4422 <td></td>
4423 <td>)</td>
4424 <td></td><td><code> [pure virtual]</code></td>
4425 </tr>
4426 </table>
4427</div>
4428<div class="memdoc">
4429
4430<p>Writes the provided image to a file. </p>
4431<p>Requires that there is a suitable image writer registered for writing the image. </p>
4432<dl><dt><b>Parameters:</b></dt><dd>
4433 <table class="params">
4434 <tr><td class="paramname">image</td><td>Image to write. </td></tr>
4435 <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>
4436 <tr><td class="paramname">param</td><td>Control parameter for the backend (e.g. compression level). </td></tr>
4437 </table>
4438 </dd>
4439</dl>
4440<dl class="return"><dt><b>Returns:</b></dt><dd>True on successful write. </dd></dl>
4441
4442</div>
4443</div>
4444<hr/>The documentation for this class was generated from the following file:<ul>
4445<li><a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a></li>
4446</ul>
4447</div>
4448</div>
4449 <div id="nav-path" class="navpath">
4450 <ul>
4451 <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li>
4452 <li class="navelem"><a class="el" href="namespaceirr_1_1video.html">video</a> </li>
4453 <li class="navelem"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html">IVideoDriver</a> </li>
4454<!-- window showing the filter options -->
4455<div id="MSearchSelectWindow"
4456 onmouseover="return searchBox.OnSearchSelectShow()"
4457 onmouseout="return searchBox.OnSearchSelectHide()"
4458 onkeydown="return searchBox.OnSearchSelectKey(event)">
4459<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>
4460
4461<!-- iframe showing the search results (closed by default) -->
4462<div id="MSearchResultsWindow">
4463<iframe src="javascript:void(0)" frameborder="0"
4464 name="MSearchResults" id="MSearchResults">
4465</iframe>
4466</div>
4467
4468
4469 <li class="footer">
4470<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht
4471Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:48 for Irrlicht 3D Engine by
4472<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
4473 </ul>
4474 </div>
4475
4476
4477</body>
4478</html>