Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > by-pkgid > a16d689bc65aac5d987d5129109e6de5 > files > 776

irrlicht-doc-1.7.2-1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Irrlicht Engine: irr::video::IVideoDriver Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table class="irrlicht" >
  <tr valign="middle"> 
    <td><font size="2"><a class="qindex" href="index.html"><font color="#FFFFFF">Home</font></a> 
      | <a class="qindex" href="namespaces.html"><font color="#FFFFFF">Namespaces</font></a> 
      | <a class="qindex" href="hierarchy.html"><font color="#FFFFFF">Hierarchy</font></a> 
      | <a class="qindex" href="classes.html"><font color="#FFFFFF">Alphabetical 
      List</font></a> | <a class="qindex" href="annotated.html"><font color="#FFFFFF"> 
      Class list</font></a> | <a class="qindex" href="files.html"><font color="#FFFFFF">Files</font></a> 
      | <a class="qindex" href="namespacemembers.html"><font color="#FFFFFF"> 
      Namespace&nbsp;Members</font></a> | <a class="qindex" href="functions.html"><font color="#FFFFFF">Class 
      members</font></a> | <a class="qindex" href="globals.html"><font color="#FFFFFF">File 
      members</font></a> | <a class="qindex" href="pages.html"><font color="#FFFFFF">Tutorials</font></a></font> </td>
  </tr>
</table>
<!-- Generated by Doxygen 1.6.2 -->
  <div class="navpath"><a class="el" href="namespaceirr.html">irr</a>::<a class="el" href="namespaceirr_1_1video.html">video</a>::<a class="el" href="classirr_1_1video_1_1_i_video_driver.html">IVideoDriver</a>
  </div>
<div class="contents">
<h1>irr::video::IVideoDriver Class Reference</h1><!-- doxytag: class="irr::video::IVideoDriver" --><!-- doxytag: inherits="irr::IReferenceCounted" -->
<p>Interface to driver which is able to perform 2d and 3d graphics functions.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for irr::video::IVideoDriver:</div>
<div class="dynsection">
 <div class="center">
  <img src="classirr_1_1video_1_1_i_video_driver.png" usemap="#irr::video::IVideoDriver_map" alt=""/>
  <map id="irr::video::IVideoDriver_map" name="irr::video::IVideoDriver_map">
<area href="classirr_1_1_i_reference_counted.html" alt="irr::IReferenceCounted" shape="rect" coords="0,0,140,24"/>
</map>
 </div>
</div>

<p><a href="classirr_1_1video_1_1_i_video_driver-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds an external image loader to the engine.  <a href="#a9479ae15f0e26eaaf15c9420ff289b6d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds an external image writer to the engine.  <a href="#a56160e0d88346e04db921fbe4635a7ae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a new material renderer to the video device.  <a href="#a0dfc3a7168f3a73a6f4323b579f03ff6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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="classirr_1_1core_1_1string.html">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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a new render target texture to the texture cache.  <a href="#aa704cece826ee37d02e4bb054b0b8797"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#abfebeb09a692c0d6b4741d952d97668e">addTexture</a> (const <a class="el" href="classirr_1_1core_1_1string.html">io::path</a> &amp;name, <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *image, void *mipmapData=0)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td 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/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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="classirr_1_1core_1_1string.html">io::path</a> &amp;name, <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> format=ECF_A8R8G8B8)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an empty texture of specified size.  <a href="#a8c02ee280bb738cdf38b77e7a798244e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Applications must call this method before performing any rendering.  <a href="#a015b8f2f18c260a00a858181be1e9945"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a4ba84ee992939fc913d4935caffce87b">checkDriverReset</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if the driver was recently reset.  <a href="#a4ba84ee992939fc913d4935caffce87b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a2036fe0a27dbd1a123ff5aedb07373a5">clearZBuffer</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clears the ZBuffer.  <a href="#a2036fe0a27dbd1a123ff5aedb07373a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9af1353d9fd2c1704cf7cf338f6ec24c">createAttributesFromMaterial</a> (const <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &amp;material)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates material attributes list from a material.  <a href="#a9af1353d9fd2c1704cf7cf338f6ec24c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a software image from a part of a texture.  <a href="#a38e722e8dd2d750907e9e059c3dc8fae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a8bf2cd38851084ab227f67c27df07288">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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a software image from a part of another image.  <a href="#a8bf2cd38851084ab227f67c27df07288"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aacd6737e2e791b7312ab3a38a54c0733">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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a software image by converting it to given format from another image.  <a href="#aacd6737e2e791b7312ab3a38a54c0733"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an empty software image.  <a href="#aee1578fdd92118665755f31c0dd1dbb5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a software image from a byte array.  <a href="#a425d60f2fcad42d8a79c33c587f41a06"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a software image from a file.  <a href="#a322c41fa08c1da9de4633cf8a1e68607"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ac5b4c13f64d96d27fa27f52b68f77b8c">createImageFromFile</a> (const <a class="el" href="classirr_1_1core_1_1string.html">io::path</a> &amp;filename)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a software image from a file.  <a href="#ac5b4c13f64d96d27fa27f52b68f77b8c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a8bf0a7310657ccf42e3cc6715ef36dbe">createScreenShot</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Make a screenshot of the last rendered frame.  <a href="#a8bf0a7310657ccf42e3cc6715ef36dbe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab1bd29567ef6eb31a43bebe04c47eb5e">deleteAllDynamicLights</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td 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/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Disable a feature of the driver.  <a href="#aea64c03fc205f23ec7575884fb7309c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td 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/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a 2d image using a color.  <a href="#a167d3a5e2ea5804bfa9ba9e526bbcdb3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a 2d image without any special effects.  <a href="#ac1f12aefefb24414e03876bca942fb02"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a set of 2d images, using a color and the alpha channel of the texture.  <a href="#a6485a684c4dfa4d0f94d0edfb46439a6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a set of 2d images, using a color and the alpha channel of the texture.  <a href="#a1b7647e900a56f23abb0809fd533617e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a 2d line.  <a href="#a7b5388e319a0ae1340c3d81db02dd959"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a non filled concyclic regular 2d polyon.  <a href="#aaf1318379f3d70c9347cfa853b944ad4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a 2d rectangle with a gradient.  <a href="#a83bb3c30be6c9f960a4d8b625d7dee8c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a 2d rectangle.  <a href="#ac7f452fae0ef8abe01768a78ba7033b7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a65efe36e19f0570988848175a8af7bd1">draw2DRectangleOutline</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the outline of a 2D rectangle.  <a href="#a65efe36e19f0570988848175a8af7bd1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a vertex primitive list in 2d.  <a href="#a34845920167c68578a78f842af54d140"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a 3d axis aligned box.  <a href="#a7773fce9358ee81db5484b2d21015570"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a5e4e03dca1720f3d2019b73a4eebb5e6">draw3DLine</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> &amp;start, const <a class="el" href="classirr_1_1core_1_1vector3d.html">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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a 3d line.  <a href="#a5e4e03dca1720f3d2019b73a4eebb5e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ac5eb03a333a43d17278dad31be19efca">draw3DTriangle</a> (const <a class="el" href="classirr_1_1core_1_1triangle3d.html">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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a 3d triangle.  <a href="#ac5eb03a333a43d17278dad31be19efca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><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)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an indexed triangle fan.  <a href="#a7fbc69e35e987b4d3882e51a62b8030b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><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)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an indexed triangle fan.  <a href="#ae0b8902326a78075ad1b12d0cfc722aa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><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)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an indexed triangle fan.  <a href="#a8303b9a0f3e941d07d8cdc70c8fc1346"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><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)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an indexed triangle list.  <a href="#a09777bd8ca7a25e6f6134369e5dfb680"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><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)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an indexed triangle list.  <a href="#a041d8028bc10f33c6707a3d1ddbdea4d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><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)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an indexed triangle list.  <a href="#a55eba6140492faaed9dca7e16ad8dde2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a mesh buffer.  <a href="#ab09507d0b00502912b75e31d2c344e5c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a pixel.  <a href="#a6567ced74ed6dc8cb1b325493ae7a093"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fills the stencil shadow with color.  <a href="#a985ea57c5cf23b7774044f6ed9f96579"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a6e52de47f3fb1e1077572b7408d0938e">drawStencilShadowVolume</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> *triangles, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> count, bool zfail=true)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a shadow volume into the stencil buffer.  <a href="#a6e52de47f3fb1e1077572b7408d0938e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a vertex primitive list.  <a href="#ab18ac3ba8b6dbaa4437c5eb3b1e2f4fb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enable or disable a clipping plane.  <a href="#aaaf9567c759f866311c76e3874822339"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a7686a41fe0f506bb04c262f724f65756">enableMaterial2D</a> (bool enable=true)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enable the 2d override material.  <a href="#a7686a41fe0f506bb04c262f724f65756"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a75f61a93c5fc9fdf161c044d27bc994e">endScene</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Presents the rendered image to the screen.  <a href="#a75f61a93c5fc9fdf161c044d27bc994e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td 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/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ad4eaed6d56b092e6805400ca59795de9">findTexture</a> (const <a class="el" href="classirr_1_1core_1_1string.html">io::path</a> &amp;filename)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if the image is already loaded.  <a href="#ad4eaed6d56b092e6805400ca59795de9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#afc8f27bfd9756f4ca8de2d4bb37b0e15">getColorFormat</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the current color format of the color buffer.  <a href="#afc8f27bfd9756f4ca8de2d4bb37b0e15"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/>
<a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a76fc2aba131b5986d07d92c6888cfc0c">getCurrentRenderTargetSize</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the size of the current render target.  <a href="#a76fc2aba131b5986d07d92c6888cfc0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0">E_DRIVER_TYPE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af89a0c4fcc0337f3befe8b90424e68aa">getDriverType</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get type of video driver.  <a href="#af89a0c4fcc0337f3befe8b90424e68aa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="structirr_1_1video_1_1_s_light.html">SLight</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td 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/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9b1e5de698f264a9f74a17bdba313138">getDynamicLightCount</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns amount of dynamic lights currently set.  <a href="#a9b1e5de698f264a9f74a17bdba313138"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="structirr_1_1video_1_1_s_exposed_video_data.html">SExposedVideoData</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a4f3535b2125e654e2e9645745e50cc49">getExposedVideoData</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td 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/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the fog mode.  <a href="#a29435c6a654675bdb276c89fd4a1356c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a5b71428402c0b6a3b18b8f2fa408af13">getFPS</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns current frames per second value.  <a href="#a5b71428402c0b6a3b18b8f2fa408af13"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_g_p_u_programming_services.html">IGPUProgrammingServices</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ad2098a408bbe9dad8053c3f4aea7d856">getGPUProgrammingServices</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td 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/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_image_loader.html">IImageLoader</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the given image loader.  <a href="#a5cc08e7cd2ce2a30275e22ce13bb1013"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a92535921ad01c90570533ba60b0b76b2">getImageLoaderCount</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the number of image loaders.  <a href="#a92535921ad01c90570533ba60b0b76b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_image_writer.html">IImageWriter</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the given image writer.  <a href="#acdc5e788993c117efebb22e155ab6a77"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a173f33f0537a1511abdf35ed235a683a">getImageWriterCount</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the number of image writers.  <a href="#a173f33f0537a1511abdf35ed235a683a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_s_material.html">SMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a198bbe60fdb1b5d6d0f4921e8a26109c">getMaterial2D</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the 2d override material for altering its values.  <a href="#a198bbe60fdb1b5d6d0f4921e8a26109c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_material_renderer.html">IMaterialRenderer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get access to a material renderer by index.  <a href="#accb321dfb32ad3c76efb99427bc90cc8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ac1d0e2e952afdcdbdd915dc106375381">getMaterialRendererCount</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get amount of currently available material renderers.  <a href="#ac1d0e2e952afdcdbdd915dc106375381"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get name of a material renderer.  <a href="#ac6f8c53abcd5a24d94c84185b0ef65e0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#ab64a2875011c8870fd011a486f3503ec">getMaximalDynamicLightAmount</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the maximal amount of dynamic lights the device can handle.  <a href="#ab64a2875011c8870fd011a486f3503ec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#afd93e778fac79f7863da72a50e720f88">getMaximalPrimitiveCount</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the maximum amount of primitives.  <a href="#afd93e778fac79f7863da72a50e720f88"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2du</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9bc9632861757d167c035bb5ecfa6854">getMaxTextureSize</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the maximum texture size supported.  <a href="#a9bc9632861757d167c035bb5ecfa6854"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_manipulator.html">scene::IMeshManipulator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a9b76ea8ba013885c0f3d5f00131431ec">getMeshManipulator</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to the mesh manipulator.  <a href="#a9b76ea8ba013885c0f3d5f00131431ec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const wchar_t *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a87ca51832295b2dceaa1e258daf863f1">getName</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets name of this video driver.  <a href="#a87ca51832295b2dceaa1e258daf863f1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structirr_1_1video_1_1_s_override_material.html">SOverrideMaterial</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af119ebfd02f99f77a463007277abf14a">getOverrideMaterial</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the global Material, which might override local materials.  <a href="#af119ebfd02f99f77a463007277abf14a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns amount of primitives (mostly triangles) which were drawn in the last frame.  <a href="#a2ce9be45cacb4aa034d3afdb489a57a3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/>
<a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aa106dd9ff233497f9ea9a07dc6441c82">getScreenSize</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the size of the screen or render window.  <a href="#aa106dd9ff233497f9ea9a07dc6441c82"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get access to a named texture.  <a href="#aaf989c8688ffe2a28a4b8e7b6ec2bce7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af4055165190e4adf221c6dc6f2434ea0">getTexture</a> (const <a class="el" href="classirr_1_1core_1_1string.html">io::path</a> &amp;filename)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get access to a named texture.  <a href="#af4055165190e4adf221c6dc6f2434ea0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_texture.html">ITexture</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a texture by index.  <a href="#abfe395b1320ac52cea6be0e912135351"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a4c3f976980dd8387db37feca8c8e2d73">getTextureCount</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns amount of textures currently loaded.  <a href="#a4c3f976980dd8387db37feca8c8e2d73"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns if a texture creation flag is enabled or disabled.  <a href="#ae64d474cbca38f64f2dbb8fcacb1a035"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the transformation set by setTransform.  <a href="#a85c7d04aee02c2d5d8102279f9233101"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classirr_1_1core_1_1string.html">core::stringc</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a221a3ee79676ad9fbebc39cf0150516e">getVendorInfo</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the graphics card vendor name.  <a href="#a221a3ee79676ad9fbebc39cf0150516e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">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;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#aa21810374736559e937fcad30ac699b4">getViewPort</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the area of the current viewport.  <a href="#aa21810374736559e937fcad30ac699b4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets a boolean alpha channel on the texture based on the color at a position.  <a href="#aed772902f4fe1185b44ce81b9b0b9add"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets a boolean alpha channel on the texture based on a color key.  <a href="#a701e7d2101eb26888f57928134bc2ffb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a normal map from a height map texture.  <a href="#a6470e31c1aaf2c0fa5e5a5b3f8f092e0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Event handler for resize events. Only used by the engine internally.  <a href="#a1a236e1233fc6fc2c5f36aaa830814fc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queries the features of the driver.  <a href="#adde468368b77441ada246e1603da4f47"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a2538b3163d6e072f5b3deb905cb2abb0">removeAllHardwareBuffers</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove all hardware buffers.  <a href="#a2538b3163d6e072f5b3deb905cb2abb0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a179990e76fa91175d46c891b3508e717">removeAllTextures</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes all textures from the texture cache and deletes them.  <a href="#a179990e76fa91175d46c891b3508e717"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove hardware buffer.  <a href="#a1454ef5ba92de420f35678e2803485f6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a texture from the texture cache and deletes it.  <a href="#ac88319ec41daa23fef2ae935285afcc9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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="classirr_1_1core_1_1string.html">io::path</a> &amp;newName)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Renames a texture.  <a href="#a2cefddb9ebd7f46ee946c04b301a5c5b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#af78022589e5b7cb42b4d6ed2f7950e42">setAllowZWriteOnTransparent</a> (bool flag)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Only used by the engine internally.  <a href="#af78022589e5b7cb42b4d6ed2f7950e42"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Only used by the engine internally.  <a href="#aaba8d96a8061264393fc74ac9a3cd04f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><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="classirr_1_1core_1_1plane3d.html">core::plane3df</a> &amp;plane, bool enable=false)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set or unset a clipping plane.  <a href="#a959ac385891941e7ec8d99b2f105b265"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the fog mode.  <a href="#af8cbb090b42198244c1703eb17024bbc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets a material.  <a href="#a8c9e31b41b7e6fd26cf65ce538ebab05"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the name of a material renderer.  <a href="#a4ef324ed93094f84832e8d31cf0776f2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the minimum number of vertices for which a hw buffer will be created.  <a href="#a79cbd1329b4206503e9a9593592502ea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets new multiple render targets.  <a href="#a1e2bd871ef54ae9bf16c3a49b318d777"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set or reset special render targets  <a href="#ad75e7606ab186f1e31cc126bcaaeba9c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets a new render target.  <a href="#a8c38a8d8d6d49be53bda55eb0749e7eb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enables or disables a texture creation flag.  <a href="#a868b58a6b86b9e4841ca3879ce246c4e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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="classirr_1_1core_1_1_c_matrix4.html">core::matrix4</a> &amp;mat)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets transformation matrices.  <a href="#aaf6e88bedf7b91666a2bd34f46e092fc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets a new viewport.  <a href="#af03cf9b67bb7b43a8021bbe4baa78a08"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><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</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Writes the provided image to a file.  <a href="#ae12c362cfbc92a7c59b434666c8436c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><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="classirr_1_1core_1_1string.html">io::path</a> &amp;filename, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> param=0)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Writes the provided image to a file.  <a href="#a407d6a1483f995060035340e0a92ce9b"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Interface to driver which is able to perform 2d and 3d graphics functions. </p>
<p>This interface is one of the most important interfaces of the Irrlicht Engine: All rendering and texture manipulation is done with this interface. You are able to use the Irrlicht Engine by only invoking methods of this interface if you like to, although the <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html" title="The Scene Manager manages scene nodes, mesh recources, cameras and all the other...">irr::scene::ISceneManager</a> interface provides a lot of powerful classes and methods to make the programmer's life easier. </p>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<p>Creates a software image from a part of another image. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000021">Deprecated:</a></b></dt><dd>Create an empty image and use copyTo() </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>imageToCopy</em>&nbsp;</td><td>Image to copy to the new image in part. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>Position of rectangle to copy. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>Extents of rectangle to copy. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The created image. If you no longer need the image, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IImage::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

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

<p>Creates a software image by converting it to given format from another image. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000020">Deprecated:</a></b></dt><dd>Create an empty image and use copyTo() </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>format</em>&nbsp;</td><td>Desired color format of the image. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>imageToCopy</em>&nbsp;</td><td>Image to copy to the new image. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The created image. If you no longer need the image, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IImage::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

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

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

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

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

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

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

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

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

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

</div>
</div>
<a class="anchor" id="a8bf0a7310657ccf42e3cc6715ef36dbe"></a><!-- doxytag: member="irr::video::IVideoDriver::createScreenShot" ref="a8bf0a7310657ccf42e3cc6715ef36dbe" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a>* irr::video::IVideoDriver::createScreenShot </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

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

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

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

<p>Disable a feature of the driver. </p>
<p>Can also be used to enable the features again. It is not possible to enable unsupported features this way, though. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>feature</em>&nbsp;</td><td>Feature to disable. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>flag</em>&nbsp;</td><td>When true the feature is disabled, otherwise it is enabled. </td></tr>
  </table>
  </dd>
</dl>

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

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

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

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

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

<p>Draws a 2d image without any special effects. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>texture</em>&nbsp;</td><td>Pointer to texture to use. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>destPos</em>&nbsp;</td><td>Upper left 2d destination position where the image will be drawn. </td></tr>
  </table>
  </dd>
</dl>

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

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

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

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

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

<p>Draws a 2d line. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>start</em>&nbsp;</td><td>Screen coordinates of the start of the line in pixels. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>end</em>&nbsp;</td><td>Screen coordinates of the start of the line in pixels. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>Color of the line to draw. </td></tr>
  </table>
  </dd>
</dl>

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

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

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

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

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

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

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

<p>Draws the outline of a 2D rectangle. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>Position of the rectangle. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>Color of the rectangle to draw. The alpha component specifies how transparent the rectangle outline will be. </td></tr>
  </table>
  </dd>
</dl>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<p>Draws a mesh buffer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mb</em>&nbsp;</td><td>Buffer to draw; </td></tr>
  </table>
  </dd>
</dl>

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

<p>Draws a pixel. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>The x-position of the pixel. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>The y-position of the pixel. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>Color of the pixel to draw. </td></tr>
  </table>
  </dd>
</dl>

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

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

</div>
</div>
<a class="anchor" id="a6e52de47f3fb1e1077572b7408d0938e"></a><!-- doxytag: member="irr::video::IVideoDriver::drawStencilShadowVolume" ref="a6e52de47f3fb1e1077572b7408d0938e" args="(const core::vector3df *triangles, s32 count, bool zfail=true)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::video::IVideoDriver::drawStencilShadowVolume </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> *&nbsp;</td>
          <td class="paramname"> <em>triangles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a>&nbsp;</td>
          <td class="paramname"> <em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>zfail</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws a shadow volume into the stencil buffer. </p>
<p>To draw a stencil shadow, do this: First, draw all geometry. Then use this method, to draw the shadow volume. Then, use <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a985ea57c5cf23b7774044f6ed9f96579" title="Fills the stencil shadow with color.">IVideoDriver::drawStencilShadow()</a> to visualize the shadow. Please note that the code for the opengl version of the method is based on free code sent in by Philipp Dortmann, lots of thanks go to him! </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>triangles</em>&nbsp;</td><td>Pointer to array of 3d vectors, specifying the shadow volume. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>Amount of triangles in the array. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>zfail</em>&nbsp;</td><td>If set to true, zfail method is used, otherwise zpass. </td></tr>
  </table>
  </dd>
</dl>

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

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

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

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

<p>Enable or disable a clipping plane. </p>
<p>There are at least 6 clipping planes available for the user to set at will. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The plane index. Must be between 0 and MaxUserClipPlanes. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>enable</em>&nbsp;</td><td>If true, enable the clipping plane else disable it. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Enable the 2d override material. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>enable</em>&nbsp;</td><td>Flag which tells whether the material shall be enabled or disabled. </td></tr>
  </table>
  </dd>
</dl>

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

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

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

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

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

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

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

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

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

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

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

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

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

<p>Returns light data which was previously set by <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a813a39352eae26c4d30b5882618639be">IVideoDriver::addDynamicLight()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>idx</em>&nbsp;</td><td>Zero based index of the light. Must be 0 or greater and smaller than IVideoDriver()getDynamicLightCount. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Light data. </dd></dl>

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

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

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

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

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

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

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

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

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

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

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

<p>Retrieve the given image loader. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>The index of the loader to retrieve. This parameter is an 0-based array index. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the specified loader, 0 if the index is uncorrect. </dd></dl>

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

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

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

<p>Retrieve the given image writer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>The index of the writer to retrieve. This parameter is an 0-based array index. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the specified writer, 0 if the index is uncorrect. </dd></dl>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<p>Returns if a texture creation flag is enabled or disabled. </p>
<p>You can change this value using setTextureCreationMode(). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>flag</em>&nbsp;</td><td>Texture creation flag. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current texture creation mode. </dd></dl>

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

<p>Returns the transformation set by setTransform. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>state</em>&nbsp;</td><td>Transformation type to query </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Matrix describing the transformation. </dd></dl>

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

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

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

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

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

<p>Sets a boolean alpha channel on the texture based on the color at a position. </p>
<p>This makes the texture fully transparent at the texels where the color key can be found when using for example draw2DImage with useAlphachannel==true. The alpha of other texels is not modified. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>texture</em>&nbsp;</td><td>Texture whose alpha channel is modified. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>colorKeyPixelPos</em>&nbsp;</td><td>Position of a pixel with the color key color. Every texel with this color will become fully transparent as described above. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>zeroTexels</em>&nbsp;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000019">Deprecated:</a></b></dt><dd>If set to true, then any texels that match the color key will have their color, as well as their alpha, set to zero (i.e. black). This behaviour matches the legacy (buggy) behaviour prior to release 1.5 and is provided for backwards compatibility only. </dd></dl>

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

<p>Sets a boolean alpha channel on the texture based on a color key. </p>
<p>This makes the texture fully transparent at the texels where this color key can be found when using for example draw2DImage with useAlphachannel==true. The alpha of other texels is not modified. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>texture</em>&nbsp;</td><td>Texture whose alpha channel is modified. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>Color key color. Every texel with this color will become fully transparent as described above. Please note that the colors of a texture may be converted when loading it, so the color values may not be exactly the same in the engine and for example in picture edit programs. To avoid this problem, you could use the makeColorKeyTexture method, which takes the position of a pixel instead a color value. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>zeroTexels</em>&nbsp;</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000018">Deprecated:</a></b></dt><dd>If set to true, then any texels that match the color key will have their color, as well as their alpha, set to zero (i.e. black). This behaviour matches the legacy (buggy) behaviour prior to release 1.5 and is provided for backwards compatibility only. </dd></dl>

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

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

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

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

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

<p>Queries the features of the driver. </p>
<p>Returns true if a feature is available </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>feature</em>&nbsp;</td><td>Feature to query. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the feature is available, false if not. </dd></dl>

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

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

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

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

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

<p>Remove hardware buffer. </p>

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

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

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

<p>Renames a texture. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>texture</em>&nbsp;</td><td>Pointer to the texture to rename. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>newName</em>&nbsp;</td><td>New name for the texture. This should be a unique name. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Only used by the engine internally. </p>
<p>Passes the global material flag AllowZWriteOnTransparent. Use the SceneManager attribute to set this value from your app. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>flag</em>&nbsp;</td><td>Default behavior is to disable ZWrite, i.e. false. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Only used by the engine internally. </p>
<p>The ambient color is set in the scene manager, see <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#a8a424accb615c4f60fde59f55033a816" title="Sets ambient color of the scene.">scene::ISceneManager::setAmbientLight()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>New color of the ambient light. </td></tr>
  </table>
  </dd>
</dl>

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

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

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

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

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

<p>Sets a material. </p>
<p>All 3d drawing functions will draw geometry using this material thereafter. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>material,:</em>&nbsp;</td><td>Material to be used from now on. </td></tr>
  </table>
  </dd>
</dl>

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

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

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

<p>Set the minimum number of vertices for which a hw buffer will be created. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>Number of vertices to set as minimum. </td></tr>
  </table>
  </dd>
</dl>

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

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

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

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

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

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

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

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

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

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

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

<p>Sets transformation matrices. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>state</em>&nbsp;</td><td>Transformation type to be set, e.g. view, world, or projection. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mat</em>&nbsp;</td><td>Matrix describing the transformation. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Sets a new viewport. </p>
<p>Every rendering operation is done into this new area. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>area,:</em>&nbsp;</td><td>Rectangle defining the new area of rendering operations. </td></tr>
  </table>
  </dd>
</dl>

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

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

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

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

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

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a></li>
</ul>
</div>
<hr size="1">
<address style="align: right;">
<small> </small>
</address>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr> 
    <td width="0"> <div align="left"><small><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="irrlicht.png" alt="The Irrlicht Engine" align="middle" border=0 width=88 height=31></a></small></div></td>
    <td> <div align="left"><small><em><font size="2">The <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht 
        Engine</a> Documentation &copy; 2003-2010 by Nikolaus Gebhardt. Generated 
        on Sun Oct 24 12:42:09 2010 by <a href="http://www.doxygen.org" target="_blank">Doxygen</a> 
        (1.6.2)</font></em></small></div></td>
  </tr>
</table>
<address style="align: right;">
</address>
</body>
</html>