Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 58828b263d8f56d90ac336dea07a4586 > files > 710

irrlicht-doc-1.6.1-1mdv2010.1.x86_64.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.5.6 -->
  <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" -->Interface to driver which is able to perform 2d and 3d graphics functions.  
<a href="#_details">More...</a>
<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">

<p><center><img src="classirr_1_1video_1_1_i_video_driver.png" usemap="#irr::video::IVideoDriver_map" border="0" alt=""></center>
<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>

<p>
<a href="classirr_1_1video_1_1_i_video_driver-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#813a39352eae26c4d30b5882618639be">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" nowrap 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#9479ae15f0e26eaaf15c9420ff289b6d">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="#9479ae15f0e26eaaf15c9420ff289b6d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#56160e0d88346e04db921fbe4635a7ae">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="#56160e0d88346e04db921fbe4635a7ae"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#0dfc3a7168f3a73a6f4323b579f03ff6">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#9395eaea339bcb546b319e9c96bf7410">c8</a> *name=0)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds a new material renderer to the <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> device.  <a href="#0dfc3a7168f3a73a6f4323b579f03ff6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#a704cece826ee37d02e4bb054b0b8797">addRenderTargetTexture</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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#1d5e487888c32b1674a8f75116d829ed">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="#a704cece826ee37d02e4bb054b0b8797"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#b43a2a82cf68e3ef78c2e14c19ef84c5">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)=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="#b43a2a82cf68e3ef78c2e14c19ef84c5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#8c02ee280bb738cdf38b77e7a798244e">addTexture</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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#1d5e487888c32b1674a8f75116d829ed">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="#8c02ee280bb738cdf38b77e7a798244e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#fcfafe9c1edc358a74631d544cc55ba4">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), void *windowId=0, <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">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="#fcfafe9c1edc358a74631d544cc55ba4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#4ba84ee992939fc913d4935caffce87b">checkDriverReset</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if the driver was recently reset.  <a href="#4ba84ee992939fc913d4935caffce87b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#2036fe0a27dbd1a123ff5aedb07373a5">clearZBuffer</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clears the ZBuffer.  <a href="#2036fe0a27dbd1a123ff5aedb07373a5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#9af1353d9fd2c1704cf7cf338f6ec24c">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="#9af1353d9fd2c1704cf7cf338f6ec24c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#38e722e8dd2d750907e9e059c3dc8fae">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#c66849b7a6ed16e30ebede579f9b47c6">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#0416a53257075833e7002efd0a18e804">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="#38e722e8dd2d750907e9e059c3dc8fae"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#8bf2cd38851084ab227f67c27df07288">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#c66849b7a6ed16e30ebede579f9b47c6">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#0416a53257075833e7002efd0a18e804">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="#8bf2cd38851084ab227f67c27df07288"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#acd6737e2e791b7312ab3a38a54c0733">createImage</a> (<a class="el" href="namespaceirr_1_1video.html#1d5e487888c32b1674a8f75116d829ed">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="#acd6737e2e791b7312ab3a38a54c0733"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#ee1578fdd92118665755f31c0dd1dbb5">createImage</a> (<a class="el" href="namespaceirr_1_1video.html#1d5e487888c32b1674a8f75116d829ed">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#0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;size)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an empty software image.  <a href="#ee1578fdd92118665755f31c0dd1dbb5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#425d60f2fcad42d8a79c33c587f41a06">createImageFromData</a> (<a class="el" href="namespaceirr_1_1video.html#1d5e487888c32b1674a8f75116d829ed">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#0416a53257075833e7002efd0a18e804">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="#425d60f2fcad42d8a79c33c587f41a06"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#322c41fa08c1da9de4633cf8a1e68607">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="#322c41fa08c1da9de4633cf8a1e68607"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#c5b4c13f64d96d27fa27f52b68f77b8c">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="#c5b4c13f64d96d27fa27f52b68f77b8c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#8bf0a7310657ccf42e3cc6715ef36dbe">createScreenShot</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Make a screenshot of the last rendered frame.  <a href="#8bf0a7310657ccf42e3cc6715ef36dbe"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#b1bd29567ef6eb31a43bebe04c47eb5e">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#813a39352eae26c4d30b5882618639be">addDynamicLight()</a>.  <a href="#b1bd29567ef6eb31a43bebe04c47eb5e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#ea64c03fc205f23ec7575884fb7309c8">disableFeature</a> (<a class="el" href="namespaceirr_1_1video.html#57b1721e42a79c5dcf8e830e3621e08f">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="#ea64c03fc205f23ec7575884fb7309c8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#49258725a8c36dbb22d073acf7927354">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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="#49258725a8c36dbb22d073acf7927354"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#167d3a5e2ea5804bfa9ba9e526bbcdb3">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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="#167d3a5e2ea5804bfa9ba9e526bbcdb3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#c1f12aefefb24414e03876bca942fb02">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#c66849b7a6ed16e30ebede579f9b47c6">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="#c1f12aefefb24414e03876bca942fb02"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#6485a684c4dfa4d0f94d0edfb46439a6">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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="#6485a684c4dfa4d0f94d0edfb46439a6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#1b7647e900a56f23abb0809fd533617e">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;indices, <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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="#1b7647e900a56f23abb0809fd533617e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#7b5388e319a0ae1340c3d81db02dd959">draw2DLine</a> (const core::position2d&lt; <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;start, const core::position2d&lt; <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">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="#7b5388e319a0ae1340c3d81db02dd959"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#af1318379f3d70c9347cfa853b944ad4">draw2DPolygon</a> (core::position2d&lt; <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; center, <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">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#c66849b7a6ed16e30ebede579f9b47c6">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="#af1318379f3d70c9347cfa853b944ad4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#83bb3c30be6c9f960a4d8b625d7dee8c">draw2DRectangle</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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="#83bb3c30be6c9f960a4d8b625d7dee8c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#c7f452fae0ef8abe01768a78ba7033b7">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; *clip=0)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws a 2d rectangle.  <a href="#c7f452fae0ef8abe01768a78ba7033b7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#65efe36e19f0570988848175a8af7bd1">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="#65efe36e19f0570988848175a8af7bd1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#34845920167c68578a78f842af54d140">draw2DVertexPrimitiveList</a> (const void *vertices, <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const void *indexList, <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> primCount, <a class="el" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac">E_VERTEX_TYPE</a> vType=EVT_STANDARD, <a class="el" href="namespaceirr_1_1scene.html#5d7de82f2169761194b2f44d95cdc1dc">scene::E_PRIMITIVE_TYPE</a> pType=scene::EPT_TRIANGLES, <a class="el" href="namespaceirr_1_1video.html#f152a1edea2579f0517e0049525acb55">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="#34845920167c68578a78f842af54d140"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#7773fce9358ee81db5484b2d21015570">draw3DBox</a> (const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">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="#7773fce9358ee81db5484b2d21015570"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#5e4e03dca1720f3d2019b73a4eebb5e6">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="#5e4e03dca1720f3d2019b73a4eebb5e6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#c5eb03a333a43d17278dad31be19efca">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="#c5eb03a333a43d17278dad31be19efca"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#b2e0787da48ce8b2c8f1b63489651e7a">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#0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const <a class="el" href="namespaceirr.html#e9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *indexList, <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> triangleCount)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an indexed triangle fan.  <a href="#b2e0787da48ce8b2c8f1b63489651e7a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#64c9bac289680d213c70dd9371fd9ca9">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#0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const <a class="el" href="namespaceirr.html#e9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *indexList, <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> triangleCount)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an indexed triangle fan.  <a href="#64c9bac289680d213c70dd9371fd9ca9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#bf20e2b2fd24b686d0d2b626ace4bf2d">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#0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const <a class="el" href="namespaceirr.html#e9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *indexList, <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> triangleCount)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an indexed triangle list.  <a href="#bf20e2b2fd24b686d0d2b626ace4bf2d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#b9916540aeae4ce36d9f6c1e9f0cd32c">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#0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const <a class="el" href="namespaceirr.html#e9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *indexList, <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> triangleCount)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an indexed triangle list.  <a href="#b9916540aeae4ce36d9f6c1e9f0cd32c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#7b1da13a1529caf0d4e5419ca345fe9b">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#0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const <a class="el" href="namespaceirr.html#e9f8ec82692ad3b83c21f555bfa70bcc">u16</a> *indexList, <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> triangleCount)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws an indexed triangle list.  <a href="#7b1da13a1529caf0d4e5419ca345fe9b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#b09507d0b00502912b75e31d2c344e5c">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="#b09507d0b00502912b75e31d2c344e5c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#6567ced74ed6dc8cb1b325493ae7a093">drawPixel</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> x, <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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="#6567ced74ed6dc8cb1b325493ae7a093"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#985ea57c5cf23b7774044f6ed9f96579">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="#985ea57c5cf23b7774044f6ed9f96579"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#6e52de47f3fb1e1077572b7408d0938e">drawStencilShadowVolume</a> (const <a class="el" href="classirr_1_1core_1_1vector3d.html">core::vector3df</a> *triangles, <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">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="#6e52de47f3fb1e1077572b7408d0938e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#b18ac3ba8b6dbaa4437c5eb3b1e2f4fb">drawVertexPrimitiveList</a> (const void *vertices, <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> vertexCount, const void *indexList, <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> primCount, <a class="el" href="namespaceirr_1_1video.html#0e3b59e025e0d0db0ed2ee0ce904deac">E_VERTEX_TYPE</a> vType=EVT_STANDARD, <a class="el" href="namespaceirr_1_1scene.html#5d7de82f2169761194b2f44d95cdc1dc">scene::E_PRIMITIVE_TYPE</a> pType=scene::EPT_TRIANGLES, <a class="el" href="namespaceirr_1_1video.html#f152a1edea2579f0517e0049525acb55">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="#b18ac3ba8b6dbaa4437c5eb3b1e2f4fb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#aaf9567c759f866311c76e3874822339">enableClipPlane</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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="#aaf9567c759f866311c76e3874822339"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#75f61a93c5fc9fdf161c044d27bc994e">endScene</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Presents the rendered image to the screen.  <a href="#75f61a93c5fc9fdf161c044d27bc994e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#9b7b5942cf2378f9f96d47ec7a0cd881">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="#9b7b5942cf2378f9f96d47ec7a0cd881"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#d4eaed6d56b092e6805400ca59795de9">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="#d4eaed6d56b092e6805400ca59795de9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr_1_1video.html#1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#fc8f27bfd9756f4ca8de2d4bb37b0e15">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="#fc8f27bfd9756f4ca8de2d4bb37b0e15"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <br>
<a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#76fc2aba131b5986d07d92c6888cfc0c">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="#76fc2aba131b5986d07d92c6888cfc0c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr_1_1video.html#e35a6de6d436c76107ad157fe42356d0">E_DRIVER_TYPE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#f89a0c4fcc0337f3befe8b90424e68aa">getDriverType</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get type of <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> driver.  <a href="#f89a0c4fcc0337f3befe8b90424e68aa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#9eb9ee246e85a56300031f7d7516054e">getDynamicLight</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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#813a39352eae26c4d30b5882618639be">IVideoDriver::addDynamicLight()</a>.  <a href="#9eb9ee246e85a56300031f7d7516054e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#9b1e5de698f264a9f74a17bdba313138">getDynamicLightCount</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns amount of dynamic lights currently set.  <a href="#9b1e5de698f264a9f74a17bdba313138"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#4f3535b2125e654e2e9645745e50cc49">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="#4f3535b2125e654e2e9645745e50cc49"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#5b71428402c0b6a3b18b8f2fa408af13">getFPS</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns current frames per second value.  <a href="#5b71428402c0b6a3b18b8f2fa408af13"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#d2098a408bbe9dad8053c3f4aea7d856">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="#d2098a408bbe9dad8053c3f4aea7d856"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#5cc08e7cd2ce2a30275e22ce13bb1013">getImageLoader</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> n)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the given image loader.  <a href="#5cc08e7cd2ce2a30275e22ce13bb1013"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#92535921ad01c90570533ba60b0b76b2">getImageLoaderCount</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the number of image loaders.  <a href="#92535921ad01c90570533ba60b0b76b2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#cdc5e788993c117efebb22e155ab6a77">getImageWriter</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> n)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the given image writer.  <a href="#cdc5e788993c117efebb22e155ab6a77"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#173f33f0537a1511abdf35ed235a683a">getImageWriterCount</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the number of image writers.  <a href="#173f33f0537a1511abdf35ed235a683a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#ccb321dfb32ad3c76efb99427bc90cc8">getMaterialRenderer</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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="#ccb321dfb32ad3c76efb99427bc90cc8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#c1d0e2e952afdcdbdd915dc106375381">getMaterialRendererCount</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get amount of currently available material renderers.  <a href="#c1d0e2e952afdcdbdd915dc106375381"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410">c8</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#c6f8c53abcd5a24d94c84185b0ef65e0">getMaterialRendererName</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> idx) const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get name of a material renderer.  <a href="#c6f8c53abcd5a24d94c84185b0ef65e0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#b64a2875011c8870fd011a486f3503ec">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="#b64a2875011c8870fd011a486f3503ec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#fd93e778fac79f7863da72a50e720f88">getMaximalPrimitiveCount</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the maximum amount of primitives.  <a href="#fd93e778fac79f7863da72a50e720f88"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#9b76ea8ba013885c0f3d5f00131431ec">getMeshManipulator</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to the mesh manipulator.  <a href="#9b76ea8ba013885c0f3d5f00131431ec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#87ca51832295b2dceaa1e258daf863f1">getName</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets name of this <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> driver.  <a href="#87ca51832295b2dceaa1e258daf863f1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#f119ebfd02f99f77a463007277abf14a">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="#f119ebfd02f99f77a463007277abf14a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#2ce9be45cacb4aa034d3afdb489a57a3">getPrimitiveCountDrawn</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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="#2ce9be45cacb4aa034d3afdb489a57a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <br>
<a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a106dd9ff233497f9ea9a07dc6441c82">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="#a106dd9ff233497f9ea9a07dc6441c82"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#af989c8688ffe2a28a4b8e7b6ec2bce7">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="#af989c8688ffe2a28a4b8e7b6ec2bce7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#f4055165190e4adf221c6dc6f2434ea0">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="#f4055165190e4adf221c6dc6f2434ea0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#bfe395b1320ac52cea6be0e912135351">getTextureByIndex</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> index)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a texture by index.  <a href="#bfe395b1320ac52cea6be0e912135351"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#4c3f976980dd8387db37feca8c8e2d73">getTextureCount</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns amount of textures currently loaded.  <a href="#4c3f976980dd8387db37feca8c8e2d73"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#e64d474cbca38f64f2dbb8fcacb1a035">getTextureCreationFlag</a> (<a class="el" href="namespaceirr_1_1video.html#caf6f7414534f7d62bff18c5bf11876f">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="#e64d474cbca38f64f2dbb8fcacb1a035"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#85c7d04aee02c2d5d8102279f9233101">getTransform</a> (<a class="el" href="namespaceirr_1_1video.html#15b57657a320243be03ae6f66fcff43d">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="#85c7d04aee02c2d5d8102279f9233101"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#221a3ee79676ad9fbebc39cf0150516e">getVendorInfo</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the graphics card vendor name.  <a href="#221a3ee79676ad9fbebc39cf0150516e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1video_1_1_i_video_driver.html#a21810374736559e937fcad30ac699b4">getViewPort</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the area of the current viewport.  <a href="#a21810374736559e937fcad30ac699b4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#ed772902f4fe1185b44ce81b9b0b9add">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#c66849b7a6ed16e30ebede579f9b47c6">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="#ed772902f4fe1185b44ce81b9b0b9add"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#701e7d2101eb26888f57928134bc2ffb">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="#701e7d2101eb26888f57928134bc2ffb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#6470e31c1aaf2c0fa5e5a5b3f8f092e0">makeNormalMapTexture</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">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="#6470e31c1aaf2c0fa5e5a5b3f8f092e0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#1a236e1233fc6fc2c5f36aaa830814fc">OnResize</a> (const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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="#1a236e1233fc6fc2c5f36aaa830814fc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#dde468368b77441ada246e1603da4f47">queryFeature</a> (<a class="el" href="namespaceirr_1_1video.html#57b1721e42a79c5dcf8e830e3621e08f">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="#dde468368b77441ada246e1603da4f47"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#2538b3163d6e072f5b3deb905cb2abb0">removeAllHardwareBuffers</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove all hardware buffers.  <a href="#2538b3163d6e072f5b3deb905cb2abb0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#179990e76fa91175d46c891b3508e717">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="#179990e76fa91175d46c891b3508e717"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#1454ef5ba92de420f35678e2803485f6">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="#1454ef5ba92de420f35678e2803485f6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#c88319ec41daa23fef2ae935285afcc9">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="#c88319ec41daa23fef2ae935285afcc9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#2cefddb9ebd7f46ee946c04b301a5c5b">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="#2cefddb9ebd7f46ee946c04b301a5c5b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#f78022589e5b7cb42b4d6ed2f7950e42">setAllowZWriteOnTransparent</a> (bool flag)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Only used by the engine internally.  <a href="#f78022589e5b7cb42b4d6ed2f7950e42"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#aba8d96a8061264393fc74ac9a3cd04f">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="#aba8d96a8061264393fc74ac9a3cd04f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#959ac385891941e7ec8d99b2f105b265">setClipPlane</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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="#959ac385891941e7ec8d99b2f105b265"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#f8cbb090b42198244c1703eb17024bbc">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#df41b1a85e067f5988ba1eb8bb50f44e">E_FOG_TYPE</a> fogType=EFT_FOG_LINEAR, <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">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="#f8cbb090b42198244c1703eb17024bbc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#8c9e31b41b7e6fd26cf65ce538ebab05">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="#8c9e31b41b7e6fd26cf65ce538ebab05"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#4ef324ed93094f84832e8d31cf0776f2">setMaterialRendererName</a> (<a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> idx, const <a class="el" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410">c8</a> *name)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the name of a material renderer.  <a href="#4ef324ed93094f84832e8d31cf0776f2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#79cbd1329b4206503e9a9593592502ea">setMinHardwareBufferVertexCount</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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="#79cbd1329b4206503e9a9593592502ea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#d75e7606ab186f1e31cc126bcaaeba9c">setRenderTarget</a> (<a class="el" href="namespaceirr_1_1video.html#5b61a3f2bd5d458f76f2eb20b0f40972">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="#d75e7606ab186f1e31cc126bcaaeba9c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#8c38a8d8d6d49be53bda55eb0749e7eb">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="#8c38a8d8d6d49be53bda55eb0749e7eb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#868b58a6b86b9e4841ca3879ce246c4e">setTextureCreationFlag</a> (<a class="el" href="namespaceirr_1_1video.html#caf6f7414534f7d62bff18c5bf11876f">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="#868b58a6b86b9e4841ca3879ce246c4e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#af6e88bedf7b91666a2bd34f46e092fc">setTransform</a> (<a class="el" href="namespaceirr_1_1video.html#15b57657a320243be03ae6f66fcff43d">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="#af6e88bedf7b91666a2bd34f46e092fc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#f03cf9b67bb7b43a8021bbe4baa78a08">setViewPort</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>&lt; <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> &gt; &amp;area)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets a new viewport.  <a href="#f03cf9b67bb7b43a8021bbe4baa78a08"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#3c26904f7d1bf0e37d51fe71562346a0">turnLightOn</a> (<a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">s32</a> lightIndex, bool turnOn)=0</td></tr>

<tr><td class="memItemLeft" nowrap 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#e12c362cfbc92a7c59b434666c8436c0">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#0416a53257075833e7002efd0a18e804">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="#e12c362cfbc92a7c59b434666c8436c0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap 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#407d6a1483f995060035340e0a92ce9b">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#0416a53257075833e7002efd0a18e804">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="#407d6a1483f995060035340e0a92ce9b"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Interface to driver which is able to perform 2d and 3d graphics functions. 
<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>Definition at line <a class="el" href="_i_video_driver_8h-source.html#l00197">197</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" name="813a39352eae26c4d30b5882618639be"></a><!-- doxytag: member="irr::video::IVideoDriver::addDynamicLight" ref="813a39352eae26c4d30b5882618639be" 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#c66849b7a6ed16e30ebede579f9b47c6">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 <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>An index to the light, or -1 if an error occurs </dd></dl>

</div>
</div><p>
<a class="anchor" name="9479ae15f0e26eaaf15c9420ff289b6d"></a><!-- doxytag: member="irr::video::IVideoDriver::addExternalImageLoader" ref="9479ae15f0e26eaaf15c9420ff289b6d" 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>
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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="56160e0d88346e04db921fbe4635a7ae"></a><!-- doxytag: member="irr::video::IVideoDriver::addExternalImageWriter" ref="56160e0d88346e04db921fbe4635a7ae" 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>
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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="0dfc3a7168f3a73a6f4323b579f03ff6"></a><!-- doxytag: member="irr::video::IVideoDriver::addMaterialRenderer" ref="0dfc3a7168f3a73a6f4323b579f03ff6" 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#c66849b7a6ed16e30ebede579f9b47c6">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#9395eaea339bcb546b319e9c96bf7410">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 <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> device. 
<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#4f3535b2125e654e2e9645745e50cc49" 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#0dfc3a7168f3a73a6f4323b579f03ff6" 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#d2098a408bbe9dad8053c3f4aea7d856" title="Gets the IGPUProgrammingServices interface.">getGPUProgrammingServices()</a> method. <dl compact><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>
</dl>
<dl class="return" compact><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#8cb63ab4b49ae1c61fbca8353e6b2f8a" 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><p>
<a class="anchor" name="a704cece826ee37d02e4bb054b0b8797"></a><!-- doxytag: member="irr::video::IVideoDriver::addRenderTargetTexture" ref="a704cece826ee37d02e4bb054b0b8797" 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#0416a53257075833e7002efd0a18e804">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#1d5e487888c32b1674a8f75116d829ed">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 compact><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>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div><p>
<a class="anchor" name="b43a2a82cf68e3ef78c2e14c19ef84c5"></a><!-- doxytag: member="irr::video::IVideoDriver::addTexture" ref="b43a2a82cf68e3ef78c2e14c19ef84c5" args="(const io::path &amp;name, IImage *image)=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><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 compact><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#f4055165190e4adf221c6dc6f2434ea0" 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>
  </table>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8c02ee280bb738cdf38b77e7a798244e"></a><!-- doxytag: member="irr::video::IVideoDriver::addTexture" ref="8c02ee280bb738cdf38b77e7a798244e" 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#0416a53257075833e7002efd0a18e804">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#1d5e487888c32b1674a8f75116d829ed">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 compact><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#f4055165190e4adf221c6dc6f2434ea0" 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>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" 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><p>
<a class="anchor" name="fcfafe9c1edc358a74631d544cc55ba4"></a><!-- doxytag: member="irr::video::IVideoDriver::beginScene" ref="fcfafe9c1edc358a74631d544cc55ba4" args="(bool backBuffer=true, bool zBuffer=true, SColor color=SColor(255, 0, 0, 0), void *windowId=0, 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">void *&nbsp;</td>
          <td class="paramname"> <em>windowId</em> = <code>0</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#c66849b7a6ed16e30ebede579f9b47c6">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>
This method can clear the back- and the z-buffer. <dl compact><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>windowId</em>&nbsp;</td><td>Handle of another window, if you want the bitmap to be displayed on another window. If this is null, 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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>False if failed. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4ba84ee992939fc913d4935caffce87b"></a><!-- doxytag: member="irr::video::IVideoDriver::checkDriverReset" ref="4ba84ee992939fc913d4935caffce87b" 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>
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#fcfafe9c1edc358a74631d544cc55ba4" title="Applications must call this method before performing any rendering.">beginScene()</a>. 
</div>
</div><p>
<a class="anchor" name="2036fe0a27dbd1a123ff5aedb07373a5"></a><!-- doxytag: member="irr::video::IVideoDriver::clearZBuffer" ref="2036fe0a27dbd1a123ff5aedb07373a5" 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>
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#fcfafe9c1edc358a74631d544cc55ba4" 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#8c38a8d8d6d49be53bda55eb0749e7eb" 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. 
</div>
</div><p>
<a class="anchor" name="9af1353d9fd2c1704cf7cf338f6ec24c"></a><!-- doxytag: member="irr::video::IVideoDriver::createAttributesFromMaterial" ref="9af1353d9fd2c1704cf7cf338f6ec24c" 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>
This method is useful for serialization and more. Please note that the <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> driver will use the material renderer names from <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#c6f8c53abcd5a24d94c84185b0ef65e0" title="Get name of a material renderer.">getMaterialRendererName()</a> to write out the material type name, so they should be set before. <dl compact><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>
</dl>
<dl class="return" compact><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><p>
<a class="anchor" name="38e722e8dd2d750907e9e059c3dc8fae"></a><!-- doxytag: member="irr::video::IVideoDriver::createImage" ref="38e722e8dd2d750907e9e059c3dc8fae" 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#c66849b7a6ed16e30ebede579f9b47c6">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#0416a53257075833e7002efd0a18e804">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 compact><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>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" 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#fb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8bf2cd38851084ab227f67c27df07288"></a><!-- doxytag: member="irr::video::IVideoDriver::createImage" ref="8bf2cd38851084ab227f67c27df07288" 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#c66849b7a6ed16e30ebede579f9b47c6">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#0416a53257075833e7002efd0a18e804">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 compact><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>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" 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#fb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div><p>
<a class="anchor" name="acd6737e2e791b7312ab3a38a54c0733"></a><!-- doxytag: member="irr::video::IVideoDriver::createImage" ref="acd6737e2e791b7312ab3a38a54c0733" 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#1d5e487888c32b1674a8f75116d829ed">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 compact><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>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" 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#fb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div><p>
<a class="anchor" name="ee1578fdd92118665755f31c0dd1dbb5"></a><!-- doxytag: member="irr::video::IVideoDriver::createImage" ref="ee1578fdd92118665755f31c0dd1dbb5" 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#1d5e487888c32b1674a8f75116d829ed">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#0416a53257075833e7002efd0a18e804">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 compact><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>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" 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#fb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div><p>
<a class="anchor" name="425d60f2fcad42d8a79c33c587f41a06"></a><!-- doxytag: member="irr::video::IVideoDriver::createImageFromData" ref="425d60f2fcad42d8a79c33c587f41a06" 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#1d5e487888c32b1674a8f75116d829ed">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#0416a53257075833e7002efd0a18e804">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>
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. <dl compact><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>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" 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#fb169a857e0d2cdb96b8821cb9bff17a" 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><p>
<a class="anchor" name="322c41fa08c1da9de4633cf8a1e68607"></a><!-- doxytag: member="irr::video::IVideoDriver::createImageFromFile" ref="322c41fa08c1da9de4633cf8a1e68607" 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>
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. <dl compact><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>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" 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#fb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c5b4c13f64d96d27fa27f52b68f77b8c"></a><!-- doxytag: member="irr::video::IVideoDriver::createImageFromFile" ref="c5b4c13f64d96d27fa27f52b68f77b8c" 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>
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. <dl compact><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>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" 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#fb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8bf0a7310657ccf42e3cc6715ef36dbe"></a><!-- doxytag: member="irr::video::IVideoDriver::createScreenShot" ref="8bf0a7310657ccf42e3cc6715ef36dbe" 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" compact><dt><b>Returns:</b></dt><dd>An image created from the last rendered frame. </dd></dl>

</div>
</div><p>
<a class="anchor" name="b1bd29567ef6eb31a43bebe04c47eb5e"></a><!-- doxytag: member="irr::video::IVideoDriver::deleteAllDynamicLights" ref="b1bd29567ef6eb31a43bebe04c47eb5e" 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#813a39352eae26c4d30b5882618639be">addDynamicLight()</a>. 
<p>

</div>
</div><p>
<a class="anchor" name="ea64c03fc205f23ec7575884fb7309c8"></a><!-- doxytag: member="irr::video::IVideoDriver::disableFeature" ref="ea64c03fc205f23ec7575884fb7309c8" 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#57b1721e42a79c5dcf8e830e3621e08f">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>
Can also be used to enable the features again. It is not possible to enable unsupported features this way, though. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="49258725a8c36dbb22d073acf7927354"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DImage" ref="49258725a8c36dbb22d073acf7927354" 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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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>
Suggested and first implemented by zola. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="167d3a5e2ea5804bfa9ba9e526bbcdb3"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DImage" ref="167d3a5e2ea5804bfa9ba9e526bbcdb3" 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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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>
(if color is other than Color(255,255,255,255)) and the alpha channel of the texture. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="c1f12aefefb24414e03876bca942fb02"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DImage" ref="c1f12aefefb24414e03876bca942fb02" 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#c66849b7a6ed16e30ebede579f9b47c6">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 compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="6485a684c4dfa4d0f94d0edfb46439a6"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DImageBatch" ref="6485a684c4dfa4d0f94d0edfb46439a6" 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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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>
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. <dl compact><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>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>
</dl>

</div>
</div><p>
<a class="anchor" name="1b7647e900a56f23abb0809fd533617e"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DImageBatch" ref="1b7647e900a56f23abb0809fd533617e" 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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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>
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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="7b5388e319a0ae1340c3d81db02dd959"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DLine" ref="7b5388e319a0ae1340c3d81db02dd959" 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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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 compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="af1318379f3d70c9347cfa853b944ad4"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DPolygon" ref="af1318379f3d70c9347cfa853b944ad4" 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#c66849b7a6ed16e30ebede579f9b47c6">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#0277be98d67dc26ff93b1a6a1d086b07">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#c66849b7a6ed16e30ebede579f9b47c6">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>
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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="83bb3c30be6c9f960a4d8b625d7dee8c"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DRectangle" ref="83bb3c30be6c9f960a4d8b625d7dee8c" 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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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 compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="c7f452fae0ef8abe01768a78ba7033b7"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DRectangle" ref="c7f452fae0ef8abe01768a78ba7033b7" 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#c66849b7a6ed16e30ebede579f9b47c6">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#c66849b7a6ed16e30ebede579f9b47c6">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 compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="65efe36e19f0570988848175a8af7bd1"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DRectangleOutline" ref="65efe36e19f0570988848175a8af7bd1" 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 compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="34845920167c68578a78f842af54d140"></a><!-- doxytag: member="irr::video::IVideoDriver::draw2DVertexPrimitiveList" ref="34845920167c68578a78f842af54d140" 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#0416a53257075833e7002efd0a18e804">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#0416a53257075833e7002efd0a18e804">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#0e3b59e025e0d0db0ed2ee0ce904deac">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#5d7de82f2169761194b2f44d95cdc1dc">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#f152a1edea2579f0517e0049525acb55">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>
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. <dl compact><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#0e3b59e025e0d0db0ed2ee0ce904deac98c8b791280bbf9252c4f4a37e91a416" 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#5d7de82f2169761194b2f44d95cdc1dc7646edca10a2b18da4c0fd49cc8f11e4">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#f152a1edea2579f0517e0049525acb551c79610ea1191e124887efa16626f299">video::EIT_16BIT</a> for 16bit indices. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="7773fce9358ee81db5484b2d21015570"></a><!-- doxytag: member="irr::video::IVideoDriver::draw3DBox" ref="7773fce9358ee81db5484b2d21015570" 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#0277be98d67dc26ff93b1a6a1d086b07">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>
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 <div class="fragment"><pre class="fragment">                driver-&gt;setMaterial(someMaterial);
                driver-&gt;setTransform(<a class="code" href="namespaceirr_1_1video.html#15b57657a320243be03ae6f66fcff43d843cf42adb3fa9caf61c9e228cf14e85" title="World transformation.">video::ETS_WORLD</a>, <a class="code" href="namespaceirr_1_1core.html#c4561f3920d3fbfbfff74c9bed1f2713" title="global const identity matrix">core::IdentityMatrix</a>);
</pre></div> for some properly set up material before drawing the box. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="5e4e03dca1720f3d2019b73a4eebb5e6"></a><!-- doxytag: member="irr::video::IVideoDriver::draw3DLine" ref="5e4e03dca1720f3d2019b73a4eebb5e6" 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>
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 <div class="fragment"><pre class="fragment">                driver-&gt;setMaterial(someMaterial);
                driver-&gt;setTransform(<a class="code" href="namespaceirr_1_1video.html#15b57657a320243be03ae6f66fcff43d843cf42adb3fa9caf61c9e228cf14e85" title="World transformation.">video::ETS_WORLD</a>, <a class="code" href="namespaceirr_1_1core.html#c4561f3920d3fbfbfff74c9bed1f2713" title="global const identity matrix">core::IdentityMatrix</a>);
</pre></div> for some properly set up material before drawing the line. Some drivers support line thickness set in the material. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="c5eb03a333a43d17278dad31be19efca"></a><!-- doxytag: member="irr::video::IVideoDriver::draw3DTriangle" ref="c5eb03a333a43d17278dad31be19efca" 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>
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 <div class="fragment"><pre class="fragment">                driver-&gt;setMaterial(someMaterial);
                driver-&gt;setTransform(<a class="code" href="namespaceirr_1_1video.html#15b57657a320243be03ae6f66fcff43d843cf42adb3fa9caf61c9e228cf14e85" title="World transformation.">video::ETS_WORLD</a>, <a class="code" href="namespaceirr_1_1core.html#c4561f3920d3fbfbfff74c9bed1f2713" title="global const identity matrix">core::IdentityMatrix</a>);
</pre></div> for some properly set up material before drawing the triangle. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="b2e0787da48ce8b2c8f1b63489651e7a"></a><!-- doxytag: member="irr::video::IVideoDriver::drawIndexedTriangleFan" ref="b2e0787da48ce8b2c8f1b63489651e7a" args="(const S3DVertex2TCoords *vertices, u32 vertexCount, const u16 *indexList, u32 triangleCount)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual 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#0416a53257075833e7002efd0a18e804">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#e9f8ec82692ad3b83c21f555bfa70bcc">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#0416a53257075833e7002efd0a18e804">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> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draws an indexed triangle fan. 
<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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="64c9bac289680d213c70dd9371fd9ca9"></a><!-- doxytag: member="irr::video::IVideoDriver::drawIndexedTriangleFan" ref="64c9bac289680d213c70dd9371fd9ca9" args="(const S3DVertex *vertices, u32 vertexCount, const u16 *indexList, u32 triangleCount)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual 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#0416a53257075833e7002efd0a18e804">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#e9f8ec82692ad3b83c21f555bfa70bcc">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#0416a53257075833e7002efd0a18e804">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> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draws an indexed triangle fan. 
<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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="bf20e2b2fd24b686d0d2b626ace4bf2d"></a><!-- doxytag: member="irr::video::IVideoDriver::drawIndexedTriangleList" ref="bf20e2b2fd24b686d0d2b626ace4bf2d" args="(const S3DVertexTangents *vertices, u32 vertexCount, const u16 *indexList, u32 triangleCount)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual 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#0416a53257075833e7002efd0a18e804">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#e9f8ec82692ad3b83c21f555bfa70bcc">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#0416a53257075833e7002efd0a18e804">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> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draws an indexed triangle list. 
<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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="b9916540aeae4ce36d9f6c1e9f0cd32c"></a><!-- doxytag: member="irr::video::IVideoDriver::drawIndexedTriangleList" ref="b9916540aeae4ce36d9f6c1e9f0cd32c" args="(const S3DVertex2TCoords *vertices, u32 vertexCount, const u16 *indexList, u32 triangleCount)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual 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#0416a53257075833e7002efd0a18e804">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#e9f8ec82692ad3b83c21f555bfa70bcc">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#0416a53257075833e7002efd0a18e804">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> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draws an indexed triangle list. 
<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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="7b1da13a1529caf0d4e5419ca345fe9b"></a><!-- doxytag: member="irr::video::IVideoDriver::drawIndexedTriangleList" ref="7b1da13a1529caf0d4e5419ca345fe9b" args="(const S3DVertex *vertices, u32 vertexCount, const u16 *indexList, u32 triangleCount)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual 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#0416a53257075833e7002efd0a18e804">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#e9f8ec82692ad3b83c21f555bfa70bcc">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#0416a53257075833e7002efd0a18e804">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> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Draws an indexed triangle list. 
<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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="b09507d0b00502912b75e31d2c344e5c"></a><!-- doxytag: member="irr::video::IVideoDriver::drawMeshBuffer" ref="b09507d0b00502912b75e31d2c344e5c" 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 compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="6567ced74ed6dc8cb1b325493ae7a093"></a><!-- doxytag: member="irr::video::IVideoDriver::drawPixel" ref="6567ced74ed6dc8cb1b325493ae7a093" 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#0416a53257075833e7002efd0a18e804">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#0416a53257075833e7002efd0a18e804">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 compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="985ea57c5cf23b7774044f6ed9f96579"></a><!-- doxytag: member="irr::video::IVideoDriver::drawStencilShadow" ref="985ea57c5cf23b7774044f6ed9f96579" 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>
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#6e52de47f3fb1e1077572b7408d0938e" 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! <dl compact><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#985ea57c5cf23b7774044f6ed9f96579" 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>
</dl>

</div>
</div><p>
<a class="anchor" name="6e52de47f3fb1e1077572b7408d0938e"></a><!-- doxytag: member="irr::video::IVideoDriver::drawStencilShadowVolume" ref="6e52de47f3fb1e1077572b7408d0938e" 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#c66849b7a6ed16e30ebede579f9b47c6">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>
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#985ea57c5cf23b7774044f6ed9f96579" 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! <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="b18ac3ba8b6dbaa4437c5eb3b1e2f4fb"></a><!-- doxytag: member="irr::video::IVideoDriver::drawVertexPrimitiveList" ref="b18ac3ba8b6dbaa4437c5eb3b1e2f4fb" 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#0416a53257075833e7002efd0a18e804">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#0416a53257075833e7002efd0a18e804">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#0e3b59e025e0d0db0ed2ee0ce904deac">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#5d7de82f2169761194b2f44d95cdc1dc">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#f152a1edea2579f0517e0049525acb55">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>
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. <dl compact><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#0e3b59e025e0d0db0ed2ee0ce904deac98c8b791280bbf9252c4f4a37e91a416" 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#5d7de82f2169761194b2f44d95cdc1dc7646edca10a2b18da4c0fd49cc8f11e4">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#f152a1edea2579f0517e0049525acb551c79610ea1191e124887efa16626f299">video::EIT_16BIT</a> for 16bit indices. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="aaf9567c759f866311c76e3874822339"></a><!-- doxytag: member="irr::video::IVideoDriver::enableClipPlane" ref="aaf9567c759f866311c76e3874822339" 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#0416a53257075833e7002efd0a18e804">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>
There are at least 6 clipping planes available for the user to set at will. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="75f61a93c5fc9fdf161c044d27bc994e"></a><!-- doxytag: member="irr::video::IVideoDriver::endScene" ref="75f61a93c5fc9fdf161c044d27bc994e" 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>
Applications must call this method after performing any rendering. <dl class="return" compact><dt><b>Returns:</b></dt><dd>False if failed and true if succeeded. </dd></dl>

</div>
</div><p>
<a class="anchor" name="9b7b5942cf2378f9f96d47ec7a0cd881"></a><!-- doxytag: member="irr::video::IVideoDriver::fillMaterialStructureFromAttributes" ref="9b7b5942cf2378f9f96d47ec7a0cd881" 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>
Please note that for setting material types of the material, the <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> 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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="d4eaed6d56b092e6805400ca59795de9"></a><!-- doxytag: member="irr::video::IVideoDriver::findTexture" ref="d4eaed6d56b092e6805400ca59795de9" 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>
Works similar to <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#f4055165190e4adf221c6dc6f2434ea0" title="Get access to a named texture.">getTexture()</a>, but does not load the texture if it is not currently loaded. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to loaded texture, or 0 if not found. </dd></dl>

</div>
</div><p>
<a class="anchor" name="fc8f27bfd9756f4ca8de2d4bb37b0e15"></a><!-- doxytag: member="irr::video::IVideoDriver::getColorFormat" ref="fc8f27bfd9756f4ca8de2d4bb37b0e15" 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#1d5e487888c32b1674a8f75116d829ed">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" compact><dt><b>Returns:</b></dt><dd>Color format of the color buffer. </dd></dl>

</div>
</div><p>
<a class="anchor" name="76fc2aba131b5986d07d92c6888cfc0c"></a><!-- doxytag: member="irr::video::IVideoDriver::getCurrentRenderTargetSize" ref="76fc2aba131b5986d07d92c6888cfc0c" 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#0416a53257075833e7002efd0a18e804">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>
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. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Size of render target or screen/window </dd></dl>

</div>
</div><p>
<a class="anchor" name="f89a0c4fcc0337f3befe8b90424e68aa"></a><!-- doxytag: member="irr::video::IVideoDriver::getDriverType" ref="f89a0c4fcc0337f3befe8b90424e68aa" 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#e35a6de6d436c76107ad157fe42356d0">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 <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> driver. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Type of driver. </dd></dl>

</div>
</div><p>
<a class="anchor" name="9eb9ee246e85a56300031f7d7516054e"></a><!-- doxytag: member="irr::video::IVideoDriver::getDynamicLight" ref="9eb9ee246e85a56300031f7d7516054e" 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#0416a53257075833e7002efd0a18e804">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#813a39352eae26c4d30b5882618639be">IVideoDriver::addDynamicLight()</a>. 
<p>
<dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Light data. </dd></dl>

</div>
</div><p>
<a class="anchor" name="9b1e5de698f264a9f74a17bdba313138"></a><!-- doxytag: member="irr::video::IVideoDriver::getDynamicLightCount" ref="9b1e5de698f264a9f74a17bdba313138" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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" compact><dt><b>Returns:</b></dt><dd>Amount of dynamic lights currently set </dd></dl>

</div>
</div><p>
<a class="anchor" name="4f3535b2125e654e2e9645745e50cc49"></a><!-- doxytag: member="irr::video::IVideoDriver::getExposedVideoData" ref="4f3535b2125e654e2e9645745e50cc49" 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>
This method should only be used if the engine should be extended without having to modify the source of the engine. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Collection of device dependent pointers. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5b71428402c0b6a3b18b8f2fa408af13"></a><!-- doxytag: member="irr::video::IVideoDriver::getFPS" ref="5b71428402c0b6a3b18b8f2fa408af13" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6">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>
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. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Approximate amount of frames per second drawn. </dd></dl>

</div>
</div><p>
<a class="anchor" name="d2098a408bbe9dad8053c3f4aea7d856"></a><!-- doxytag: member="irr::video::IVideoDriver::getGPUProgrammingServices" ref="d2098a408bbe9dad8053c3f4aea7d856" 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" compact><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 <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> driver does not support this. For example the Software driver and the Null driver will always return 0. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5cc08e7cd2ce2a30275e22ce13bb1013"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageLoader" ref="5cc08e7cd2ce2a30275e22ce13bb1013" 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#0416a53257075833e7002efd0a18e804">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 compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the specified loader, 0 if the index is uncorrect. </dd></dl>

</div>
</div><p>
<a class="anchor" name="92535921ad01c90570533ba60b0b76b2"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageLoaderCount" ref="92535921ad01c90570533ba60b0b76b2" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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" compact><dt><b>Returns:</b></dt><dd>Number of image loaders </dd></dl>

</div>
</div><p>
<a class="anchor" name="cdc5e788993c117efebb22e155ab6a77"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageWriter" ref="cdc5e788993c117efebb22e155ab6a77" 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#0416a53257075833e7002efd0a18e804">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 compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the specified writer, 0 if the index is uncorrect. </dd></dl>

</div>
</div><p>
<a class="anchor" name="173f33f0537a1511abdf35ed235a683a"></a><!-- doxytag: member="irr::video::IVideoDriver::getImageWriterCount" ref="173f33f0537a1511abdf35ed235a683a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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" compact><dt><b>Returns:</b></dt><dd>Number of image writers </dd></dl>

</div>
</div><p>
<a class="anchor" name="ccb321dfb32ad3c76efb99427bc90cc8"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaterialRenderer" ref="ccb321dfb32ad3c76efb99427bc90cc8" 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#0416a53257075833e7002efd0a18e804">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 compact><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#0dfc3a7168f3a73a6f4323b579f03ff6" title="Adds a new material renderer to the video device.">addMaterialRenderer()</a>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to material renderer or null if not existing. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c1d0e2e952afdcdbdd915dc106375381"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaterialRendererCount" ref="c1d0e2e952afdcdbdd915dc106375381" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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" compact><dt><b>Returns:</b></dt><dd>Amount of currently available material renderers. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c6f8c53abcd5a24d94c84185b0ef65e0"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaterialRendererName" ref="c6f8c53abcd5a24d94c84185b0ef65e0" 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#9395eaea339bcb546b319e9c96bf7410">c8</a>* irr::video::IVideoDriver::getMaterialRendererName           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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>
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. <dl compact><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#0dfc3a7168f3a73a6f4323b579f03ff6" title="Adds a new material renderer to the video device.">addMaterialRenderer()</a>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>String with the name of the renderer, or 0 if not exisiting </dd></dl>

</div>
</div><p>
<a class="anchor" name="b64a2875011c8870fd011a486f3503ec"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaximalDynamicLightAmount" ref="b64a2875011c8870fd011a486f3503ec" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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" compact><dt><b>Returns:</b></dt><dd>Maximal amount of dynamic lights. </dd></dl>

</div>
</div><p>
<a class="anchor" name="fd93e778fac79f7863da72a50e720f88"></a><!-- doxytag: member="irr::video::IVideoDriver::getMaximalPrimitiveCount" ref="fd93e778fac79f7863da72a50e720f88" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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>
(mostly vertices) which the device is able to render with one drawVertexPrimitiveList call. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Maximum amount of primitives. </dd></dl>

</div>
</div><p>
<a class="anchor" name="9b76ea8ba013885c0f3d5f00131431ec"></a><!-- doxytag: member="irr::video::IVideoDriver::getMeshManipulator" ref="9b76ea8ba013885c0f3d5f00131431ec" 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><p>
<a class="anchor" name="87ca51832295b2dceaa1e258daf863f1"></a><!-- doxytag: member="irr::video::IVideoDriver::getName" ref="87ca51832295b2dceaa1e258daf863f1" 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 <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> driver. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns the name of the <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> driver, e.g. in case of the Direct3D8 driver, it would return "Direct3D 8.1". </dd></dl>

</div>
</div><p>
<a class="anchor" name="f119ebfd02f99f77a463007277abf14a"></a><!-- doxytag: member="irr::video::IVideoDriver::getOverrideMaterial" ref="f119ebfd02f99f77a463007277abf14a" 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>
Depending on the enable flags, values from this Material are used to override those of local materials of some meshbuffer being rendered. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to the Override Material. </dd></dl>

</div>
</div><p>
<a class="anchor" name="2ce9be45cacb4aa034d3afdb489a57a3"></a><!-- doxytag: member="irr::video::IVideoDriver::getPrimitiveCountDrawn" ref="2ce9be45cacb4aa034d3afdb489a57a3" 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#0416a53257075833e7002efd0a18e804">u32</a> irr::video::IVideoDriver::getPrimitiveCountDrawn           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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>
Together with <a class="el" href="classirr_1_1video_1_1_i_video_driver.html#5b71428402c0b6a3b18b8f2fa408af13" title="Returns current frames per second value.">getFPS()</a> very useful method for statistics. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Amount of primitives drawn in the last frame. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a106dd9ff233497f9ea9a07dc6441c82"></a><!-- doxytag: member="irr::video::IVideoDriver::getScreenSize" ref="a106dd9ff233497f9ea9a07dc6441c82" 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#0416a53257075833e7002efd0a18e804">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" compact><dt><b>Returns:</b></dt><dd>Size of screen or render window. </dd></dl>

</div>
</div><p>
<a class="anchor" name="af989c8688ffe2a28a4b8e7b6ec2bce7"></a><!-- doxytag: member="irr::video::IVideoDriver::getTexture" ref="af989c8688ffe2a28a4b8e7b6ec2bce7" 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>
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#868b58a6b86b9e4841ca3879ce246c4e" 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. <dl compact><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>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div><p>
<a class="anchor" name="f4055165190e4adf221c6dc6f2434ea0"></a><!-- doxytag: member="irr::video::IVideoDriver::getTexture" ref="f4055165190e4adf221c6dc6f2434ea0" 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>
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#868b58a6b86b9e4841ca3879ce246c4e" 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. <dl compact><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>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" 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><p>
<a class="anchor" name="bfe395b1320ac52cea6be0e912135351"></a><!-- doxytag: member="irr::video::IVideoDriver::getTextureByIndex" ref="bfe395b1320ac52cea6be0e912135351" 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#0416a53257075833e7002efd0a18e804">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 compact><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#4c3f976980dd8387db37feca8c8e2d73" title="Returns amount of textures currently loaded.">getTextureCount()</a> Please note that this index might change when adding or removing textures </td></tr>
  </table>
</dl>
<dl class="return" compact><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#fb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4c3f976980dd8387db37feca8c8e2d73"></a><!-- doxytag: member="irr::video::IVideoDriver::getTextureCount" ref="4c3f976980dd8387db37feca8c8e2d73" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">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" compact><dt><b>Returns:</b></dt><dd>Amount of textures currently loaded </dd></dl>

</div>
</div><p>
<a class="anchor" name="e64d474cbca38f64f2dbb8fcacb1a035"></a><!-- doxytag: member="irr::video::IVideoDriver::getTextureCreationFlag" ref="e64d474cbca38f64f2dbb8fcacb1a035" 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#caf6f7414534f7d62bff18c5bf11876f">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>
You can change this value using setTextureCreationMode(). <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The current texture creation mode. </dd></dl>

</div>
</div><p>
<a class="anchor" name="85c7d04aee02c2d5d8102279f9233101"></a><!-- doxytag: member="irr::video::IVideoDriver::getTransform" ref="85c7d04aee02c2d5d8102279f9233101" 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#15b57657a320243be03ae6f66fcff43d">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 compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Matrix describing the transformation. </dd></dl>

</div>
</div><p>
<a class="anchor" name="221a3ee79676ad9fbebc39cf0150516e"></a><!-- doxytag: member="irr::video::IVideoDriver::getVendorInfo" ref="221a3ee79676ad9fbebc39cf0150516e" 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><p>
<a class="anchor" name="a21810374736559e937fcad30ac699b4"></a><!-- doxytag: member="irr::video::IVideoDriver::getViewPort" ref="a21810374736559e937fcad30ac699b4" 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#c66849b7a6ed16e30ebede579f9b47c6">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" compact><dt><b>Returns:</b></dt><dd>Rectangle of the current viewport. </dd></dl>

</div>
</div><p>
<a class="anchor" name="ed772902f4fe1185b44ce81b9b0b9add"></a><!-- doxytag: member="irr::video::IVideoDriver::makeColorKeyTexture" ref="ed772902f4fe1185b44ce81b9b0b9add" 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#c66849b7a6ed16e30ebede579f9b47c6">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>
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. <dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000005">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><p>
<a class="anchor" name="701e7d2101eb26888f57928134bc2ffb"></a><!-- doxytag: member="irr::video::IVideoDriver::makeColorKeyTexture" ref="701e7d2101eb26888f57928134bc2ffb" 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>
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. <dl compact><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>
</dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000004">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><p>
<a class="anchor" name="6470e31c1aaf2c0fa5e5a5b3f8f092e0"></a><!-- doxytag: member="irr::video::IVideoDriver::makeNormalMapTexture" ref="6470e31c1aaf2c0fa5e5a5b3f8f092e0" 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#0277be98d67dc26ff93b1a6a1d086b07">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>
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#c8e9b6c66f7cebabd1a6d30cbc5430f1833aaad409476c3c4baf59e2d1096f4a" title="Just like EMT_NORMAL_MAP_SOLID, but uses parallax mapping.">video::EMT_PARALLAX_MAP_SOLID</a> material and similar materials. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="1a236e1233fc6fc2c5f36aaa830814fc"></a><!-- doxytag: member="irr::video::IVideoDriver::OnResize" ref="1a236e1233fc6fc2c5f36aaa830814fc" 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#0416a53257075833e7002efd0a18e804">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>
Used to notify the driver that the window was resized. Usually, there is no need to call this method. 
</div>
</div><p>
<a class="anchor" name="dde468368b77441ada246e1603da4f47"></a><!-- doxytag: member="irr::video::IVideoDriver::queryFeature" ref="dde468368b77441ada246e1603da4f47" 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#57b1721e42a79c5dcf8e830e3621e08f">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>
Returns true if a feature is available <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the feature is available, false if not. </dd></dl>

</div>
</div><p>
<a class="anchor" name="2538b3163d6e072f5b3deb905cb2abb0"></a><!-- doxytag: member="irr::video::IVideoDriver::removeAllHardwareBuffers" ref="2538b3163d6e072f5b3deb905cb2abb0" 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><p>
<a class="anchor" name="179990e76fa91175d46c891b3508e717"></a><!-- doxytag: member="irr::video::IVideoDriver::removeAllTextures" ref="179990e76fa91175d46c891b3508e717" 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>
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. 
</div>
</div><p>
<a class="anchor" name="1454ef5ba92de420f35678e2803485f6"></a><!-- doxytag: member="irr::video::IVideoDriver::removeHardwareBuffer" ref="1454ef5ba92de420f35678e2803485f6" 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><p>
<a class="anchor" name="c88319ec41daa23fef2ae935285afcc9"></a><!-- doxytag: member="irr::video::IVideoDriver::removeTexture" ref="c88319ec41daa23fef2ae935285afcc9" 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>
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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="2cefddb9ebd7f46ee946c04b301a5c5b"></a><!-- doxytag: member="irr::video::IVideoDriver::renameTexture" ref="2cefddb9ebd7f46ee946c04b301a5c5b" 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 compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="f78022589e5b7cb42b4d6ed2f7950e42"></a><!-- doxytag: member="irr::video::IVideoDriver::setAllowZWriteOnTransparent" ref="f78022589e5b7cb42b4d6ed2f7950e42" 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>
Passes the global material flag AllowZWriteOnTransparent. Use the SceneManager attribute to set this value from your app. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="aba8d96a8061264393fc74ac9a3cd04f"></a><!-- doxytag: member="irr::video::IVideoDriver::setAmbientLight" ref="aba8d96a8061264393fc74ac9a3cd04f" 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>
The ambient color is set in the <a class="el" href="namespaceirr_1_1scene.html" title="All scene management can be found in this namespace: Mesh loading, special scene...">scene</a> manager, see <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html#8a424accb615c4f60fde59f55033a816" title="Sets ambient color of the scene.">scene::ISceneManager::setAmbientLight()</a>. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="959ac385891941e7ec8d99b2f105b265"></a><!-- doxytag: member="irr::video::IVideoDriver::setClipPlane" ref="959ac385891941e7ec8d99b2f105b265" 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#0416a53257075833e7002efd0a18e804">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>
There are at least 6 clipping planes available for the user to set at will. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the clipping plane is usable. </dd></dl>

</div>
</div><p>
<a class="anchor" name="f8cbb090b42198244c1703eb17024bbc"></a><!-- doxytag: member="irr::video::IVideoDriver::setFog" ref="f8cbb090b42198244c1703eb17024bbc" 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#df41b1a85e067f5988ba1eb8bb50f44e">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#0277be98d67dc26ff93b1a6a1d086b07">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#0277be98d67dc26ff93b1a6a1d086b07">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#0277be98d67dc26ff93b1a6a1d086b07">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>
These are global values attached to each 3d object rendered, which has the fog flag enabled in its material. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="8c9e31b41b7e6fd26cf65ce538ebab05"></a><!-- doxytag: member="irr::video::IVideoDriver::setMaterial" ref="8c9e31b41b7e6fd26cf65ce538ebab05" 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>
All 3d drawing functions will draw geometry using this material thereafter. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="4ef324ed93094f84832e8d31cf0776f2"></a><!-- doxytag: member="irr::video::IVideoDriver::setMaterialRendererName" ref="4ef324ed93094f84832e8d31cf0776f2" 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#c66849b7a6ed16e30ebede579f9b47c6">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#9395eaea339bcb546b319e9c96bf7410">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>
Will have no effect on built-in material renderers. <dl compact><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#0dfc3a7168f3a73a6f4323b579f03ff6" 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>
</dl>

</div>
</div><p>
<a class="anchor" name="79cbd1329b4206503e9a9593592502ea"></a><!-- doxytag: member="irr::video::IVideoDriver::setMinHardwareBufferVertexCount" ref="79cbd1329b4206503e9a9593592502ea" 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#0416a53257075833e7002efd0a18e804">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 compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="d75e7606ab186f1e31cc126bcaaeba9c"></a><!-- doxytag: member="irr::video::IVideoDriver::setRenderTarget" ref="d75e7606ab186f1e31cc126bcaaeba9c" 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#5b61a3f2bd5d458f76f2eb20b0f40972">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>
This method enables access to special color buffers such as stereoscopic buffers or auxiliary buffers. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if sucessful and false if not. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8c38a8d8d6d49be53bda55eb0749e7eb"></a><!-- doxytag: member="irr::video::IVideoDriver::setRenderTarget" ref="8c38a8d8d6d49be53bda55eb0749e7eb" 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>
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#dde468368b77441ada246e1603da4f47" title="Queries the features of the driver.">queryFeature()</a>. Usually, rendering to textures is done in this way: <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">"rtt1"</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> Please note that you cannot render 3D or 2D geometry with a render target as texture on it when you are rendering the <a class="el" href="namespaceirr_1_1scene.html" title="All scene management can be found in this namespace: Mesh loading, special scene...">scene</a> 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#fcfafe9c1edc358a74631d544cc55ba4" 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#75f61a93c5fc9fdf161c044d27bc994e" title="Presents the rendered image to the screen.">endScene()</a> method calls. <dl compact><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#a704cece826ee37d02e4bb054b0b8797" 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#8c38a8d8d6d49be53bda55eb0749e7eb" 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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if sucessful and false if not. </dd></dl>

</div>
</div><p>
<a class="anchor" name="868b58a6b86b9e4841ca3879ce246c4e"></a><!-- doxytag: member="irr::video::IVideoDriver::setTextureCreationFlag" ref="868b58a6b86b9e4841ca3879ce246c4e" 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#caf6f7414534f7d62bff18c5bf11876f">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>
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 <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> 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. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="af6e88bedf7b91666a2bd34f46e092fc"></a><!-- doxytag: member="irr::video::IVideoDriver::setTransform" ref="af6e88bedf7b91666a2bd34f46e092fc" 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#15b57657a320243be03ae6f66fcff43d">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 compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="f03cf9b67bb7b43a8021bbe4baa78a08"></a><!-- doxytag: member="irr::video::IVideoDriver::setViewPort" ref="f03cf9b67bb7b43a8021bbe4baa78a08" 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#c66849b7a6ed16e30ebede579f9b47c6">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>
Every rendering operation is done into this new area. <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="3c26904f7d1bf0e37d51fe71562346a0"></a><!-- doxytag: member="irr::video::IVideoDriver::turnLightOn" ref="3c26904f7d1bf0e37d51fe71562346a0" 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#c66849b7a6ed16e30ebede579f9b47c6">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 <dl compact><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>
</dl>

</div>
</div><p>
<a class="anchor" name="e12c362cfbc92a7c59b434666c8436c0"></a><!-- doxytag: member="irr::video::IVideoDriver::writeImageToFile" ref="e12c362cfbc92a7c59b434666c8436c0" 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#0416a53257075833e7002efd0a18e804">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>
Requires that there is a suitable image writer registered for writing the image. <dl compact><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 acess 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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True on successful write. </dd></dl>

</div>
</div><p>
<a class="anchor" name="407d6a1483f995060035340e0a92ce9b"></a><!-- doxytag: member="irr::video::IVideoDriver::writeImageToFile" ref="407d6a1483f995060035340e0a92ce9b" 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#0416a53257075833e7002efd0a18e804">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>
Requires that there is a suitable image writer registered for writing the image. <dl compact><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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True on successful write. </dd></dl>

</div>
</div><p>
<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></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-2009 by Nikolaus Gebhardt. Generated 
        on Sun Jan 10 09:24:19 2010 by <a href="http://www.doxygen.org" target="_blank">Doxygen</a> 
        (1.5.6)</font></em></small></div></td>
  </tr>
</table>
<address style="align: right;">
</address>
</body>
</html>