diff options
Diffstat (limited to 'docs/doxygen/nel/class_NL3D__IDriver.html')
-rw-r--r-- | docs/doxygen/nel/class_NL3D__IDriver.html | 2906 |
1 files changed, 2906 insertions, 0 deletions
diff --git a/docs/doxygen/nel/class_NL3D__IDriver.html b/docs/doxygen/nel/class_NL3D__IDriver.html new file mode 100644 index 00000000..030c91b0 --- /dev/null +++ b/docs/doxygen/nel/class_NL3D__IDriver.html @@ -0,0 +1,2906 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.2 on Sun May 13 22:27:15 2001 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::IDriver Class Reference</h1><code>#include <<a class="el" href="driver_h-source.html">driver.h</a>></code> +<p> +Inheritance diagram for NL3D::IDriver<p><center><img src="class_NL3D__IDriver_inherit_graph.gif" border="0" usemap="#NL3D::IDriver_inherit_map" alt="Inheritance graph"></center> +<map name="NL3D::IDriver_inherit_map"> +<area href="class_NL3D__CDriverGL.html" shape="rect" coords="0,67,115,86"> +</map> +<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for NL3D::IDriver:<p><center><img src="class_NL3D__IDriver_coll_graph.gif" border="0" usemap="#NL3D::IDriver_coll_map" alt="Collaboration graph"></center> +<map name="NL3D::IDriver_coll_map"> +<area href="class_NL3D__TTexDrvInfoPtrMap.html" shape="rect" coords="57,70,223,88"> +<area href="class_NL3D__std__map.html" shape="rect" coords="0,0,280,19"> +</map> +<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_NL3D__IDriver-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#s29">TMessageBoxId</a> { <br> + <a class="el" href="class_NL3D__IDriver.html#s29s0">okId</a> = 0, +<br> + <a class="el" href="class_NL3D__IDriver.html#s29s1">yesId</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s29s2">noId</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s29s3">abortId</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s29s4">retryId</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s29s5">cancelId</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s29s6">ignoreId</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s29s7">idCount</a> +<br> + }</td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#s30">TMessageBoxType</a> { <br> + <a class="el" href="class_NL3D__IDriver.html#s30s8">okType</a> = 0, +<br> + <a class="el" href="class_NL3D__IDriver.html#s30s9">okCancelType</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s30s10">yesNoType</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s30s11">abortRetryIgnoreType</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s30s12">yesNoCancelType</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s30s13">retryCancelType</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s30s14">typeCount</a> +<br> + }</td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#s31">TMessageBoxIcon</a> { <br> + <a class="el" href="class_NL3D__IDriver.html#s31s15">noIcon</a> = 0, +<br> + <a class="el" href="class_NL3D__IDriver.html#s31s16">handIcon</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s31s17">questionIcon</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s31s18">exclamationIcon</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s31s19">asteriskIcon</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s31s20">warningIcon</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s31s21">errorIcon</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s31s22">informationIcon</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s31s23">stopIcon</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s31s24">iconCount</a> +<br> + }</td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#s32">TPolygonMode</a> { <br> + <a class="el" href="class_NL3D__IDriver.html#s32s25">Filled</a> = 0, +<br> + <a class="el" href="class_NL3D__IDriver.html#s32s26">Line</a>, +<br> + <a class="el" href="class_NL3D__IDriver.html#s32s27">Point</a> +<br> + }</td></tr> +<tr><td> </td><td><font size=-1><em>Driver's polygon modes.</em> <a href="#s32">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#s33">TMatrixCount</a> { <br> + <a class="el" href="class_NL3D__IDriver.html#s33s28">MaxModelMatrix</a> = 16 +<br> + }</td></tr> +<tr><td> </td><td><font size=-1><em>Driver Max matrix count.</em> <a href="#s33">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a0">IDriver</a> (void)</td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a1">~IDriver</a> (void)</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a2">init</a> (void) = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="namespace_NL3D.html#a16">ModeList</a> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a3">enumModes</a> () = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a4">setDisplay</a> (void* wnd, const <a class="el" href="class_NL3D__GfxMode.html">GfxMode</a>& mode) = 0 throw (EBadDisplay)</td></tr> +<tr><td nowrap align=right valign=top>virtual void* </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a5">getDisplay</a> () = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a6">activate</a> (void) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Before rendering via a driver in a thread, must <a class="el" href="class_NL3D__IDriver.html#a6">activate</a>() (per thread).</em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="types_nl_h.html#a12">sint</a> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a7">getNbTextureStages</a> () = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Get the number of texture stage avaliable, for multitexturing (Normal material shaders). Valid only after <a class="el" href="class_NL3D__IDriver.html#a4">setDisplay</a>().</em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a8">isTextureExist</a> (const <a class="el" href="class_NL3D__ITexture.html">ITexture</a>&tex) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>is the texture is set up in the driver.</em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="class_NLMISC__IEventEmitter.html">NLMISC::IEventEmitter</a>* </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a9">getEventEmitter</a> (void) = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a10">clear2D</a> (CRGBA rgba) = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a11">clearZBuffer</a> (float zval=1) = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a12">setupTexture</a> (<a class="el" href="class_NL3D__ITexture.html">ITexture</a>& tex) = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a13">setupMaterial</a> (<a class="el" href="class_NL3D__CMaterial.html">CMaterial</a>& mat) = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a14">setFrustum</a> (float left, float right, float bottom, float top, float znear, float zfar, bool perspective=true) = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a15">setupViewMatrix</a> (const CMatrix& mtx) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>setup the view matrix (inverse of camera matrix).</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a16">setupModelMatrix</a> (const CMatrix& mtx, <a class="el" href="types_nl_h.html#a5">uint8</a> n=0) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>setup a model matrix.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual CMatrix </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a17">getViewMatrix</a> (void) const = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a18">setupVertexMode</a> (<a class="el" href="types_nl_h.html#a13">uint</a> vmode) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>setup the vertex transformation Mode.</em> <a href="#a18">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a19">activeVertexBuffer</a> (<a class="el" href="class_NL3D__CVertexBuffer.html">CVertexBuffer</a>& VB) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>active a current VB, for future <a class="el" href="class_NL3D__IDriver.html#a21">render</a>().</em> <a href="#a19">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a20">activeVertexBuffer</a> (<a class="el" href="class_NL3D__CVertexBuffer.html">CVertexBuffer</a>& VB, <a class="el" href="types_nl_h.html#a13">uint</a> first, <a class="el" href="types_nl_h.html#a13">uint</a> end) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>active a current VB, for future <a class="el" href="class_NL3D__IDriver.html#a21">render</a>().</em> <a href="#a20">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a21">render</a> (<a class="el" href="class_NL3D__CPrimitiveBlock.html">CPrimitiveBlock</a>& PB, <a class="el" href="class_NL3D__CMaterial.html">CMaterial</a>& Mat) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>render a block of primitive with previously setuped VertexBuffer / Matrixes.</em> <a href="#a21">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a22">renderTriangles</a> (<a class="el" href="class_NL3D__CMaterial.html">CMaterial</a>& Mat, <a class="el" href="types_nl_h.html#a9">uint32</a> *tri, <a class="el" href="types_nl_h.html#a9">uint32</a> ntris) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>render a list of triangles with previously setuped VertexBuffer / Matrixes.</em> <a href="#a22">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a23">renderPoints</a> (<a class="el" href="class_NL3D__CMaterial.html">CMaterial</a>& Mat, <a class="el" href="types_nl_h.html#a9">uint32</a> numPoints) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>render points with previously setuped VertexBuffer / Matrixes.</em> <a href="#a23">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a24">swapBuffers</a> (void) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Swap the back and front buffers.</em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="types_nl_h.html#a13">uint</a> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a25">getNumMatrix</a> () = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Returns the number of model matrices supported in hardware by the driver.</em> <a href="#a25">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a26">supportPaletteSkinning</a> () = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Returns true if the hardware support PaletteSkinning.</em> <a href="#a26">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a27">fogEnabled</a> () = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a28">enableFog</a> (bool enable) = 0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a29">setupFog</a> (float start, float end, CRGBA color) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>setup fog parameters. fog must enabled to see result. start and end are in [0,1] range.</em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a30">release</a> (void)</td></tr> +<tr><td> </td><td><font size=-1><em>Deriver should calls <a class="el" href="class_NL3D__IDriver.html#a30">IDriver::release</a>() first, to destroy all driver components (textures, shaders, VBuffers).</em> <a href="#a30">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a31">isActive</a> () = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Return true if driver is still active. Return false else. If he user close the window, must return false.</em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="class_NL3D__IDriver.html#s29">TMessageBoxId</a> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a32">systemMessageBox</a> (const char* message, const char* title, <a class="el" href="class_NL3D__IDriver.html#s30">TMessageBoxType</a> type=okType, <a class="el" href="class_NL3D__IDriver.html#s31">TMessageBoxIcon</a> icon=noIcon)</td></tr> +<tr><td> </td><td><font size=-1><em>Output a system message box and print a message with an icon.</em> <a href="#a32">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a33">setupViewport</a> (const class <a class="el" href="class_NL3D__CViewport.html">CViewport</a>& viewport) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Set the current viewport.</em> <a href="#a33">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a34">setupScissor</a> (const class <a class="el" href="class_NL3D__CViewport.html">CViewport</a>& viewport) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Set the current Scissor.</em> <a href="#a34">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="types_nl_h.html#a9">uint32</a> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a35">getImplementationVersion</a> () const = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Get the driver version.</em> <a href="#a35">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual const char* </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a36">getDriverInformation</a> () = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Get driver informations.</em> <a href="#a36">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual const char* </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a37">getVideocardInformation</a> () = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Get videocard informations.</em> <a href="#a37">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a38">showCursor</a> (bool b) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>show cursor if b is true, or hide it if b is false.</em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a39">setMousePos</a> (float x, float y) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>x and y must be between 0.0 and 1.0.</em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a40">getWindowSize</a> (<a class="el" href="types_nl_h.html#a9">uint32</a> &width, <a class="el" href="types_nl_h.html#a9">uint32</a> &height) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Get the width and the height of the window.</em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a41">setCapture</a> (bool b) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>If true, capture the mouse to force it to stay under the window.</em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a42">getBuffer</a> (CBitmap &bitmap) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>get the RGBA back buffer.</em> <a href="#a42">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a43">getZBuffer</a> (std::vector<float> &zbuffer) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>get the ZBuffer (back buffer).</em> <a href="#a43">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a44">getBufferPart</a> (CBitmap &bitmap, <a class="el" href="class_NLMISC__CRect.html">NLMISC::CRect</a> &rect) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>get a part of the RGBA back buffer NB: 0,0 is the bottom left corner of the screen.</em> <a href="#a44">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a45">getZBufferPart</a> (std::vector<float> &zbuffer, <a class="el" href="class_NLMISC__CRect.html">NLMISC::CRect</a> &rect) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>get a part of the ZBuffer (back buffer).</em> <a href="#a45">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a46">setPolygonMode</a> (<a class="el" href="class_NL3D__IDriver.html#s32">TPolygonMode</a> mode)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the global polygon mode.</em> <a href="#a46">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a47">setLight</a> (<a class="el" href="types_nl_h.html#a5">uint8</a> num, const <a class="el" href="class_NL3D__CLight.html">CLight</a>& light) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Setup a light.</em> <a href="#a47">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a48">enableLight</a> (<a class="el" href="types_nl_h.html#a5">uint8</a> num, bool enable=true) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Enable / disable light.</em> <a href="#a48">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a49">setAmbientColor</a> (CRGBA color) = 0</td></tr> +<tr><td> </td><td><font size=-1><em>Set ambiant.</em> <a href="#a49">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__IDriver.html#s32">TPolygonMode</a> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#a50">getPolygonMode</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Get the global polygon mode.</em> <a href="#a50">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>const <a class="el" href="types_nl_h.html#a9">uint32</a> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#p0">InterfaceVersion</a> = 0x1A</td></tr> +<tr><td> </td><td><font size=-1><em>Version of the driver interface. To increment when the interface change.</em> <a href="#p0">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#b0">removeVBDrvInfoPtr</a> (<a class="el" href="namespace_NL3D.html#a103">ItVBDrvInfoPtrList</a> vbDrvInfoIt)</td></tr> +<tr><td> </td><td><font size=-1><em>remove ptr from the lists in the driver.</em> <a href="#b0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#b1">removeTextureDrvInfoPtr</a> (<a class="el" href="namespace_NL3D.html#a97">ItTexDrvInfoPtrMap</a> texDrvInfoIt)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#b2">removeTextureDrvSharePtr</a> (<a class="el" href="namespace_NL3D.html#a98">ItTexDrvSharePtrList</a> texDrvShareIt)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#b3">removeShaderPtr</a> (<a class="el" href="namespace_NL3D.html#a93">ItShaderPtrList</a> shaderIt)</td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>CSynchronized<<a class="el" href="class_NL3D__TTexDrvInfoPtrMap.html">TTexDrvInfoPtrMap</a>> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#n0">_SyncTexDrvInfos</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespace_NL3D.html#a96">TTexDrvSharePtrList</a> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#n1">_TexDrvShares</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespace_NL3D.html#a92">TShaderPtrList</a> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#n2">_Shaders</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="namespace_NL3D.html#a102">TVBDrvInfoPtrList</a> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#n3">_VBDrvInfos</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__IDriver.html#s32">TPolygonMode</a> </td><td valign=bottom><a class="el" href="class_NL3D__IDriver.html#n4">_PolygonMode</a></td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="#l0">IVBDrvInfos</a></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="#l1">CTextureDrvShare</a></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="#l2">ITextureDrvInfos</a></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="#l3">IShader</a></td></tr> +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a name="s33" doxytag="NL3D::IDriver::TMatrixCount"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +enum NL3D::IDriver::TMatrixCount + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Driver Max matrix count. +<p> +<dl compact><dt> +<b>See also: </b><dd> + <a class="el" href="class_NL3D__IDriver.html#a16">setupModelMatrix</a>() </dl><dl compact><dt> +<b>Enumeration values:</b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><a name="s33s28" doxytag="MaxModelMatrix"></a><em>MaxModelMatrix</em> + </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00137">137</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="s31" doxytag="NL3D::IDriver::TMessageBoxIcon"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +enum NL3D::IDriver::TMessageBoxIcon + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt> +<b>Enumeration values:</b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><a name="s31s15" doxytag="noIcon"></a><em>noIcon</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s31s16" doxytag="handIcon"></a><em>handIcon</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s31s17" doxytag="questionIcon"></a><em>questionIcon</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s31s18" doxytag="exclamationIcon"></a><em>exclamationIcon</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s31s19" doxytag="asteriskIcon"></a><em>asteriskIcon</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s31s20" doxytag="warningIcon"></a><em>warningIcon</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s31s21" doxytag="errorIcon"></a><em>errorIcon</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s31s22" doxytag="informationIcon"></a><em>informationIcon</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s31s23" doxytag="stopIcon"></a><em>stopIcon</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s31s24" doxytag="iconCount"></a><em>iconCount</em> + </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00122">122</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="s29" doxytag="NL3D::IDriver::TMessageBoxId"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +enum NL3D::IDriver::TMessageBoxId + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt> +<b>Enumeration values:</b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><a name="s29s0" doxytag="okId"></a><em>okId</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s29s1" doxytag="yesId"></a><em>yesId</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s29s2" doxytag="noId"></a><em>noId</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s29s3" doxytag="abortId"></a><em>abortId</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s29s4" doxytag="retryId"></a><em>retryId</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s29s5" doxytag="cancelId"></a><em>cancelId</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s29s6" doxytag="ignoreId"></a><em>ignoreId</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s29s7" doxytag="idCount"></a><em>idCount</em> + </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00120">120</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="s30" doxytag="NL3D::IDriver::TMessageBoxType"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +enum NL3D::IDriver::TMessageBoxType + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt> +<b>Enumeration values:</b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><a name="s30s8" doxytag="okType"></a><em>okType</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s30s9" doxytag="okCancelType"></a><em>okCancelType</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s30s10" doxytag="yesNoType"></a><em>yesNoType</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s30s11" doxytag="abortRetryIgnoreType"></a><em>abortRetryIgnoreType</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s30s12" doxytag="yesNoCancelType"></a><em>yesNoCancelType</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s30s13" doxytag="retryCancelType"></a><em>retryCancelType</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s30s14" doxytag="typeCount"></a><em>typeCount</em> + </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00121">121</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="s32" doxytag="NL3D::IDriver::TPolygonMode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +enum NL3D::IDriver::TPolygonMode + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Driver's polygon modes. +<p> +<dl compact><dt> +<b>See also: </b><dd> + <a class="el" href="class_NL3D__IDriver.html#a46">setPolygonMode</a>(), <a class="el" href="class_NL3D__IDriver.html#a50">getPolygonMode</a>() </dl><dl compact><dt> +<b>Enumeration values:</b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><a name="s32s25" doxytag="Filled"></a><em>Filled</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s32s26" doxytag="Line"></a><em>Line</em> + </td><td> +</td></tr> +<tr><td valign=top><a name="s32s27" doxytag="Point"></a><em>Point</em> + </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00129">129</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::IDriver::IDriver"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +NL3D::IDriver::IDriver ( + </b></td> + <td valign="bottom"><b> +void ) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_cpp-source.html#l00047">47</a> of file <a class="el" href="driver_cpp-source.html">driver.cpp</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::IDriver::~IDriver"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +NL3D::IDriver::~IDriver ( + </b></td> + <td valign="bottom"><b> +void )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_cpp-source.html#l00053">53</a> of file <a class="el" href="driver_cpp-source.html">driver.cpp</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a6" doxytag="NL3D::IDriver::activate"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::IDriver::activate ( + </b></td> + <td valign="bottom"><b> +void )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Before rendering via a driver in a thread, must <a class="el" href="class_NL3D__IDriver.html#a6">activate</a>() (per thread). +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a7">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a20" doxytag="NL3D::IDriver::activeVertexBuffer"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::IDriver::activeVertexBuffer ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__CVertexBuffer.html">CVertexBuffer</a> & <em>VB</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a13">uint</a> <em>first</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a13">uint</a> <em>end</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +active a current VB, for future <a class="el" href="class_NL3D__IDriver.html#a21">render</a>(). +<p> +This method suppose that only vertices in given range will be used in future <a class="el" href="class_NL3D__IDriver.html#a21">render</a>(). This could be usefull for DX or OpenGL driver, but it is usefull for software skinning too. Undefined results if primitives in <a class="el" href="class_NL3D__IDriver.html#a21">render</a>() use vertices not in this range. +<p> +NB: software skinning (if any) will be actuallay done in render*() call, only one time per vertex. Vertex Skinning Flags are reseted in <a class="el" href="class_NL3D__IDriver.html#a19">activeVertexBuffer</a>(), but only for given range here! +<p> +Skinning is enabled only when VB has skinning, and when vertexMode has flag NL3D_VERTEX_MODE_SKINNING.<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>VB</em> + </td><td> + the vertexBuffer to activate. </td></tr> +<tr><td valign=top><em>first</em> + </td><td> + the first vertex important for render (begin to 0). nlassert(first<=end); </td></tr> +<tr><td valign=top><em>end</em> + </td><td> + the last vertex important for render, +1. count==end-first. nlassert(end<=VB.getNumVertices); +<p> +</td></tr> +</table> +</dl><dl compact><dt> +<b>See also: </b><dd> + <a class="el" href="class_NL3D__IDriver.html#a18">setupVertexMode</a>() </dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a21">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a19" doxytag="NL3D::IDriver::activeVertexBuffer"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::IDriver::activeVertexBuffer ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__CVertexBuffer.html">CVertexBuffer</a> & <em>VB</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +active a current VB, for future <a class="el" href="class_NL3D__IDriver.html#a21">render</a>(). +<p> +This method suppose that all vertices in the VB will be used. +<p> +NB: software skinning (if any) will be actuallay done in render*() call, only one time per vertex. Vertex Skinning Flags are reseted in <a class="el" href="class_NL3D__IDriver.html#a19">activeVertexBuffer</a>(). +<p> +Skinning is enabled only when VB has skinning, and when vertexMode has flag NL3D_VERTEX_MODE_SKINNING. +<p> +<dl compact><dt> +<b>See also: </b><dd> + <a class="el" href="class_NL3D__IDriver.html#a18">setupVertexMode</a>() </dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a20">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NL3D::IDriver::clear2D"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual bool NL3D::IDriver::clear2D ( + </b></td> + <td valign="bottom"><b> +CRGBA <em>rgba</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a11">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NL3D::IDriver::clearZBuffer"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual bool NL3D::IDriver::clearZBuffer ( + </b></td> + <td valign="bottom"><b> +float <em>zval</em> = 1 )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a12">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a28" doxytag="NL3D::IDriver::enableFog"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual void NL3D::IDriver::enableFog ( + </b></td> + <td valign="bottom"><b> +bool <em>enable</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a49">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a48" doxytag="NL3D::IDriver::enableLight"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::enableLight ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> <em>num</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +bool <em>enable</em> = true )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Enable / disable light. +<p> +You must call <a class="el" href="class_NL3D__IDriver.html#a47">setLight</a>() if you active the ligth.<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>num</em> + </td><td> + is the number of the light to enable / disable. </td></tr> +<tr><td valign=top><em>enable</em> + </td><td> + is true to enable the light, false to disable it. </td></tr> +</table> +</dl><dl compact><dt> +<b>See also: </b><dd> + <a class="el" href="class_NL3D__IDriver.html#a47">setLight</a>() </dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a46">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::IDriver::enumModes"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual <a class="el" href="namespace_NL3D.html#a16">ModeList</a> NL3D::IDriver::enumModes ( + </b></td> + <td valign="bottom"><b> +)<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a4">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a27" doxytag="NL3D::IDriver::fogEnabled"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::IDriver::fogEnabled ( + </b></td> + <td valign="bottom"><b> +)<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a48">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a42" doxytag="NL3D::IDriver::getBuffer"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::getBuffer ( + </b></td> + <td valign="bottom"><b> +CBitmap & <em>bitmap</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the RGBA back buffer. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>bitmap</em> + </td><td> + the buffer will be written in this bitmap </td></tr> +</table> +</dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a40">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a44" doxytag="NL3D::IDriver::getBufferPart"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::getBufferPart ( + </b></td> + <td valign="bottom"><b> +CBitmap & <em>bitmap</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NLMISC__CRect.html">NLMISC::CRect</a> & <em>rect</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get a part of the RGBA back buffer NB: 0,0 is the bottom left corner of the screen. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>bitmap</em> + </td><td> + the buffer will be written in this bitmap </td></tr> +<tr><td valign=top><em>rect</em> + </td><td> + the in/out (wanted/clipped) part of Color buffer to retrieve. </td></tr> +</table> +</dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a42">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::IDriver::getDisplay"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual void* NL3D::IDriver::getDisplay ( + </b></td> + <td valign="bottom"><b> +)<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a6">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a36" doxytag="NL3D::IDriver::getDriverInformation"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const char * NL3D::IDriver::getDriverInformation ( + </b></td> + <td valign="bottom"><b> +)<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get driver informations. +<p> +get the nel name of the driver (ex: "Opengl 1.2 NeL Driver") +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a33">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NL3D::IDriver::getEventEmitter"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual <a class="el" href="class_NLMISC__IEventEmitter.html">NLMISC::IEventEmitter</a>* NL3D::IDriver::getEventEmitter ( + </b></td> + <td valign="bottom"><b> +void )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a10">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a35" doxytag="NL3D::IDriver::getImplementationVersion"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> NL3D::IDriver::getImplementationVersion ( + </b></td> + <td valign="bottom"><b> +) const<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the driver version. +<p> +Not the same than interface version. Incremented at each implementation change. +<p> +<dl compact><dt> +<b>See also: </b><dd> + <a class="el" href="class_NL3D__IDriver.html#p0">InterfaceVersion</a> </dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a32">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::IDriver::getNbTextureStages"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a12">sint</a> NL3D::IDriver::getNbTextureStages ( + </b></td> + <td valign="bottom"><b> +)<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the number of texture stage avaliable, for multitexturing (Normal material shaders). Valid only after <a class="el" href="class_NL3D__IDriver.html#a4">setDisplay</a>(). +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a8">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a25" doxytag="NL3D::IDriver::getNumMatrix"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="types_nl_h.html#a13">uint</a> NL3D::IDriver::getNumMatrix ( + </b></td> + <td valign="bottom"><b> +)<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the number of model matrices supported in hardware by the driver. +<p> +NeL will support from 2 to 4 matrices by vertices. If the user uses a model with a greater count of matrices than the hardware can support, the skinning will be made in software. +<p> +For the time, driver opengl supports 2 matrices in hardware on Geforce, and implement nothing in software. (Use paletted skinning instead) +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a26">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a50" doxytag="NL3D::IDriver::getPolygonMode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__IDriver.html#s32">TPolygonMode</a> NL3D::IDriver::getPolygonMode ( + </b></td> + <td valign="bottom"><b> +)<code> [inline]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the global polygon mode. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>polygon</em> + </td><td> + mode choose in this driver. </td></tr> +</table> +</dl><dl compact><dt> +<b>See also: </b><dd> + <a class="el" href="class_NL3D__IDriver.html#a46">setPolygonMode</a>(), <a class="el" href="class_NL3D__IDriver.html#s32">TPolygonMode</a> </dl> +<p> +Definition at line <a class="el" href="driver_h-source.html#l00427">427</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="a37" doxytag="NL3D::IDriver::getVideocardInformation"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const char * NL3D::IDriver::getVideocardInformation ( + </b></td> + <td valign="bottom"><b> +)<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get videocard informations. +<p> +get the official name of the driver +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a34">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a17" doxytag="NL3D::IDriver::getViewMatrix"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual CMatrix NL3D::IDriver::getViewMatrix ( + </b></td> + <td valign="bottom"><b> +void ) const<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a18">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a40" doxytag="NL3D::IDriver::getWindowSize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::getWindowSize ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> & <em>width</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> & <em>height</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the width and the height of the window. +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a39">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a43" doxytag="NL3D::IDriver::getZBuffer"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::getZBuffer ( + </b></td> + <td valign="bottom"><b> +std::vector< float >& <em>zbuffer</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the ZBuffer (back buffer). +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>zbuffer</em> + </td><td> + the returned array of Z. size of <a class="el" href="class_NL3D__IDriver.html#a40">getWindowSize</a>() . </td></tr> +</table> +</dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a41">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a45" doxytag="NL3D::IDriver::getZBufferPart"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::getZBufferPart ( + </b></td> + <td valign="bottom"><b> +std::vector< float >& <em>zbuffer</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NLMISC__CRect.html">NLMISC::CRect</a> & <em>rect</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get a part of the ZBuffer (back buffer). +<p> +NB: 0,0 is the bottom left corner of the screen.<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>zbuffer</em> + </td><td> + the returned array of Z. size of rec.Width*rec.Height. </td></tr> +<tr><td valign=top><em>rect</em> + </td><td> + the in/out (wanted/clipped) part of ZBuffer to retrieve. </td></tr> +</table> +</dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a43">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::IDriver::init"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual bool NL3D::IDriver::init ( + </b></td> + <td valign="bottom"><b> +void )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a3">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a31" doxytag="NL3D::IDriver::isActive"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::IDriver::isActive ( + </b></td> + <td valign="bottom"><b> +)<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return true if driver is still active. Return false else. If he user close the window, must return false. +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a35">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::IDriver::isTextureExist"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::IDriver::isTextureExist ( + </b></td> + <td valign="bottom"><b> +const <a class="el" href="class_NL3D__ITexture.html">ITexture</a> & <em>tex</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +is the texture is set up in the driver. +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a9">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a30" doxytag="NL3D::IDriver::release"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::IDriver::release ( + </b></td> + <td valign="bottom"><b> +void )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Deriver should calls <a class="el" href="class_NL3D__IDriver.html#a30">IDriver::release</a>() first, to destroy all driver components (textures, shaders, VBuffers). +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a28">NL3D::CDriverGL</a>. +<p> +Definition at line <a class="el" href="driver_cpp-source.html#l00070">70</a> of file <a class="el" href="driver_cpp-source.html">driver.cpp</a>. </td> + </tr> +</table> +<a name="b3" doxytag="NL3D::IDriver::removeShaderPtr"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::removeShaderPtr ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="namespace_NL3D.html#a93">ItShaderPtrList</a> <em>shaderIt</em> )<code> [protected]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_cpp-source.html#l00219">219</a> of file <a class="el" href="driver_cpp-source.html">driver.cpp</a>. </td> + </tr> +</table> +<a name="b1" doxytag="NL3D::IDriver::removeTextureDrvInfoPtr"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::removeTextureDrvInfoPtr ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="namespace_NL3D.html#a97">ItTexDrvInfoPtrMap</a> <em>texDrvInfoIt</em> )<code> [protected]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_cpp-source.html#l00206">206</a> of file <a class="el" href="driver_cpp-source.html">driver.cpp</a>. </td> + </tr> +</table> +<a name="b2" doxytag="NL3D::IDriver::removeTextureDrvSharePtr"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::removeTextureDrvSharePtr ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="namespace_NL3D.html#a98">ItTexDrvSharePtrList</a> <em>texDrvShareIt</em> )<code> [protected]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_cpp-source.html#l00214">214</a> of file <a class="el" href="driver_cpp-source.html">driver.cpp</a>. </td> + </tr> +</table> +<a name="b0" doxytag="NL3D::IDriver::removeVBDrvInfoPtr"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::removeVBDrvInfoPtr ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="namespace_NL3D.html#a103">ItVBDrvInfoPtrList</a> <em>vbDrvInfoIt</em> )<code> [protected]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +remove ptr from the lists in the driver. +<p> + +<p> +Definition at line <a class="el" href="driver_cpp-source.html#l00201">201</a> of file <a class="el" href="driver_cpp-source.html">driver.cpp</a>. </td> + </tr> +</table> +<a name="a21" doxytag="NL3D::IDriver::render"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::IDriver::render ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__CPrimitiveBlock.html">CPrimitiveBlock</a> & <em>PB</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> & <em>Mat</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +render a block of primitive with previously setuped VertexBuffer / Matrixes. +<p> +NB: <a class="el" href="debug_h.html#a6">nlassert</a>() if <a class="el" href="class_NL3D__IDriver.html#a16">setupModelMatrix</a>() or <a class="el" href="class_NL3D__IDriver.html#a15">setupViewMatrix</a>() has been called between <a class="el" href="class_NL3D__IDriver.html#a19">activeVertexBuffer</a>() and render*(). +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a22">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a23" doxytag="NL3D::IDriver::renderPoints"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::renderPoints ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> & <em>Mat</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> <em>numPoints</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +render points with previously setuped VertexBuffer / Matrixes. +<p> +NB: <a class="el" href="debug_h.html#a6">nlassert</a>() if <a class="el" href="class_NL3D__IDriver.html#a16">setupModelMatrix</a>() or <a class="el" href="class_NL3D__IDriver.html#a15">setupViewMatrix</a>() has been called between <a class="el" href="class_NL3D__IDriver.html#a19">activeVertexBuffer</a>() and render*(). +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a24">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a22" doxytag="NL3D::IDriver::renderTriangles"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::renderTriangles ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> & <em>Mat</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> * <em>tri</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a9">uint32</a> <em>ntris</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +render a list of triangles with previously setuped VertexBuffer / Matrixes. +<p> +NB: <a class="el" href="debug_h.html#a6">nlassert</a>() if <a class="el" href="class_NL3D__IDriver.html#a16">setupModelMatrix</a>() or <a class="el" href="class_NL3D__IDriver.html#a15">setupViewMatrix</a>() has been called between <a class="el" href="class_NL3D__IDriver.html#a19">activeVertexBuffer</a>() and render*(). NB: this is usefull for landscape.... +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a23">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a49" doxytag="NL3D::IDriver::setAmbientColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::setAmbientColor ( + </b></td> + <td valign="bottom"><b> +CRGBA <em>color</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set ambiant. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>color</em> + </td><td> + is the new global ambiant color for the scene. </td></tr> +</table> +</dl><dl compact><dt> +<b>See also: </b><dd> + <a class="el" href="class_NL3D__IDriver.html#a47">setLight</a>(), <a class="el" href="class_NL3D__IDriver.html#a48">enableLight</a>() </dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a47">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a41" doxytag="NL3D::IDriver::setCapture"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::setCapture ( + </b></td> + <td valign="bottom"><b> +bool <em>b</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +If true, capture the mouse to force it to stay under the window. +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a38">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::IDriver::setDisplay"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual bool NL3D::IDriver::setDisplay ( + </b></td> + <td valign="bottom"><b> +void * <em>wnd</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const <a class="el" href="class_NL3D__GfxMode.html">GfxMode</a> & <em>mode</em> ) throw (<a class="el" href="class_NL3D__EBadDisplay.html">EBadDisplay</a>)<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a5">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a14" doxytag="NL3D::IDriver::setFrustum"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual void NL3D::IDriver::setFrustum ( + </b></td> + <td valign="bottom"><b> +float <em>left</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>right</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>bottom</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>top</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>znear</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>zfar</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +bool <em>perspective</em> = true )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a15">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a47" doxytag="NL3D::IDriver::setLight"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::setLight ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> <em>num</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const <a class="el" href="class_NL3D__CLight.html">CLight</a> & <em>light</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Setup a light. +<p> +You must call <a class="el" href="class_NL3D__IDriver.html#a48">enableLight</a>() to active the ligth.<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>num</em> + </td><td> + is the number of the light to set. </td></tr> +<tr><td valign=top><em>light</em> + </td><td> + is a light to set in this slot. </td></tr> +</table> +</dl><dl compact><dt> +<b>See also: </b><dd> + <a class="el" href="class_NL3D__IDriver.html#a48">enableLight</a>() </dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a45">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a39" doxytag="NL3D::IDriver::setMousePos"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::setMousePos ( + </b></td> + <td valign="bottom"><b> +float <em>x</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>y</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +x and y must be between 0.0 and 1.0. +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a37">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a46" doxytag="NL3D::IDriver::setPolygonMode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::setPolygonMode ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__IDriver.html#s32">TPolygonMode</a> <em>mode</em> )<code> [inline, virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the global polygon mode. +<p> +Can be filled, line or point. The implementation driver must call <a class="el" href="class_NL3D__IDriver.html#a46">IDriver::setPolygonMode</a>() and active this mode.<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>polygon</em> + </td><td> + mode choose in this driver. </td></tr> +</table> +</dl><dl compact><dt> +<b>See also: </b><dd> + <a class="el" href="class_NL3D__IDriver.html#a50">getPolygonMode</a>(), <a class="el" href="class_NL3D__IDriver.html#s32">TPolygonMode</a> </dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a44">NL3D::CDriverGL</a>. +<p> +Definition at line <a class="el" href="driver_h-source.html#l00387">387</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="a29" doxytag="NL3D::IDriver::setupFog"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::setupFog ( + </b></td> + <td valign="bottom"><b> +float <em>start</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>end</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +CRGBA <em>color</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup fog parameters. fog must enabled to see result. start and end are in [0,1] range. +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a50">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a13" doxytag="NL3D::IDriver::setupMaterial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual bool NL3D::IDriver::setupMaterial ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__CMaterial.html">CMaterial</a> & <em>mat</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a14">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a16" doxytag="NL3D::IDriver::setupModelMatrix"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::setupModelMatrix ( + </b></td> + <td valign="bottom"><b> +const CMatrix & <em>mtx</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="types_nl_h.html#a5">uint8</a> <em>n</em> = 0 )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup a model matrix. +<p> +IDdriver::MaxModelMatrix (16) can be setuped. The 0th model matrix is the principal one. Others are only usefull fro skinning (see <a class="el" href="class_NL3D__CVertexBuffer.html">CVertexBuffer</a>, and setupVertexMode). +<p> +NB: you must <a class="el" href="class_NL3D__IDriver.html#a16">setupModelMatrix</a>() AFTER <a class="el" href="class_NL3D__IDriver.html#a15">setupViewMatrix</a>(), or else undefined results. +<p> +<dl compact><dt> +<b>See also: </b><dd> + <a class="el" href="class_NL3D__IDriver.html#a18">setupVertexMode</a>() </dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a17">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a34" doxytag="NL3D::IDriver::setupScissor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::setupScissor ( + </b></td> + <td valign="bottom"><b> +const class <a class="el" href="class_NL3D__CViewport.html">CViewport</a> & <em>viewport</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the current Scissor. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>viewport</em> + </td><td> + is a viewport to setup the current Scissor, in Window relative coordinate (0,1). </td></tr> +</table> +</dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a30">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NL3D::IDriver::setupTexture"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +virtual bool NL3D::IDriver::setupTexture ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NL3D__ITexture.html">ITexture</a> & <em>tex</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a13">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a18" doxytag="NL3D::IDriver::setupVertexMode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::setupVertexMode ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="types_nl_h.html#a13">uint</a> <em>vmode</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the vertex transformation Mode. +<p> +(or vertex program). This should be a ORed of NL3D_VMODE_* Default is NL3D_VERTEX_MODE_NORMAL. +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a19">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a15" doxytag="NL3D::IDriver::setupViewMatrix"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::setupViewMatrix ( + </b></td> + <td valign="bottom"><b> +const CMatrix & <em>mtx</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the view matrix (inverse of camera matrix). +<p> +NB: you must <a class="el" href="class_NL3D__IDriver.html#a15">setupViewMatrix</a>() BEFORE <a class="el" href="class_NL3D__IDriver.html#a16">setupModelMatrix</a>(), or else undefined results. +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a16">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a33" doxytag="NL3D::IDriver::setupViewport"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::setupViewport ( + </b></td> + <td valign="bottom"><b> +const class <a class="el" href="class_NL3D__CViewport.html">CViewport</a> & <em>viewport</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the current viewport. +<p> +<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>viewport</em> + </td><td> + is a viewport to setup as current viewport. </td></tr> +</table> +</dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a31">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a38" doxytag="NL3D::IDriver::showCursor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void NL3D::IDriver::showCursor ( + </b></td> + <td valign="bottom"><b> +bool <em>b</em> )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +show cursor if b is true, or hide it if b is false. +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a36">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a26" doxytag="NL3D::IDriver::supportPaletteSkinning"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::IDriver::supportPaletteSkinning ( + </b></td> + <td valign="bottom"><b> +)<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns true if the hardware support PaletteSkinning. +<p> +NeL will support 4 matrices by vertices, and up to <a class="el" href="class_NL3D__IDriver.html#s33s28">IDriver::MaxModelMatrix</a> (16) model matrixes. If the user uses PaletteSkinning while the hardware does not support it, the skinning will be made in software. +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a27">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a24" doxytag="NL3D::IDriver::swapBuffers"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +bool NL3D::IDriver::swapBuffers ( + </b></td> + <td valign="bottom"><b> +void )<code> [pure virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Swap the back and front buffers. +<p> + +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a25">NL3D::CDriverGL</a>. </td> + </tr> +</table> +<a name="a32" doxytag="NL3D::IDriver::systemMessageBox"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__IDriver.html#s29">IDriver::TMessageBoxId</a> NL3D::IDriver::systemMessageBox ( + </b></td> + <td valign="bottom"><b> +const char * <em>message</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const char * <em>title</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html#s30">TMessageBoxType</a> <em>type</em> = okType, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="class_NL3D__IDriver.html#s31">TMessageBoxIcon</a> <em>icon</em> = noIcon )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Output a system message box and print a message with an icon. +<p> +This method can be call even if the driver is not initialized. This method is used to return internal driver problem when string can't be displayed in the driver window. If the driver can't open a messageBox, it should not override this method and let the <a class="el" href="class_NL3D__IDriver.html">IDriver</a> class manage it with the ASCII console.<dl compact><dt> +<b>Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>message</em> + </td><td> + This is the message to display in the message box. </td></tr> +<tr><td valign=top><em>title</em> + </td><td> + This is the title of the message box. </td></tr> +<tr><td valign=top><em>type</em> + </td><td> + This is the type of the message box, ie number of button and label of buttons. </td></tr> +<tr><td valign=top><em>icon</em> + </td><td> + This is the icon of the message box should use like warning, error etc... </td></tr> +</table> +</dl> +<p> +Reimplemented in <a class="el" href="class_NL3D__CDriverGL.html#a29">NL3D::CDriverGL</a>. +<p> +Definition at line <a class="el" href="driver_cpp-source.html#l00124">124</a> of file <a class="el" href="driver_cpp-source.html">driver.cpp</a>. </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a name="l1" doxytag="NL3D::IDriver::CTextureDrvShare"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +class CTextureDrvShare<code> [friend]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00434">434</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="l3" doxytag="NL3D::IDriver::IShader"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +class IShader<code> [friend]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00436">436</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="l2" doxytag="NL3D::IDriver::ITextureDrvInfos"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +class ITextureDrvInfos<code> [friend]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00435">435</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="l0" doxytag="NL3D::IDriver::IVBDrvInfos"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +class IVBDrvInfos<code> [friend]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00433">433</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="p0" doxytag="NL3D::IDriver::InterfaceVersion"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const <a class="el" href="types_nl_h.html#a9">uint32</a> NL3D::IDriver::InterfaceVersion = 0x1A<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Version of the driver interface. To increment when the interface change. +<p> + +<p> +Definition at line <a class="el" href="driver_cpp-source.html#l00044">44</a> of file <a class="el" href="driver_cpp-source.html">driver.cpp</a>. </td> + </tr> +</table> +<a name="n4" doxytag="NL3D::IDriver::_PolygonMode"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NL3D__IDriver.html#s32">TPolygonMode</a> NL3D::IDriver::_PolygonMode<code> [protected]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00147">147</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="n2" doxytag="NL3D::IDriver::_Shaders"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="namespace_NL3D.html#a92">TShaderPtrList</a> NL3D::IDriver::_Shaders<code> [protected]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00145">145</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="n0" doxytag="NL3D::IDriver::_SyncTexDrvInfos"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +CSynchronized< <a class="el" href="class_NL3D__TTexDrvInfoPtrMap.html">TTexDrvInfoPtrMap</a> > NL3D::IDriver::_SyncTexDrvInfos<code> [protected]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00142">142</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="n1" doxytag="NL3D::IDriver::_TexDrvShares"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="namespace_NL3D.html#a96">TTexDrvSharePtrList</a> NL3D::IDriver::_TexDrvShares<code> [protected]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00144">144</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<a name="n3" doxytag="NL3D::IDriver::_VBDrvInfos"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="namespace_NL3D.html#a102">TVBDrvInfoPtrList</a> NL3D::IDriver::_VBDrvInfos<code> [protected]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="driver_h-source.html#l00146">146</a> of file <a class="el" href="driver_h-source.html">driver.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="driver_h-source.html">driver.h</a><li><a class="el" href="driver_cpp-source.html">driver.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |