aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1CMaterial.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1CMaterial.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CMaterial.html')
-rw-r--r--docs/doxygen/nel/classNL3D_1_1CMaterial.html4374
1 files changed, 4374 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CMaterial.html b/docs/doxygen/nel/classNL3D_1_1CMaterial.html
new file mode 100644
index 00000000..494d1672
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1CMaterial.html
@@ -0,0 +1,4374 @@
+<!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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>
+&nbsp;
+
+<!-- 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>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <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> &nbsp; </center>
+<hr><h1>NL3D::CMaterial Class Reference</h1>A material represent ALL the states relatives to the aspect of a primitive.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="material_8h-source.html">material.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CMaterial:
+<p><center><img src="classNL3D_1_1CMaterial.gif" usemap="#NL3D::CMaterial_map" border="0"></center>
+<map name="NL3D::CMaterial_map">
+<area href="classNLMISC_1_1CRefCount.html" alt="NLMISC::CRefCount" shape="rect" coords="0,0,126,24">
+</map>
+<a href="classNL3D_1_1CMaterial-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>typedef std::vector&lt; <a class="el" href="structNL3D_1_1CMaterial_1_1CLightMap.html">CLightMap</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#s0">TTexturePtrs</a></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#s64">ZFunc</a> { <br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#s64s1">always</a> = 0,
+<a class="el" href="classNL3D_1_1CMaterial.html#s64s2">never</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s64s3">equal</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s64s4">notequal</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#s64s5">less</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s64s6">lessequal</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s64s7">greater</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s64s8">greaterequal</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#s64s9">zfuncCount</a>
+<br>
+ }</td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a> { <br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#s65s10">one</a> = 0,
+<a class="el" href="classNL3D_1_1CMaterial.html#s65s11">zero</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s65s12">srcalpha</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s65s13">invsrcalpha</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#s65s14">srccolor</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s65s15">invsrccolor</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s65s16">blendConstantColor</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s65s17">blendConstantInvColor</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#s65s18">blendConstantAlpha</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s65s19">blendConstantInvAlpha</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s65s20">blendCount</a>
+<br>
+ }</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Blend enums.</em> <a href="#s65">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#s66">TShader</a> { <br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#s66s21">Normal</a> = 0,
+<a class="el" href="classNL3D_1_1CMaterial.html#s66s22">Bump</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s66s23">UserColor</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s66s24">LightMap</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#s66s25">Specular</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s66s26">Caustics</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s66s27">PerPixelLighting</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s66s28">PerPixelLightingNoSpec</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#s66s29">Cloud</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#s66s30">shaderCount</a>
+<br>
+ }</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Normal shader: use simple multitexturing.</em> <a href="#s66">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Texture Env Modes.</div></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z538_0">TTexOperator</a> { <br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#z538_0s31">Replace</a> = 0,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_0s32">Modulate</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_0s33">Add</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_0s34">AddSigned</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#z538_0s35">InterpolateTexture</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_0s36">InterpolatePrevious</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_0s37">InterpolateDiffuse</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_0s38">InterpolateConstant</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#z538_0s39">EMBM</a>
+<br>
+ }</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Environements operators: Replace: out= arg0 Modulate: out= arg0 * arg1 Add: out= arg0 + arg1 AddSigned: out= arg0 + arg1 -0.5 Interpolate*: out= arg0*As + arg1*(1-As), where As is taken from the SrcAlpha of Texture/Previous/Diffuse/Constant, respectively if operator is InterpolateTexture/InterpolatePrevious/InterpolateDiffuse/InterpolateConstant.</em> <a href="#z538_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z538_1">TTexSource</a> { <a class="el" href="classNL3D_1_1CMaterial.html#z538_1s40">Texture</a> = 0,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_1s41">Previous</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_1s42">Diffuse</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_1s43">Constant</a>
+ }</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Source argument.</em> <a href="#z538_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z538_2">TTexOperand</a> { <a class="el" href="classNL3D_1_1CMaterial.html#z538_2s44">SrcColor</a> = 0,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_2s45">InvSrcColor</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_2s46">SrcAlpha</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z538_2s47">InvSrcAlpha</a>
+ }</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Operand for the argument.</em> <a href="#z538_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Texture Addressing Modes. They are valid only with the normal texture shader.</div></td></tr>
+<tr><td colspan="2"><div class="groupText">All modes are not supported everywhere, so you should check for it in the driver.
+<p>
+The modes are similar to those introduced with DirectX 8.0 Pixel Shaders and OpenGL TEXTURE_SHADERS_NV <br><br></div></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z539_0">TTexAddressingMode</a> { <br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s48">TextureOff</a> = 0,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s49">FetchTexture</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s50">PassThrough</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s51">CullFragment</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s52">OffsetTexture</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s53">OffsetTextureScale</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s54">DependentARTexture</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s55">DependentGBTexture</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s56">DP3</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s57">DP3Texture2D</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s58">DP3CubeMap</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s59">DP3ReflectCubeMap</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s60">DP3ConstEyeReflectCubeMap</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s61">DP3DiffuseCubeMap</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s62">DP3DepthReplace</a>,
+<a class="el" href="classNL3D_1_1CMaterial.html#z539_0s63">TexAddrCount</a>
+<br>
+ }</td></tr>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#a0">setShader</a> (<a class="el" href="classNL3D_1_1CMaterial.html#s66">TShader</a> val)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the shader for this material.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html#s66">TShader</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#a1">getShader</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the current material shadertype.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#a2">getStainedGlassWindow</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#a3">setStainedGlassWindow</a> (bool val)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#a4">flushTextures</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> &amp;driver)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Flush textures. Force texture generation.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#a5">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f)</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#a6">getFlags</a> () const</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#a7">getTouched</a> (void) const</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#a8">clearTouched</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> flag)</td></tr>
+<tr><td colspan="2"><div class="groupHeader">Object.</div></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z540_0">CMaterial</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>ctor.</em> <a href="#z540_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z540_1">CMaterial</a> (const CMaterial &amp;mat)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>see operator=.</em> <a href="#z540_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z540_2">~CMaterial</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>dtor.</em> <a href="#z540_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CMaterial &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z540_3">operator=</a> (const CMaterial &amp;mat)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Do not copy DrvInfos, copy all infos and set IDRV_TOUCHED_ALL.</em> <a href="#z540_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Texture.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z541_0">setTexture</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> stage, <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> *ptex)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>set a texture for a special stage.</em> <a href="#z541_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z541_1">getTexture</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> stage) const</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z541_2">texturePresent</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> stage) const</td></tr>
+<tr><td colspan="2"><div class="groupHeader">Blending.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z542_0">setBlend</a> (bool active)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z542_1">setBlendFunc</a> (<a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a> <a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a> dst)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z542_2">setSrcBlend</a> (<a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a> val)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z542_3">setDstBlend</a> (<a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a> val)</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z542_4">getBlend</a> () const</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z542_5">getSrcBlend</a> (void) const</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z542_6">getDstBlend</a> (void) const</td></tr>
+<tr><td colspan="2"><div class="groupHeader">Texture Addressing Mode Method</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z543_0">enableTexAddrMode</a> (bool enable=true)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>enable / disable the use of special texture addressing modes When enabled, all texture addressing modes are set to 'None'.</em> <a href="#z543_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z543_1">texAddrEnabled</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>test whether texture addressing mode are enabled.</em> <a href="#z543_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z543_2">setTexAddressingMode</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> stage, <a class="el" href="classNL3D_1_1CMaterial.html#z539_0">TTexAddressingMode</a> mode)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set a texture addressing mode for the given stage.</em> <a href="#z543_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html#z539_0">TTexAddressingMode</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z543_3">getTexAddressingMode</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> stage)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the texture addressing mode for the given stage.</em> <a href="#z543_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Double sided.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z544_0">setDoubleSided</a> (bool active)</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z544_1">getDoubleSided</a> () const</td></tr>
+<tr><td colspan="2"><div class="groupHeader">Alpha Test</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z545_0">setAlphaTest</a> (bool active)</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z545_1">getAlphaTest</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z545_2">setAlphaTestThreshold</a> (float thre)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>change the threshold against alpha is tested.</em> <a href="#z545_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z545_3">getAlphaTestThreshold</a> () const</td></tr>
+<tr><td colspan="2"><div class="groupHeader">ZBuffer.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z546_0">setZFunc</a> (<a class="el" href="classNL3D_1_1CMaterial.html#s64">ZFunc</a> val)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z546_1">setZWrite</a> (bool active)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z546_2">setZBias</a> (float val)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The z bias is a z dispacement of the object to solve z precision problem. The bias is gived in world coordinate units. Positive bias give a lower z priority, negative bias give a higher bias priority.</em> <a href="#z546_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html#s64">ZFunc</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z546_3">getZFunc</a> (void) const</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z546_4">getZWrite</a> (void) const</td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z546_5">getZBias</a> (void) const</td></tr>
+<tr><td colspan="2"><div class="groupHeader">Color/Lighting..</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_0">setColor</a> (CRGBA rgba)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The Color is used only if lighting is disabled. Also, color is replaced by per vertex color (if any).</em> <a href="#z547_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_1">setLighting</a> (bool active, CRGBA emissive=CRGBA(0, 0, 0), CRGBA ambient=CRGBA(0, 0, 0), CRGBA diffuse=CRGBA(0, 0, 0), CRGBA specular=CRGBA(0, 0, 0), float shininess=10)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Batch setup lighting. Opacity is in diffuse.A.</em> <a href="#z547_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_2">setEmissive</a> (CRGBA emissive=CRGBA(0, 0, 0))</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the emissive part ot material. Usefull only if setLighting(true) has been done.</em> <a href="#z547_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_3">setAmbient</a> (CRGBA ambient=CRGBA(0, 0, 0))</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the Ambient part ot material. Usefull only if setLighting(true) has been done.</em> <a href="#z547_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_4">setDiffuse</a> (CRGBA diffuse=CRGBA(0, 0, 0))</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the Diffuse part ot material. Usefull only if setLighting(true) has been done. NB: opacity is NOT copied from diffuse.A.</em> <a href="#z547_4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_5">setOpacity</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> opa)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the Opacity part ot material. Usefull only if setLighting(true) has been done.</em> <a href="#z547_5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_6">setSpecular</a> (CRGBA specular=CRGBA(0, 0, 0))</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the specular part ot material. Usefull only if setLighting(true) has been done.</em> <a href="#z547_6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_7">setShininess</a> (float shininess)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the shininess part ot material. Usefull only if setLighting(true) has been done.</em> <a href="#z547_7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_8">setLightedVertexColor</a> (bool useLightedVertexColor)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the color material flag. Used when the material is lighted. True to use the diffuse color of the material when lighted, false to use the color vertex.</em> <a href="#z547_8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_9">getLightedVertexColor</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the lighted vertex color flag.</em> <a href="#z547_9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_10">isLighted</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_11">isLightedVertexColor</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return true if this material uses color material as diffuse when lighted, else return false if it uses color vertex.</em> <a href="#z547_11">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_12">getColor</a> (void) const</td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_13">getEmissive</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_14">getAmbient</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_15">getDiffuse</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>return diffuse part. NB: A==opacity.</em> <a href="#z547_15">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_16">getOpacity</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_17">getSpecular</a> () const</td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z547_18">getShininess</a> () const</td></tr>
+<tr><td colspan="2"><div class="groupHeader">Texture environnement. Normal shader only.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_0">texEnvOpRGB</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, <a class="el" href="classNL3D_1_1CMaterial.html#z538_0">TTexOperator</a> ope)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_1">texEnvArg0RGB</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, <a class="el" href="classNL3D_1_1CMaterial.html#z538_1">TTexSource</a> <a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_2">TTexOperand</a> oper)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_2">texEnvArg1RGB</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, <a class="el" href="classNL3D_1_1CMaterial.html#z538_1">TTexSource</a> <a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_2">TTexOperand</a> oper)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_3">texEnvOpAlpha</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, <a class="el" href="classNL3D_1_1CMaterial.html#z538_0">TTexOperator</a> ope)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_4">texEnvArg0Alpha</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, <a class="el" href="classNL3D_1_1CMaterial.html#z538_1">TTexSource</a> <a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_2">TTexOperand</a> oper)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_5">texEnvArg1Alpha</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, <a class="el" href="classNL3D_1_1CMaterial.html#z538_1">TTexSource</a> <a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_2">TTexOperand</a> oper)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_6">texConstantColor</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, CRGBA color)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Setup the constant color for a stage. Used for the TTexSource:Constant.</em> <a href="#z548_6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_7">getTexEnvMode</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>For push/pop only, get the packed version of the environnment mode.</em> <a href="#z548_7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_8">setTexEnvMode</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, <a class="el" href="memory__common_8h.html#a11">uint32</a> packed)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>For push/pop only, set the packed version of the environnment mode.</em> <a href="#z548_8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_9">getTexConstantColor</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_10">setTexCoordGen</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, bool generate)</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_11">getTexCoordGen</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage) const</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_12">enableUserTexMat</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, bool enabled=true)</td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_13">isUserTexMatEnabled</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage) const</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_14">setUserTexMat</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &amp;m)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set a new texture matrix for the given stage.</em> <a href="#z548_14">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_15">getUserTexMat</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get a const ref.</em> <a href="#z548_15">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z548_16">decompUserTexMat</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, float &amp;uTrans, float &amp;vTrans, float &amp;wRot, float &amp;uScale, float &amp;vScale)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Decompose a user texture matrix, We assume that this is only a matrix for 2d texture.</em> <a href="#z548_16">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Texture UserColor. UserColor shader only.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z549_0">setUserColor</a> (CRGBA userColor)</td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z549_1">getUserColor</a> () const</td></tr>
+<tr><td colspan="2"><div class="groupHeader">LightMap. LightMap shader only.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z550_0">setLightMap</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> lmapId, <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> *lmap)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the ith lightmap. undef results if holes in lightmap array.</em> <a href="#z550_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z550_1">getLightMap</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> lmapId) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the ith lightmap. (NULl if none).</em> <a href="#z550_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z550_2">setLightMapFactor</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> lmapId, CRGBA factor)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the lightmap intensity. (default to 255).</em> <a href="#z550_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Tools..</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z551_0">initUnlit</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Init the material as unlit.</em> <a href="#z551_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z551_1">initLighted</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Init the material as default white lighted material.</em> <a href="#z551_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#z552_0">selectTextureSet</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Select one texture set for all the textures of this material.</em> <a href="#z552_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#m0">_TexAddrMode</a> [<a class="el" href="namespaceNL3D.html#a94">IDRV_MAT_MAXTEXTURES</a>]</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="structNL3D_1_1CMaterial_1_1CTexEnv.html">CTexEnv</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#m1">_TexEnvs</a> [<a class="el" href="namespaceNL3D.html#a94">IDRV_MAT_MAXTEXTURES</a>]</td></tr>
+<tr><td nowrap align=right valign=top>CRefPtr&lt; <a class="el" href="classNL3D_1_1IShader.html">IShader</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#m2">pShader</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html#s0">TTexturePtrs</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#m3">_LightMaps</a></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html#s66">TShader</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o0">_ShaderType</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o1">_Flags</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o2">_SrcBlend</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o3">_DstBlend</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html#s64">ZFunc</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o4">_ZFunction</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o5">_ZBias</a></td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o6">_Color</a></td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o7">_Emissive</a></td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o8">_Ambient</a></td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o9">_Diffuse</a></td></tr>
+<tr><td nowrap align=right valign=top>CRGBA&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o10">_Specular</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o11">_Shininess</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o12">_AlphaTestThreshold</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o13">_Touched</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o14">_StainedGlassWindow</a></td></tr>
+<tr><td nowrap align=right valign=top>std::auto_ptr&lt; <a class="el" href="structNL3D_1_1CMaterial_1_1CUserTexMat.html">CUserTexMat</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o15">_TexUserMat</a></td></tr>
+<tr><td nowrap align=right valign=top>CSmartPtr&lt; <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMaterial.html#o16">_Textures</a> [<a class="el" href="namespaceNL3D.html#a94">IDRV_MAT_MAXTEXTURES</a>]</td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A material represent ALL the states relatives to the aspect of a primitive.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00115">115</a> of file <a class="el" href="material_8h-source.html">material.h</a>.<hr><h2>Member Typedef Documentation</h2>
+<a name="s0" doxytag="NL3D::CMaterial::TTexturePtrs"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> typedef std::vector&lt;<a class="el" href="structNL3D_1_1CMaterial_1_1CLightMap.html">CLightMap</a>&gt; NL3D::CMaterial::TTexturePtrs
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00583">583</a> of file <a class="el" href="material_8h-source.html">material.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a name="s65" doxytag="NL3D::CMaterial::TBlend"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum NL3D::CMaterial::TBlend
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Blend enums.
+<p>
+see <a class="el" href="classNL3D_1_1CMaterial.html#z542_2">setSrcBlend</a>()/<a class="el" href="classNL3D_1_1CMaterial.html#z542_3">setDstBlend</a>()/<a class="el" href="classNL3D_1_1CMaterial.html#z542_1">setBlendFunc</a>(). blendConstant* enums are only valid if dirver-&gt;supportBlendConstantColor(). <dl compact><dt><b>
+See also: </b><dd>
+<a class="el" href="classNL3D_1_1IDriver.html#z434_0">IDriver::supportBlendConstantColor</a>() </dl><dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="s65s10" doxytag="one"></a><em>one</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s65s11" doxytag="zero"></a><em>zero</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s65s12" doxytag="srcalpha"></a><em>srcalpha</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s65s13" doxytag="invsrcalpha"></a><em>invsrcalpha</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s65s14" doxytag="srccolor"></a><em>srccolor</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s65s15" doxytag="invsrccolor"></a><em>invsrccolor</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s65s16" doxytag="blendConstantColor"></a><em>blendConstantColor</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s65s17" doxytag="blendConstantInvColor"></a><em>blendConstantInvColor</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s65s18" doxytag="blendConstantAlpha"></a><em>blendConstantAlpha</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s65s19" doxytag="blendConstantInvAlpha"></a><em>blendConstantInvAlpha</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s65s20" doxytag="blendCount"></a><em>blendCount</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00125">125</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8h-source.html#l00268">getDstBlend</a>, and <a class="el" href="material_8h-source.html#l00267">getSrcBlend</a>. </td>
+ </tr>
+</table>
+<a name="s66" doxytag="NL3D::CMaterial::TShader"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum NL3D::CMaterial::TShader
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Normal shader: use simple multitexturing.
+<p>
+<ul>
+<li>see texEnv*() methods. Bump:<ul>
+<li>not implemented yet. UserColor:<li>UserColor (see <a class="el" href="classNL3D_1_1CMaterial.html#z549_0">setUserColor</a>()) is blended with precomputed texture/textureAlpha.<li>Alpha Blending ignore Alpha of texture (of course :) ), but use Alpha diffuse (vertex/material color). LightMap:<li>Texture of stage 0 is blended with sum of lightmaps (see setLightmap()). Vertex Color (or color, or lighting) doesn't affect the final result (neither diffuse part nor specular part). Blending is special. If enabled, Lightmap shader apply a standard transparency srcalpha/invsrcalpha.<li>NB: if no texture in stage 0, undefined result.<li>UV0 is the UV for decal Texture. UV1 is the UVs for all the lightmaps. Specular:</ul>
+<li>Texture of stage 0 is added to the multiplication of Texture Alpha of stage 0 and Texture of stage 1<ul>
+<li>This is done in 2 passes PerPixelLighting :<li>When not supported by the driver, this is equivalent to the normal shader. This can be querried from the driver<li>When supported by the driver, the strongest light is rendered using per pixel lighting. The last tex coordinate must be the S vector of the tangent space basis (oriented in the direction where the s texture coords grows). Other lights are rendered using gouraud shaing. The light setup is done in the driver. PerPixelLighting : The same as PerPixelLighting but with no specular Caustics: NOT IMPLEMENTED Cloud :</ul>
+<li>Alpha of texture in stage 0 is blended with alpha of texture in stage 1. Blend done with the alpha color of each stage and the whole is multiplied by the alpha in color vertex [AT0*ADiffuseCol+AT1*(1-ADiffuseCol)]*AStage<ul>
+<li>RGB still unchanged </ul>
+</ul>
+<dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="s66s21" doxytag="Normal"></a><em>Normal</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s66s22" doxytag="Bump"></a><em>Bump</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s66s23" doxytag="UserColor"></a><em>UserColor</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s66s24" doxytag="LightMap"></a><em>LightMap</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s66s25" doxytag="Specular"></a><em>Specular</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s66s26" doxytag="Caustics"></a><em>Caustics</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s66s27" doxytag="PerPixelLighting"></a><em>PerPixelLighting</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s66s28" doxytag="PerPixelLightingNoSpec"></a><em>PerPixelLightingNoSpec</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s66s29" doxytag="Cloud"></a><em>Cloud</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s66s30" doxytag="shaderCount"></a><em>shaderCount</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00157">157</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8h-source.html#l00242">getShader</a>. </td>
+ </tr>
+</table>
+<a name="z539_0" doxytag="NL3D::CMaterial::TTexAddressingMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum NL3D::CMaterial::TTexAddressingMode
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="z539_0s48" doxytag="TextureOff"></a><em>TextureOff</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s49" doxytag="FetchTexture"></a><em>FetchTexture</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s50" doxytag="PassThrough"></a><em>PassThrough</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s51" doxytag="CullFragment"></a><em>CullFragment</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s52" doxytag="OffsetTexture"></a><em>OffsetTexture</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s53" doxytag="OffsetTextureScale"></a><em>OffsetTextureScale</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s54" doxytag="DependentARTexture"></a><em>DependentARTexture</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s55" doxytag="DependentGBTexture"></a><em>DependentGBTexture</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s56" doxytag="DP3"></a><em>DP3</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s57" doxytag="DP3Texture2D"></a><em>DP3Texture2D</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s58" doxytag="DP3CubeMap"></a><em>DP3CubeMap</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s59" doxytag="DP3ReflectCubeMap"></a><em>DP3ReflectCubeMap</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s60" doxytag="DP3ConstEyeReflectCubeMap"></a><em>DP3ConstEyeReflectCubeMap</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s61" doxytag="DP3DiffuseCubeMap"></a><em>DP3DiffuseCubeMap</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s62" doxytag="DP3DepthReplace"></a><em>DP3DepthReplace</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z539_0s63" doxytag="TexAddrCount"></a><em>TexAddrCount</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00208">208</a> of file <a class="el" href="material_8h-source.html">material.h</a>. </td>
+ </tr>
+</table>
+<a name="z538_2" doxytag="NL3D::CMaterial::TTexOperand"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum NL3D::CMaterial::TTexOperand
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Operand for the argument.
+<p>
+For Alpha arguments, only SrcAlpha and InvSrcAlpha are Valid!! <br>
+ SrcColor: arg= ColorSource. InvSrcColor: arg= 1-ColorSource. SrcAlpha: arg= AlphaSource. InvSrcAlpha: arg= 1-AlphaSource. <dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="z538_2s44" doxytag="SrcColor"></a><em>SrcColor</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_2s45" doxytag="InvSrcColor"></a><em>InvSrcColor</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_2s46" doxytag="SrcAlpha"></a><em>SrcAlpha</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_2s47" doxytag="InvSrcAlpha"></a><em>InvSrcAlpha</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00199">199</a> of file <a class="el" href="material_8h-source.html">material.h</a>. </td>
+ </tr>
+</table>
+<a name="z538_0" doxytag="NL3D::CMaterial::TTexOperator"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum NL3D::CMaterial::TTexOperator
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Environements operators: Replace: out= arg0 Modulate: out= arg0 * arg1 Add: out= arg0 + arg1 AddSigned: out= arg0 + arg1 -0.5 Interpolate*: out= arg0*As + arg1*(1-As), where As is taken from the SrcAlpha of Texture/Previous/Diffuse/Constant, respectively if operator is InterpolateTexture/InterpolatePrevious/InterpolateDiffuse/InterpolateConstant.
+<p>
+EMBM : apply to both color and alpha : the current texture, whose format is DSDT, is used to offset the texture in the next stage. NB : for EMBM and InterpolateConstant, this must be supported by driver. <dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="z538_0s31" doxytag="Replace"></a><em>Replace</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_0s32" doxytag="Modulate"></a><em>Modulate</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_0s33" doxytag="Add"></a><em>Add</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_0s34" doxytag="AddSigned"></a><em>AddSigned</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_0s35" doxytag="InterpolateTexture"></a><em>InterpolateTexture</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_0s36" doxytag="InterpolatePrevious"></a><em>InterpolatePrevious</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_0s37" doxytag="InterpolateDiffuse"></a><em>InterpolateDiffuse</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_0s38" doxytag="InterpolateConstant"></a><em>InterpolateConstant</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_0s39" doxytag="EMBM"></a><em>EMBM</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00181">181</a> of file <a class="el" href="material_8h-source.html">material.h</a>. </td>
+ </tr>
+</table>
+<a name="z538_1" doxytag="NL3D::CMaterial::TTexSource"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum NL3D::CMaterial::TTexSource
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Source argument.
+<p>
+Texture: the arg is taken from the current texture of the stage. Previous: the arg is taken from the previous enabled stage. If stage 0, Previous==Diffuse. Diffuse: the arg is taken from the primary color vertex. Constant: the arg is taken from the constant color setuped for this texture stage. <dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="z538_1s40" doxytag="Texture"></a><em>Texture</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_1s41" doxytag="Previous"></a><em>Previous</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_1s42" doxytag="Diffuse"></a><em>Diffuse</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z538_1s43" doxytag="Constant"></a><em>Constant</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00190">190</a> of file <a class="el" href="material_8h-source.html">material.h</a>. </td>
+ </tr>
+</table>
+<a name="s64" doxytag="NL3D::CMaterial::ZFunc"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum NL3D::CMaterial::ZFunc
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="s64s1" doxytag="always"></a><em>always</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s64s2" doxytag="never"></a><em>never</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s64s3" doxytag="equal"></a><em>equal</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s64s4" doxytag="notequal"></a><em>notequal</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s64s5" doxytag="less"></a><em>less</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s64s6" doxytag="lessequal"></a><em>lessequal</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s64s7" doxytag="greater"></a><em>greater</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s64s8" doxytag="greaterequal"></a><em>greaterequal</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s64s9" doxytag="zfuncCount"></a><em>zfuncCount</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00119">119</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8h-source.html#l00322">getZFunc</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="z540_0" doxytag="NL3D::CMaterial::CMaterial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CMaterial::CMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ctor.
+<p>
+By default, shader is normal, SrcBlend is srcalpha, dstblend is invsrcalpha, ZFunction is lessequal, ZBias is 0, Color is White: (255,255,255,255), not double sided.
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00041">41</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00555">_AlphaTestThreshold</a>, <a class="el" href="material_8h-source.html#l00552">_Color</a>, <a class="el" href="material_8h-source.html#l00549">_DstBlend</a>, <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00549">_SrcBlend</a>, <a class="el" href="material_8h-source.html#l00557">_StainedGlassWindow</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00551">_ZBias</a>, <a class="el" href="material_8h-source.html#l00550">_ZFunction</a>, <a class="el" href="material_8h-source.html#l00072">NL3D::IDRV_MAT_ZWRITE</a>, <a class="el" href="classNL3D_1_1CMaterial.html#s65s13">invsrcalpha</a>, <a class="el" href="classNL3D_1_1CMaterial.html#s64s6">lessequal</a>, <a class="el" href="classNL3D_1_1CMaterial.html#s66s21">Normal</a>, and <a class="el" href="classNL3D_1_1CMaterial.html#s65s12">srcalpha</a>.
+<p>
+Referenced by <a class="el" href="material_8h-source.html#l00230">CMaterial</a>. </td>
+ </tr>
+</table>
+<a name="z540_1" doxytag="NL3D::CMaterial::CMaterial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CMaterial::CMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CMaterial &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>mat</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+see operator=.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00230">230</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8cpp-source.html#l00041">CMaterial</a>, and <a class="el" href="material_8cpp-source.html#l00081">operator=</a>. </td>
+ </tr>
+</table>
+<a name="z540_2" doxytag="NL3D::CMaterial::~CMaterial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CMaterial::~CMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+dtor.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00128">128</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00569">pShader</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a8" doxytag="NL3D::CMaterial::clearTouched"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::clearTouched </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>flag</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00589">589</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00556">_Touched</a>. </td>
+ </tr>
+</table>
+<a name="z548_16" doxytag="NL3D::CMaterial::decompUserTexMat"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::decompUserTexMat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>uTrans</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>vTrans</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>wRot</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>uScale</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>vScale</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Decompose a user texture matrix, We assume that this is only a matrix for 2d texture.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00461">461</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00562">_TexUserMat</a>, <a class="el" href="matrix_8cpp-source.html#l00419">NLMISC::CMatrix::getI</a>, <a class="el" href="matrix_8cpp-source.html#l00427">NLMISC::CMatrix::getJ</a>, <a class="el" href="matrix_8h-source.html#l00188">NLMISC::CMatrix::getPos</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="driver__material__inline_8h-source.html#l00362">isUserTexMatEnabled</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="vector__inline_8h-source.html#l00115">NLMISC::CVector::norm</a>, <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::x</a>, and <a class="el" href="vector_8h-source.html#l00051">NLMISC::CVector::y</a>. </td>
+ </tr>
+</table>
+<a name="z543_0" doxytag="NL3D::CMaterial::enableTexAddrMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::enableTexAddrMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>enable</em> = true </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+enable / disable the use of special texture addressing modes When enabled, all texture addressing modes are set to 'None'.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00417">417</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00567">_TexAddrMode</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z539_0s49">FetchTexture</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="material_8h-source.html#l00080">NL3D::IDRV_MAT_TEX_ADDR</a>. </td>
+ </tr>
+</table>
+<a name="z548_12" doxytag="NL3D::CMaterial::enableUserTexMat"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::enableUserTexMat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>enabled</em> = true</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00337">337</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00562">_TexUserMat</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="material_8h-source.html#l00092">NL3D::IDRV_MAT_USER_TEX_0_MAT</a>, <a class="el" href="material_8h-source.html#l00100">NL3D::IDRV_MAT_USER_TEX_MAT_ALL</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NL3D::CMaterial::flushTextures"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::flushTextures </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>driver</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Flush textures. Force texture generation.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00330">330</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00584">_LightMaps</a>, <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00563">_Textures</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="classNL3D_1_1CMaterial.html#s66s24">LightMap</a>, and <a class="el" href="classNL3D_1_1CMaterial.html#z538_1s40">Texture</a>. </td>
+ </tr>
+</table>
+<a name="z545_1" doxytag="NL3D::CMaterial::getAlphaTest"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::getAlphaTest </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00302">302</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, and <a class="el" href="material_8h-source.html#l00079">NL3D::IDRV_MAT_ALPHA_TEST</a>. </td>
+ </tr>
+</table>
+<a name="z545_3" doxytag="NL3D::CMaterial::getAlphaTestThreshold"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CMaterial::getAlphaTestThreshold </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00308">308</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00555">_AlphaTestThreshold</a>. </td>
+ </tr>
+</table>
+<a name="z547_14" doxytag="NL3D::CMaterial::getAmbient"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::getAmbient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00366">366</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00553">_Ambient</a>. </td>
+ </tr>
+</table>
+<a name="z542_4" doxytag="NL3D::CMaterial::getBlend"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::getBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00266">266</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, and <a class="el" href="material_8h-source.html#l00077">NL3D::IDRV_MAT_BLEND</a>. </td>
+ </tr>
+</table>
+<a name="z547_12" doxytag="NL3D::CMaterial::getColor"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::getColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00364">364</a> of file <a class="el" href="material_8h-source.html">material.h</a>. </td>
+ </tr>
+</table>
+<a name="z547_15" doxytag="NL3D::CMaterial::getDiffuse"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::getDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return diffuse part. NB: A==opacity.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00368">368</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00553">_Diffuse</a>. </td>
+ </tr>
+</table>
+<a name="z544_1" doxytag="NL3D::CMaterial::getDoubleSided"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::getDoubleSided </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00296">296</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, and <a class="el" href="material_8h-source.html#l00078">NL3D::IDRV_MAT_DOUBLE_SIDED</a>. </td>
+ </tr>
+</table>
+<a name="z542_6" doxytag="NL3D::CMaterial::getDstBlend"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a> NL3D::CMaterial::getDstBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00268">268</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00125">TBlend</a>. </td>
+ </tr>
+</table>
+<a name="z547_13" doxytag="NL3D::CMaterial::getEmissive"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::getEmissive </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00365">365</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00553">_Emissive</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NL3D::CMaterial::getFlags"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::CMaterial::getFlags </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00587">587</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>. </td>
+ </tr>
+</table>
+<a name="z547_9" doxytag="NL3D::CMaterial::getLightedVertexColor"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::getLightedVertexColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the lighted vertex color flag.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00201">201</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, and <a class="el" href="material_8h-source.html#l00081">NL3D::IDRV_MAT_LIGHTED_VERTEX_COLOR</a>. </td>
+ </tr>
+</table>
+<a name="z550_1" doxytag="NL3D::CMaterial::getLightMap"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * NL3D::CMaterial::getLightMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>lmapId</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the ith lightmap. (NULl if none).
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00373">373</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00584">_LightMaps</a>, <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z547_16" doxytag="NL3D::CMaterial::getOpacity"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a7">uint8</a> NL3D::CMaterial::getOpacity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00369">369</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00553">_Diffuse</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NL3D::CMaterial::getShader"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html#s66">TShader</a> NL3D::CMaterial::getShader </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the current material shadertype.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00242">242</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, and <a class="el" href="material_8h-source.html#l00157">TShader</a>. </td>
+ </tr>
+</table>
+<a name="z547_18" doxytag="NL3D::CMaterial::getShininess"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CMaterial::getShininess </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00371">371</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00554">_Shininess</a>. </td>
+ </tr>
+</table>
+<a name="z547_17" doxytag="NL3D::CMaterial::getSpecular"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::getSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00370">370</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00553">_Specular</a>. </td>
+ </tr>
+</table>
+<a name="z542_5" doxytag="NL3D::CMaterial::getSrcBlend"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a> NL3D::CMaterial::getSrcBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00267">267</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00125">TBlend</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NL3D::CMaterial::getStainedGlassWindow"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::getStainedGlassWindow </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00459">459</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00557">_StainedGlassWindow</a>. </td>
+ </tr>
+</table>
+<a name="z543_3" doxytag="NL3D::CMaterial::getTexAddressingMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html#z539_0">CMaterial::TTexAddressingMode</a> NL3D::CMaterial::getTexAddressingMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>stage</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the texture addressing mode for the given stage.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00453">453</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00567">_TexAddrMode</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="material_8h-source.html#l00080">NL3D::IDRV_MAT_TEX_ADDR</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z548_9" doxytag="NL3D::CMaterial::getTexConstantColor"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::getTexConstantColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>stage</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00291">291</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="material_8h-source.html#l00499">NL3D::CMaterial::CTexEnv::ConstantColor</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z548_11" doxytag="NL3D::CMaterial::getTexCoordGen"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::getTexCoordGen </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>stage</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00298">298</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00083">NL3D::IDRV_MAT_GEN_TEX_0</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z548_7" doxytag="NL3D::CMaterial::getTexEnvMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::CMaterial::getTexEnvMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>stage</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+For push/pop only, get the packed version of the environnment mode.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00277">277</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="material_8h-source.html#l00483">NL3D::CMaterial::CTexEnv::EnvPacked</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z541_1" doxytag="NL3D::CMaterial::getTexture"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * NL3D::CMaterial::getTexture </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>stage</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00046">46</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00563">_Textures</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NL3D::CMaterial::getTouched"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::CMaterial::getTouched </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00588">588</a> of file <a class="el" href="material_8h-source.html">material.h</a>. </td>
+ </tr>
+</table>
+<a name="z549_1" doxytag="NL3D::CMaterial::getUserColor"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::getUserColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00329">329</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="material_8h-source.html#l00499">NL3D::CMaterial::CTexEnv::ConstantColor</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z548_15" doxytag="NL3D::CMaterial::getUserTexMat"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &amp; NL3D::CMaterial::getUserTexMat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>stage</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get a const ref.
+<p>
+on the texture matrix of the n-th stage. User texture matrix must be enabled for that stage, otherwise an assertion is raised.
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00377">377</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00562">_TexUserMat</a>, <a class="el" href="driver__material__inline_8h-source.html#l00362">isUserTexMatEnabled</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z546_5" doxytag="NL3D::CMaterial::getZBias"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CMaterial::getZBias </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00324">324</a> of file <a class="el" href="material_8h-source.html">material.h</a>. </td>
+ </tr>
+</table>
+<a name="z546_3" doxytag="NL3D::CMaterial::getZFunc"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html#s64">ZFunc</a> NL3D::CMaterial::getZFunc </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00322">322</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00119">ZFunc</a>. </td>
+ </tr>
+</table>
+<a name="z546_4" doxytag="NL3D::CMaterial::getZWrite"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::getZWrite </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00323">323</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, and <a class="el" href="material_8h-source.html#l00072">NL3D::IDRV_MAT_ZWRITE</a>. </td>
+ </tr>
+</table>
+<a name="z551_1" doxytag="NL3D::CMaterial::initLighted"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::initLighted </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Init the material as default white lighted material.
+<p>
+normal shader, lighting .... Default to: normal shader, full black lighting, no texture, ZBias=0, ZFunc= lessequal, ZWrite==true, no blend. All other states are undefined (such as blend function, since blend is disabled).
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00073">73</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8cpp-source.html#l00057">initUnlit</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00127">setLighting</a>. </td>
+ </tr>
+</table>
+<a name="z551_0" doxytag="NL3D::CMaterial::initUnlit"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::initUnlit </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Init the material as unlit.
+<p>
+normal shader, no lighting .... Default to: normal shader, no lighting, color to White(1,1,1,1), no texture, ZBias=0, ZFunc= lessequal, ZWrite==true, no blend. All other states are undefined (such as blend function, since blend is disabled).
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00057">57</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="classNL3D_1_1CMaterial.html#s64s6">lessequal</a>, <a class="el" href="classNL3D_1_1CMaterial.html#s66s21">Normal</a>, <a class="el" href="driver__material__inline_8h-source.html#l00085">setAlphaTestThreshold</a>, <a class="el" href="driver__material__inline_8h-source.html#l00064">setBlend</a>, <a class="el" href="driver__material__inline_8h-source.html#l00118">setColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00127">setLighting</a>, <a class="el" href="material_8cpp-source.html#l00257">setShader</a>, <a class="el" href="material_8cpp-source.html#l00297">setTexture</a>, <a class="el" href="driver__material__inline_8h-source.html#l00112">setZBias</a>, <a class="el" href="driver__material__inline_8h-source.html#l00099">setZFunc</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00105">setZWrite</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, <a class="el" href="noise__3d_8cpp-source.html#l00053">NL3D::CNoise3d::init</a>, <a class="el" href="material_8cpp-source.html#l00073">initLighted</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, and <a class="el" href="cloud__scape_8cpp-source.html#l00126">NL3D::SCloudTextureClamp::SCloudTextureClamp</a>. </td>
+ </tr>
+</table>
+<a name="z547_10" doxytag="NL3D::CMaterial::isLighted"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::isLighted </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00359">359</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, and <a class="el" href="material_8h-source.html#l00074">NL3D::IDRV_MAT_LIGHTING</a>. </td>
+ </tr>
+</table>
+<a name="z547_11" doxytag="NL3D::CMaterial::isLightedVertexColor"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::isLightedVertexColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return true if this material uses color material as diffuse when lighted, else return false if it uses color vertex.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00362">362</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, and <a class="el" href="material_8h-source.html#l00081">NL3D::IDRV_MAT_LIGHTED_VERTEX_COLOR</a>. </td>
+ </tr>
+</table>
+<a name="z548_13" doxytag="NL3D::CMaterial::isUserTexMatEnabled"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::isUserTexMatEnabled </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>stage</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00362">362</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="material_8h-source.html#l00092">NL3D::IDRV_MAT_USER_TEX_0_MAT</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00461">decompUserTexMat</a>, <a class="el" href="driver__material__inline_8h-source.html#l00377">getUserTexMat</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00369">setUserTexMat</a>. </td>
+ </tr>
+</table>
+<a name="z540_3" doxytag="NL3D::CMaterial::operator="></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CMaterial &amp; NL3D::CMaterial::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CMaterial &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>mat</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Do not copy DrvInfos, copy all infos and set IDRV_TOUCHED_ALL.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00081">81</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00555">_AlphaTestThreshold</a>, <a class="el" href="material_8h-source.html#l00553">_Ambient</a>, <a class="el" href="material_8h-source.html#l00552">_Color</a>, <a class="el" href="material_8h-source.html#l00553">_Diffuse</a>, <a class="el" href="material_8h-source.html#l00549">_DstBlend</a>, <a class="el" href="material_8h-source.html#l00553">_Emissive</a>, <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00584">_LightMaps</a>, <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00554">_Shininess</a>, <a class="el" href="material_8h-source.html#l00553">_Specular</a>, <a class="el" href="material_8h-source.html#l00549">_SrcBlend</a>, <a class="el" href="material_8h-source.html#l00567">_TexAddrMode</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="material_8h-source.html#l00563">_Textures</a>, <a class="el" href="material_8h-source.html#l00562">_TexUserMat</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00551">_ZBias</a>, <a class="el" href="material_8h-source.html#l00550">_ZFunction</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="material_8h-source.html#l00067">NL3D::IDRV_TOUCHED_ALL</a>.
+<p>
+Referenced by <a class="el" href="material_8h-source.html#l00230">CMaterial</a>. </td>
+ </tr>
+</table>
+<a name="z552_0" doxytag="NL3D::CMaterial::selectTextureSet"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::selectTextureSet </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>index</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Select one texture set for all the textures of this material.
+<p>
+This is useful only if textures of this material support selection of course (such as <a class="el" href="classNL3D_1_1CTextureMultiFile.html">CTextureMultiFile</a>)
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00486">486</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00563">_Textures</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00222">index</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NL3D::CMaterial::serial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>f</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00136">136</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00555">_AlphaTestThreshold</a>, <a class="el" href="material_8h-source.html#l00553">_Ambient</a>, <a class="el" href="material_8h-source.html#l00552">_Color</a>, <a class="el" href="material_8h-source.html#l00553">_Diffuse</a>, <a class="el" href="material_8h-source.html#l00549">_DstBlend</a>, <a class="el" href="material_8h-source.html#l00553">_Emissive</a>, <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00584">_LightMaps</a>, <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00554">_Shininess</a>, <a class="el" href="material_8h-source.html#l00553">_Specular</a>, <a class="el" href="material_8h-source.html#l00549">_SrcBlend</a>, <a class="el" href="material_8h-source.html#l00567">_TexAddrMode</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="material_8h-source.html#l00563">_Textures</a>, <a class="el" href="material_8h-source.html#l00562">_TexUserMat</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00551">_ZBias</a>, <a class="el" href="material_8h-source.html#l00550">_ZFunction</a>, <a class="el" href="material_8h-source.html#l00076">NL3D::IDRV_MAT_DEFMAT</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="material_8h-source.html#l00080">NL3D::IDRV_MAT_TEX_ADDR</a>, <a class="el" href="material_8h-source.html#l00100">NL3D::IDRV_MAT_USER_TEX_MAT_ALL</a>, <a class="el" href="material_8h-source.html#l00067">NL3D::IDRV_TOUCHED_ALL</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, <a class="el" href="driver__material__inline_8h-source.html#l00362">isUserTexMatEnabled</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="stream_8h-source.html#l00222">NLMISC::IStream::serial</a>, <a class="el" href="stream_8h-source.html#l00312">NLMISC::IStream::serialCont</a>, <a class="el" href="stream_8h-source.html#l00251">NLMISC::IStream::serialEnum</a>, <a class="el" href="stream_8h-source.html#l00460">NLMISC::IStream::serialPolyPtr</a>, <a class="el" href="stream_8cpp-source.html#l00253">NLMISC::IStream::serialVersion</a>, <a class="el" href="driver__material__inline_8h-source.html#l00158">setAmbient</a>, <a class="el" href="material_8h-source.html#l00501">NL3D::CMaterial::CTexEnv::setDefault</a>, <a class="el" href="driver__material__inline_8h-source.html#l00164">setDiffuse</a>, <a class="el" href="driver__material__inline_8h-source.html#l00152">setEmissive</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00179">setSpecular</a>. </td>
+ </tr>
+</table>
+<a name="z545_0" doxytag="NL3D::CMaterial::setAlphaTest"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setAlphaTest </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>active</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00078">78</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00079">NL3D::IDRV_MAT_ALPHA_TEST</a>, and <a class="el" href="material_8h-source.html#l00060">NL3D::IDRV_TOUCHED_ALPHA_TEST</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>. </td>
+ </tr>
+</table>
+<a name="z545_2" doxytag="NL3D::CMaterial::setAlphaTestThreshold"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setAlphaTestThreshold </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>thre</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+change the threshold against alpha is tested.
+<p>
+Default is 0.5f. <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>thre</em>&nbsp;</td><td>
+threshold, should be in [0..1], not clamped. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00085">85</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00555">_AlphaTestThreshold</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, and <a class="el" href="material_8h-source.html#l00061">NL3D::IDRV_TOUCHED_ALPHA_TEST_THRE</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, and <a class="el" href="material_8cpp-source.html#l00057">initUnlit</a>. </td>
+ </tr>
+</table>
+<a name="z547_3" doxytag="NL3D::CMaterial::setAmbient"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setAmbient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>ambient</em> = CRGBA(0, 0, 0) </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the Ambient part ot material. Usefull only if setLighting(true) has been done.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00158">158</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00553">_Ambient</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, and <a class="el" href="material_8h-source.html#l00055">NL3D::IDRV_TOUCHED_LIGHTING</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00136">serial</a>. </td>
+ </tr>
+</table>
+<a name="z542_0" doxytag="NL3D::CMaterial::setBlend"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>active</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00064">64</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00077">NL3D::IDRV_MAT_BLEND</a>, and <a class="el" href="material_8h-source.html#l00050">NL3D::IDRV_TOUCHED_BLEND</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, <a class="el" href="noise__3d_8cpp-source.html#l00053">NL3D::CNoise3d::init</a>, <a class="el" href="material_8cpp-source.html#l00057">initUnlit</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, and <a class="el" href="cloud__scape_8cpp-source.html#l00126">NL3D::SCloudTextureClamp::SCloudTextureClamp</a>. </td>
+ </tr>
+</table>
+<a name="z542_1" doxytag="NL3D::CMaterial::setBlendFunc"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setBlendFunc </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>dst</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00091">91</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00549">_DstBlend</a>, <a class="el" href="material_8h-source.html#l00549">_SrcBlend</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00049">NL3D::IDRV_TOUCHED_BLENDFUNC</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, <a class="el" href="noise__3d_8cpp-source.html#l00053">NL3D::CNoise3d::init</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, and <a class="el" href="cloud__scape_8cpp-source.html#l00126">NL3D::SCloudTextureClamp::SCloudTextureClamp</a>. </td>
+ </tr>
+</table>
+<a name="z547_0" doxytag="NL3D::CMaterial::setColor"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>rgba</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The Color is used only if lighting is disabled. Also, color is replaced by per vertex color (if any).
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00118">118</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00552">_Color</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, and <a class="el" href="material_8h-source.html#l00054">NL3D::IDRV_TOUCHED_COLOR</a>.
+<p>
+Referenced by <a class="el" href="noise__3d_8cpp-source.html#l00416">NL3D::CNoise3d::flush</a>, <a class="el" href="noise__3d_8cpp-source.html#l00053">NL3D::CNoise3d::init</a>, <a class="el" href="material_8cpp-source.html#l00057">initUnlit</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, and <a class="el" href="cloud__scape_8cpp-source.html#l00126">NL3D::SCloudTextureClamp::SCloudTextureClamp</a>. </td>
+ </tr>
+</table>
+<a name="z547_4" doxytag="NL3D::CMaterial::setDiffuse"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>diffuse</em> = CRGBA(0, 0, 0) </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the Diffuse part ot material. Usefull only if setLighting(true) has been done. NB: opacity is NOT copied from diffuse.A.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00164">164</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00553">_Diffuse</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, and <a class="el" href="material_8h-source.html#l00055">NL3D::IDRV_TOUCHED_LIGHTING</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00136">serial</a>. </td>
+ </tr>
+</table>
+<a name="z544_0" doxytag="NL3D::CMaterial::setDoubleSided"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setDoubleSided </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>active</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00071">71</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00078">NL3D::IDRV_MAT_DOUBLE_SIDED</a>, and <a class="el" href="material_8h-source.html#l00058">NL3D::IDRV_TOUCHED_DOUBLE_SIDED</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, and <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>. </td>
+ </tr>
+</table>
+<a name="z542_3" doxytag="NL3D::CMaterial::setDstBlend"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setDstBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>val</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00058">58</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00549">_DstBlend</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, and <a class="el" href="material_8h-source.html#l00049">NL3D::IDRV_TOUCHED_BLENDFUNC</a>. </td>
+ </tr>
+</table>
+<a name="z547_2" doxytag="NL3D::CMaterial::setEmissive"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setEmissive </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>emissive</em> = CRGBA(0, 0, 0) </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the emissive part ot material. Usefull only if setLighting(true) has been done.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00152">152</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00553">_Emissive</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, and <a class="el" href="material_8h-source.html#l00055">NL3D::IDRV_TOUCHED_LIGHTING</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00136">serial</a>. </td>
+ </tr>
+</table>
+<a name="z547_8" doxytag="NL3D::CMaterial::setLightedVertexColor"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setLightedVertexColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>useLightedVertexColor</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the color material flag. Used when the material is lighted. True to use the diffuse color of the material when lighted, false to use the color vertex.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00191">191</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00081">NL3D::IDRV_MAT_LIGHTED_VERTEX_COLOR</a>, and <a class="el" href="material_8h-source.html#l00055">NL3D::IDRV_TOUCHED_LIGHTING</a>. </td>
+ </tr>
+</table>
+<a name="z547_1" doxytag="NL3D::CMaterial::setLighting"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setLighting </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>active</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>emissive</em> = CRGBA(0, 0, 0), </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>ambient</em> = CRGBA(0, 0, 0), </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>diffuse</em> = CRGBA(0, 0, 0), </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>specular</em> = CRGBA(0, 0, 0), </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>shininess</em> = 10</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Batch setup lighting. Opacity is in diffuse.A.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00127">127</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00553">_Ambient</a>, <a class="el" href="material_8h-source.html#l00553">_Diffuse</a>, <a class="el" href="material_8h-source.html#l00553">_Emissive</a>, <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00554">_Shininess</a>, <a class="el" href="material_8h-source.html#l00553">_Specular</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00074">NL3D::IDRV_MAT_LIGHTING</a>, and <a class="el" href="material_8h-source.html#l00055">NL3D::IDRV_TOUCHED_LIGHTING</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00073">initLighted</a>, and <a class="el" href="material_8cpp-source.html#l00057">initUnlit</a>. </td>
+ </tr>
+</table>
+<a name="z550_0" doxytag="NL3D::CMaterial::setLightMap"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setLightMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>lmapId</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>lmap</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the ith lightmap. undef results if holes in lightmap array.
+<p>
+<dl compact><dt><b>
+See also: </b><dd>
+<a class="el" href="classNL3D_1_1CMaterial.html#s66">TShader</a>. </dl>
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00362">362</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00584">_LightMaps</a>, <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00059">NL3D::IDRV_TOUCHED_LIGHTMAP</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z550_2" doxytag="NL3D::CMaterial::setLightMapFactor"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setLightMapFactor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>lmapId</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>factor</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the lightmap intensity. (default to 255).
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00383">383</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00584">_LightMaps</a>, <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, and <a class="el" href="material_8h-source.html#l00059">NL3D::IDRV_TOUCHED_LIGHTMAP</a>. </td>
+ </tr>
+</table>
+<a name="z547_5" doxytag="NL3D::CMaterial::setOpacity"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setOpacity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>opa</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the Opacity part ot material. Usefull only if setLighting(true) has been done.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00173">173</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00553">_Diffuse</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, and <a class="el" href="material_8h-source.html#l00055">NL3D::IDRV_TOUCHED_LIGHTING</a>. </td>
+ </tr>
+</table>
+<a name="a0" doxytag="NL3D::CMaterial::setShader"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setShader </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMaterial.html#s66">TShader</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>val</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the shader for this material.
+<p>
+All textures are reseted!!
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00257">257</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_1s43">Constant</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_1s42">Diffuse</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="material_8h-source.html#l00051">NL3D::IDRV_TOUCHED_SHADER</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_0s35">InterpolateTexture</a>, <a class="el" href="classNL3D_1_1CMaterial.html#s66s24">LightMap</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_0s32">Modulate</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_1s41">Previous</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_0s31">Replace</a>, <a class="el" href="material_8cpp-source.html#l00297">setTexture</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_2s46">SrcAlpha</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_2s44">SrcColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00247">texEnvArg0Alpha</a>, <a class="el" href="driver__material__inline_8h-source.html#l00221">texEnvArg0RGB</a>, <a class="el" href="driver__material__inline_8h-source.html#l00229">texEnvArg1RGB</a>, <a class="el" href="driver__material__inline_8h-source.html#l00240">texEnvOpAlpha</a>, <a class="el" href="driver__material__inline_8h-source.html#l00214">texEnvOpRGB</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_1s40">Texture</a>, and <a class="el" href="classNL3D_1_1CMaterial.html#s66s23">UserColor</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, <a class="el" href="noise__3d_8cpp-source.html#l00053">NL3D::CNoise3d::init</a>, <a class="el" href="material_8cpp-source.html#l00057">initUnlit</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, and <a class="el" href="cloud__scape_8cpp-source.html#l00126">NL3D::SCloudTextureClamp::SCloudTextureClamp</a>. </td>
+ </tr>
+</table>
+<a name="z547_7" doxytag="NL3D::CMaterial::setShininess"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setShininess </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>shininess</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the shininess part ot material. Usefull only if setLighting(true) has been done.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00185">185</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00554">_Shininess</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, and <a class="el" href="material_8h-source.html#l00055">NL3D::IDRV_TOUCHED_LIGHTING</a>. </td>
+ </tr>
+</table>
+<a name="z547_6" doxytag="NL3D::CMaterial::setSpecular"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>specular</em> = CRGBA(0, 0, 0) </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the specular part ot material. Usefull only if setLighting(true) has been done.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00179">179</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00553">_Specular</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, and <a class="el" href="material_8h-source.html#l00055">NL3D::IDRV_TOUCHED_LIGHTING</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00136">serial</a>. </td>
+ </tr>
+</table>
+<a name="z542_2" doxytag="NL3D::CMaterial::setSrcBlend"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setSrcBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>val</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00052">52</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00549">_SrcBlend</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, and <a class="el" href="material_8h-source.html#l00049">NL3D::IDRV_TOUCHED_BLENDFUNC</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::CMaterial::setStainedGlassWindow"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setStainedGlassWindow </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>val</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00460">460</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00557">_StainedGlassWindow</a>. </td>
+ </tr>
+</table>
+<a name="z543_2" doxytag="NL3D::CMaterial::setTexAddressingMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setTexAddressingMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#z539_0">TTexAddressingMode</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>mode</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set a texture addressing mode for the given stage.
+<p>
+You should test if this mode is supported in the driver you plane to use. Texture addressing modes should have been enabled otherwise an assertion is raised
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00443">443</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00567">_TexAddrMode</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="material_8h-source.html#l00080">NL3D::IDRV_MAT_TEX_ADDR</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="classNL3D_1_1CMaterial.html#z539_0s63">TexAddrCount</a>. </td>
+ </tr>
+</table>
+<a name="z548_10" doxytag="NL3D::CMaterial::setTexCoordGen"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setTexCoordGen </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>generate</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00304">304</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00083">NL3D::IDRV_MAT_GEN_TEX_0</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z548_8" doxytag="NL3D::CMaterial::setTexEnvMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setTexEnvMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>packed</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+For push/pop only, set the packed version of the environnment mode.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00284">284</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="material_8h-source.html#l00483">NL3D::CMaterial::CTexEnv::EnvPacked</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z541_0" doxytag="NL3D::CMaterial::setTexture"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setTexture </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>ptex</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+set a texture for a special stage.
+<p>
+Different usage according to shader:<ul>
+<li>Normal shader do multitexturing (see texEnv*() methods).<li>UserColor assert if stage!=0. (NB: internal only: UserColor setup texture to stage 0 and 1).<li>LightMap assert if stage!=0. </ul>
+
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00297">297</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00563">_Textures</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="material_8h-source.html#l00065">NL3D::IDRV_TOUCHED_TEX</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>.
+<p>
+Referenced by <a class="el" href="noise__3d_8cpp-source.html#l00053">NL3D::CNoise3d::init</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00143">NL3D::SCloudTextureClamp::init</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00091">NL3D::SCloudTexture3D::init</a>, <a class="el" href="material_8cpp-source.html#l00057">initUnlit</a>, and <a class="el" href="material_8cpp-source.html#l00257">setShader</a>. </td>
+ </tr>
+</table>
+<a name="z549_0" doxytag="NL3D::CMaterial::setUserColor"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setUserColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>userColor</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<dl compact><dt><b>
+See also: </b><dd>
+<a class="el" href="classNL3D_1_1CMaterial.html#s66">TShader</a>. </dl>
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00321">321</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="material_8h-source.html#l00499">NL3D::CMaterial::CTexEnv::ConstantColor</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z548_14" doxytag="NL3D::CMaterial::setUserTexMat"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setUserTexMat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>m</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set a new texture matrix for the given stage.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00369">369</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00562">_TexUserMat</a>, <a class="el" href="driver__material__inline_8h-source.html#l00362">isUserTexMatEnabled</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z546_2" doxytag="NL3D::CMaterial::setZBias"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setZBias </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>val</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The z bias is a z dispacement of the object to solve z precision problem. The bias is gived in world coordinate units. Positive bias give a lower z priority, negative bias give a higher bias priority.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00112">112</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00551">_ZBias</a>, and <a class="el" href="material_8h-source.html#l00053">NL3D::IDRV_TOUCHED_ZBIAS</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00057">initUnlit</a>. </td>
+ </tr>
+</table>
+<a name="z546_0" doxytag="NL3D::CMaterial::setZFunc"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setZFunc </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMaterial.html#s64">ZFunc</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>val</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00099">99</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00550">_ZFunction</a>, and <a class="el" href="material_8h-source.html#l00052">NL3D::IDRV_TOUCHED_ZFUNC</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, <a class="el" href="noise__3d_8cpp-source.html#l00053">NL3D::CNoise3d::init</a>, <a class="el" href="material_8cpp-source.html#l00057">initUnlit</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, and <a class="el" href="cloud__scape_8cpp-source.html#l00126">NL3D::SCloudTextureClamp::SCloudTextureClamp</a>. </td>
+ </tr>
+</table>
+<a name="z546_1" doxytag="NL3D::CMaterial::setZWrite"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::setZWrite </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>active</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00105">105</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, <a class="el" href="material_8h-source.html#l00556">_Touched</a>, <a class="el" href="material_8h-source.html#l00072">NL3D::IDRV_MAT_ZWRITE</a>, and <a class="el" href="material_8h-source.html#l00057">NL3D::IDRV_TOUCHED_ZWRITE</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, <a class="el" href="noise__3d_8cpp-source.html#l00053">NL3D::CNoise3d::init</a>, <a class="el" href="material_8cpp-source.html#l00057">initUnlit</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, and <a class="el" href="cloud__scape_8cpp-source.html#l00126">NL3D::SCloudTextureClamp::SCloudTextureClamp</a>. </td>
+ </tr>
+</table>
+<a name="z543_1" doxytag="NL3D::CMaterial::texAddrEnabled"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::texAddrEnabled </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+test whether texture addressing mode are enabled.
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8cpp-source.html#l00437">437</a> of file <a class="el" href="material_8cpp-source.html">material.cpp</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00548">_Flags</a>, and <a class="el" href="material_8h-source.html#l00080">NL3D::IDRV_MAT_TEX_ADDR</a>. </td>
+ </tr>
+</table>
+<a name="z548_6" doxytag="NL3D::CMaterial::texConstantColor"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::texConstantColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>color</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Setup the constant color for a stage. Used for the TTexSource:Constant.
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00268">268</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="material_8h-source.html#l00499">NL3D::CMaterial::CTexEnv::ConstantColor</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z548_4" doxytag="NL3D::CMaterial::texEnvArg0Alpha"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::texEnvArg0Alpha </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#z538_1">TTexSource</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#z538_2">TTexOperand</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>oper</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00247">247</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="structNL3D_1_1CMaterial_1_1CTexEnv.html#m11">NL3D::CMaterial::CTexEnv::Env</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_2s47">InvSrcAlpha</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>, and <a class="el" href="classNL3D_1_1CMaterial.html#z538_2s46">SrcAlpha</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00126">NL3D::SCloudTextureClamp::SCloudTextureClamp</a>, and <a class="el" href="material_8cpp-source.html#l00257">setShader</a>. </td>
+ </tr>
+</table>
+<a name="z548_1" doxytag="NL3D::CMaterial::texEnvArg0RGB"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::texEnvArg0RGB </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#z538_1">TTexSource</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#z538_2">TTexOperand</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>oper</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00221">221</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="structNL3D_1_1CMaterial_1_1CTexEnv.html#m11">NL3D::CMaterial::CTexEnv::Env</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, and <a class="el" href="material_8cpp-source.html#l00257">setShader</a>. </td>
+ </tr>
+</table>
+<a name="z548_5" doxytag="NL3D::CMaterial::texEnvArg1Alpha"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::texEnvArg1Alpha </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#z538_1">TTexSource</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#z538_2">TTexOperand</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>oper</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00256">256</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="structNL3D_1_1CMaterial_1_1CTexEnv.html#m11">NL3D::CMaterial::CTexEnv::Env</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_2s47">InvSrcAlpha</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>, <a class="el" href="classNL3D_1_1CMaterial.html#z538_2s46">SrcAlpha</a>, and <a class="el" href="classNL3D_1_1CMaterial.html#z538_1s40">Texture</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, and <a class="el" href="cloud__scape_8cpp-source.html#l00126">NL3D::SCloudTextureClamp::SCloudTextureClamp</a>. </td>
+ </tr>
+</table>
+<a name="z548_2" doxytag="NL3D::CMaterial::texEnvArg1RGB"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::texEnvArg1RGB </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#z538_1">TTexSource</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>src</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#z538_2">TTexOperand</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>oper</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00229">229</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="structNL3D_1_1CMaterial_1_1CTexEnv.html#m11">NL3D::CMaterial::CTexEnv::Env</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>, and <a class="el" href="classNL3D_1_1CMaterial.html#z538_1s40">Texture</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, and <a class="el" href="material_8cpp-source.html#l00257">setShader</a>. </td>
+ </tr>
+</table>
+<a name="z548_3" doxytag="NL3D::CMaterial::texEnvOpAlpha"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::texEnvOpAlpha </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#z538_0">TTexOperator</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>ope</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00240">240</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="structNL3D_1_1CMaterial_1_1CTexEnv.html#m11">NL3D::CMaterial::CTexEnv::Env</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00126">NL3D::SCloudTextureClamp::SCloudTextureClamp</a>, and <a class="el" href="material_8cpp-source.html#l00257">setShader</a>. </td>
+ </tr>
+</table>
+<a name="z548_0" doxytag="NL3D::CMaterial::texEnvOpRGB"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMaterial::texEnvOpRGB </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html#z538_0">TTexOperator</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>ope</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+It maps the EXT_texture_env_combine opengl extension. A stage is enabled if his texture is !=NULL. By default, all stages are setup to Modulate style: AlphaOp=RGBOp= Modulate, RGBArg0= TextureSrcColor, RGBArg1= PreviousSrcColor, AlphaArg0= TextureSrcAlpha, AlphaArg1= PreviousSrcAlpha. ConstantColor default to White(255,255,255,255).
+<p>
+For compatibility problems:<ul>
+<li>no scaling is allowed (some cards do not implement this well).<li>Texture can be the source only for Arg0 (DirectX restriction). nlassert...</ul>
+NB: for Alpha Aguments, only operands SrcAlpha and InvSrcAlpha are valid (nlassert..).
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00214">214</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00547">_ShaderType</a>, <a class="el" href="material_8h-source.html#l00568">_TexEnvs</a>, <a class="el" href="structNL3D_1_1CMaterial_1_1CTexEnv.html#m11">NL3D::CMaterial::CTexEnv::Env</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>.
+<p>
+Referenced by <a class="el" href="cloud__scape_8cpp-source.html#l00217">NL3D::CCloudScape::CCloudScape</a>, <a class="el" href="cloud__scape_8cpp-source.html#l00051">NL3D::SCloudTexture3D::SCloudTexture3D</a>, and <a class="el" href="material_8cpp-source.html#l00257">setShader</a>. </td>
+ </tr>
+</table>
+<a name="z541_2" doxytag="NL3D::CMaterial::texturePresent"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::texturePresent </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>stage</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="driver__material__inline_8h-source.html#l00036">36</a> of file <a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a>.
+<p>
+References <a class="el" href="material_8h-source.html#l00563">_Textures</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o12" doxytag="NL3D::CMaterial::_AlphaTestThreshold"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CMaterial::_AlphaTestThreshold<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00555">555</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00041">CMaterial</a>, <a class="el" href="material_8h-source.html#l00308">getAlphaTestThreshold</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00085">setAlphaTestThreshold</a>. </td>
+ </tr>
+</table>
+<a name="o8" doxytag="NL3D::CMaterial::_Ambient"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::_Ambient<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00553">553</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8h-source.html#l00366">getAmbient</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="driver__material__inline_8h-source.html#l00158">setAmbient</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00127">setLighting</a>. </td>
+ </tr>
+</table>
+<a name="o6" doxytag="NL3D::CMaterial::_Color"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::_Color<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00552">552</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00041">CMaterial</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00118">setColor</a>. </td>
+ </tr>
+</table>
+<a name="o9" doxytag="NL3D::CMaterial::_Diffuse"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::_Diffuse<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00553">553</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8h-source.html#l00368">getDiffuse</a>, <a class="el" href="material_8h-source.html#l00369">getOpacity</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="driver__material__inline_8h-source.html#l00164">setDiffuse</a>, <a class="el" href="driver__material__inline_8h-source.html#l00127">setLighting</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00173">setOpacity</a>. </td>
+ </tr>
+</table>
+<a name="o3" doxytag="NL3D::CMaterial::_DstBlend"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a> NL3D::CMaterial::_DstBlend<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00549">549</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00041">CMaterial</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="driver__material__inline_8h-source.html#l00091">setBlendFunc</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00058">setDstBlend</a>. </td>
+ </tr>
+</table>
+<a name="o7" doxytag="NL3D::CMaterial::_Emissive"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::_Emissive<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00553">553</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8h-source.html#l00365">getEmissive</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="driver__material__inline_8h-source.html#l00152">setEmissive</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00127">setLighting</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NL3D::CMaterial::_Flags"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::CMaterial::_Flags<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00548">548</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00041">CMaterial</a>, <a class="el" href="material_8cpp-source.html#l00417">enableTexAddrMode</a>, <a class="el" href="driver__material__inline_8h-source.html#l00337">enableUserTexMat</a>, <a class="el" href="material_8h-source.html#l00302">getAlphaTest</a>, <a class="el" href="material_8h-source.html#l00266">getBlend</a>, <a class="el" href="material_8h-source.html#l00296">getDoubleSided</a>, <a class="el" href="material_8h-source.html#l00587">getFlags</a>, <a class="el" href="driver__material__inline_8h-source.html#l00201">getLightedVertexColor</a>, <a class="el" href="material_8cpp-source.html#l00453">getTexAddressingMode</a>, <a class="el" href="driver__material__inline_8h-source.html#l00298">getTexCoordGen</a>, <a class="el" href="material_8h-source.html#l00323">getZWrite</a>, <a class="el" href="material_8h-source.html#l00359">isLighted</a>, <a class="el" href="material_8h-source.html#l00362">isLightedVertexColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00362">isUserTexMatEnabled</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="driver__material__inline_8h-source.html#l00078">setAlphaTest</a>, <a class="el" href="driver__material__inline_8h-source.html#l00064">setBlend</a>, <a class="el" href="driver__material__inline_8h-source.html#l00071">setDoubleSided</a>, <a class="el" href="driver__material__inline_8h-source.html#l00191">setLightedVertexColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00127">setLighting</a>, <a class="el" href="material_8cpp-source.html#l00443">setTexAddressingMode</a>, <a class="el" href="driver__material__inline_8h-source.html#l00304">setTexCoordGen</a>, <a class="el" href="driver__material__inline_8h-source.html#l00105">setZWrite</a>, and <a class="el" href="material_8cpp-source.html#l00437">texAddrEnabled</a>. </td>
+ </tr>
+</table>
+<a name="m3" doxytag="NL3D::CMaterial::_LightMaps"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html#s0">TTexturePtrs</a> NL3D::CMaterial::_LightMaps
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00584">584</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00330">flushTextures</a>, <a class="el" href="material_8cpp-source.html#l00373">getLightMap</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="material_8cpp-source.html#l00362">setLightMap</a>, and <a class="el" href="material_8cpp-source.html#l00383">setLightMapFactor</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NL3D::CMaterial::_ShaderType"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html#s66">TShader</a> NL3D::CMaterial::_ShaderType<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00547">547</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00041">CMaterial</a>, <a class="el" href="material_8cpp-source.html#l00330">flushTextures</a>, <a class="el" href="material_8cpp-source.html#l00373">getLightMap</a>, <a class="el" href="material_8h-source.html#l00242">getShader</a>, <a class="el" href="driver__material__inline_8h-source.html#l00291">getTexConstantColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00277">getTexEnvMode</a>, <a class="el" href="driver__material__inline_8h-source.html#l00329">getUserColor</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="material_8cpp-source.html#l00362">setLightMap</a>, <a class="el" href="material_8cpp-source.html#l00383">setLightMapFactor</a>, <a class="el" href="material_8cpp-source.html#l00257">setShader</a>, <a class="el" href="driver__material__inline_8h-source.html#l00284">setTexEnvMode</a>, <a class="el" href="material_8cpp-source.html#l00297">setTexture</a>, <a class="el" href="driver__material__inline_8h-source.html#l00321">setUserColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00268">texConstantColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00247">texEnvArg0Alpha</a>, <a class="el" href="driver__material__inline_8h-source.html#l00221">texEnvArg0RGB</a>, <a class="el" href="driver__material__inline_8h-source.html#l00256">texEnvArg1Alpha</a>, <a class="el" href="driver__material__inline_8h-source.html#l00229">texEnvArg1RGB</a>, <a class="el" href="driver__material__inline_8h-source.html#l00240">texEnvOpAlpha</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00214">texEnvOpRGB</a>. </td>
+ </tr>
+</table>
+<a name="o11" doxytag="NL3D::CMaterial::_Shininess"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CMaterial::_Shininess<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00554">554</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8h-source.html#l00371">getShininess</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="driver__material__inline_8h-source.html#l00127">setLighting</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00185">setShininess</a>. </td>
+ </tr>
+</table>
+<a name="o10" doxytag="NL3D::CMaterial::_Specular"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRGBA NL3D::CMaterial::_Specular<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00553">553</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8h-source.html#l00370">getSpecular</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="driver__material__inline_8h-source.html#l00127">setLighting</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00179">setSpecular</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NL3D::CMaterial::_SrcBlend"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html#s65">TBlend</a> NL3D::CMaterial::_SrcBlend<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00549">549</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00041">CMaterial</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="driver__material__inline_8h-source.html#l00091">setBlendFunc</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00052">setSrcBlend</a>. </td>
+ </tr>
+</table>
+<a name="o14" doxytag="NL3D::CMaterial::_StainedGlassWindow"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMaterial::_StainedGlassWindow<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00557">557</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00041">CMaterial</a>, <a class="el" href="material_8h-source.html#l00459">getStainedGlassWindow</a>, and <a class="el" href="material_8h-source.html#l00460">setStainedGlassWindow</a>. </td>
+ </tr>
+</table>
+<a name="m0" doxytag="NL3D::CMaterial::_TexAddrMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a7">uint8</a> NL3D::CMaterial::_TexAddrMode[<a class="el" href="namespaceNL3D.html#a94">IDRV_MAT_MAXTEXTURES</a>]
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00567">567</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00417">enableTexAddrMode</a>, <a class="el" href="material_8cpp-source.html#l00453">getTexAddressingMode</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, and <a class="el" href="material_8cpp-source.html#l00443">setTexAddressingMode</a>. </td>
+ </tr>
+</table>
+<a name="m1" doxytag="NL3D::CMaterial::_TexEnvs"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="structNL3D_1_1CMaterial_1_1CTexEnv.html">CTexEnv</a> NL3D::CMaterial::_TexEnvs[<a class="el" href="namespaceNL3D.html#a94">IDRV_MAT_MAXTEXTURES</a>]
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00568">568</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="driver__material__inline_8h-source.html#l00291">getTexConstantColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00277">getTexEnvMode</a>, <a class="el" href="driver__material__inline_8h-source.html#l00329">getUserColor</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="driver__material__inline_8h-source.html#l00284">setTexEnvMode</a>, <a class="el" href="driver__material__inline_8h-source.html#l00321">setUserColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00268">texConstantColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00247">texEnvArg0Alpha</a>, <a class="el" href="driver__material__inline_8h-source.html#l00221">texEnvArg0RGB</a>, <a class="el" href="driver__material__inline_8h-source.html#l00256">texEnvArg1Alpha</a>, <a class="el" href="driver__material__inline_8h-source.html#l00229">texEnvArg1RGB</a>, <a class="el" href="driver__material__inline_8h-source.html#l00240">texEnvOpAlpha</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00214">texEnvOpRGB</a>. </td>
+ </tr>
+</table>
+<a name="o16" doxytag="NL3D::CMaterial::_Textures"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CSmartPtr&lt;<a class="el" href="classNL3D_1_1ITexture.html">ITexture</a>&gt; NL3D::CMaterial::_Textures[<a class="el" href="namespaceNL3D.html#a94">IDRV_MAT_MAXTEXTURES</a>]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00563">563</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00330">flushTextures</a>, <a class="el" href="driver__material__inline_8h-source.html#l00046">getTexture</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00486">selectTextureSet</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="material_8cpp-source.html#l00297">setTexture</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00036">texturePresent</a>. </td>
+ </tr>
+</table>
+<a name="o15" doxytag="NL3D::CMaterial::_TexUserMat"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::auto_ptr&lt;<a class="el" href="structNL3D_1_1CMaterial_1_1CUserTexMat.html">CUserTexMat</a>&gt; NL3D::CMaterial::_TexUserMat<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00562">562</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00461">decompUserTexMat</a>, <a class="el" href="driver__material__inline_8h-source.html#l00337">enableUserTexMat</a>, <a class="el" href="driver__material__inline_8h-source.html#l00377">getUserTexMat</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00369">setUserTexMat</a>. </td>
+ </tr>
+</table>
+<a name="o13" doxytag="NL3D::CMaterial::_Touched"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::CMaterial::_Touched<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00556">556</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8h-source.html#l00589">clearTouched</a>, <a class="el" href="material_8cpp-source.html#l00041">CMaterial</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, <a class="el" href="driver__material__inline_8h-source.html#l00078">setAlphaTest</a>, <a class="el" href="driver__material__inline_8h-source.html#l00085">setAlphaTestThreshold</a>, <a class="el" href="driver__material__inline_8h-source.html#l00158">setAmbient</a>, <a class="el" href="driver__material__inline_8h-source.html#l00064">setBlend</a>, <a class="el" href="driver__material__inline_8h-source.html#l00091">setBlendFunc</a>, <a class="el" href="driver__material__inline_8h-source.html#l00118">setColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00164">setDiffuse</a>, <a class="el" href="driver__material__inline_8h-source.html#l00071">setDoubleSided</a>, <a class="el" href="driver__material__inline_8h-source.html#l00058">setDstBlend</a>, <a class="el" href="driver__material__inline_8h-source.html#l00152">setEmissive</a>, <a class="el" href="driver__material__inline_8h-source.html#l00191">setLightedVertexColor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00127">setLighting</a>, <a class="el" href="material_8cpp-source.html#l00362">setLightMap</a>, <a class="el" href="material_8cpp-source.html#l00383">setLightMapFactor</a>, <a class="el" href="driver__material__inline_8h-source.html#l00173">setOpacity</a>, <a class="el" href="material_8cpp-source.html#l00257">setShader</a>, <a class="el" href="driver__material__inline_8h-source.html#l00185">setShininess</a>, <a class="el" href="driver__material__inline_8h-source.html#l00179">setSpecular</a>, <a class="el" href="driver__material__inline_8h-source.html#l00052">setSrcBlend</a>, <a class="el" href="material_8cpp-source.html#l00297">setTexture</a>, <a class="el" href="driver__material__inline_8h-source.html#l00112">setZBias</a>, <a class="el" href="driver__material__inline_8h-source.html#l00099">setZFunc</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00105">setZWrite</a>. </td>
+ </tr>
+</table>
+<a name="o5" doxytag="NL3D::CMaterial::_ZBias"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CMaterial::_ZBias<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00551">551</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00041">CMaterial</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00112">setZBias</a>. </td>
+ </tr>
+</table>
+<a name="o4" doxytag="NL3D::CMaterial::_ZFunction"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html#s64">ZFunc</a> NL3D::CMaterial::_ZFunction<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00550">550</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00041">CMaterial</a>, <a class="el" href="material_8cpp-source.html#l00081">operator=</a>, <a class="el" href="material_8cpp-source.html#l00136">serial</a>, and <a class="el" href="driver__material__inline_8h-source.html#l00099">setZFunc</a>. </td>
+ </tr>
+</table>
+<a name="m2" doxytag="NL3D::CMaterial::pShader"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRefPtr&lt;<a class="el" href="classNL3D_1_1IShader.html">IShader</a>&gt; NL3D::CMaterial::pShader
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="material_8h-source.html#l00569">569</a> of file <a class="el" href="material_8h-source.html">material.h</a>.
+<p>
+Referenced by <a class="el" href="material_8cpp-source.html#l00128">~CMaterial</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="material_8h-source.html">material.h</a><li><a class="el" href="driver__material__inline_8h-source.html">driver_material_inline.h</a><li><a class="el" href="material_8cpp-source.html">material.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </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>