aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02681.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a02681.html2145
1 files changed, 2145 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02681.html b/docs/doxygen/nel/a02681.html
new file mode 100644
index 00000000..56c74473
--- /dev/null
+++ b/docs/doxygen/nel/a02681.html
@@ -0,0 +1,2145 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: NL3D::CInstanceMaterialUser class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CInstanceMaterialUser Class Reference</h1><code>#include &lt;<a class="el" href="a05827.html">instance_material_user.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CInstanceMaterialUser:
+<p><center><img src="a02681.png" usemap="#NL3D::CInstanceMaterialUser_map" border="0" alt=""></center>
+<map name="NL3D::CInstanceMaterialUser_map">
+<area href="a02682.html" alt="NL3D::UInstanceMaterial" shape="rect" coords="0,0,178,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<a class="el" href="a02682.html">UInstanceMaterial</a> implementation. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05827.html#l00053">53</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> { <br>
+&nbsp;&nbsp;<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw3">one</a> = 0,
+<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw7">zero</a>,
+<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw4">srcalpha</a>,
+<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw1">invsrcalpha</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw5">srccolor</a>,
+<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw2">invsrccolor</a>,
+<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw0">blendCount</a>
+<br>
+ }</td></tr>
+
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUsera0">CInstanceMaterialUser</a> (<a class="el" href="a02873.html">CMeshBaseInstance</a> *mbi, <a class="el" href="a02839.html">CMaterial</a> *mat, <a class="el" href="a02229.html">CAsyncTextureBlock</a> *asyncTextBlock)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CInstanceMaterialUsera0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUsera1">emptyTexture</a> (<a class="el" href="a04558.html#a15">uint</a> stage=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUsera2">getLastTextureStage</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the last stage that got a texture. -1 means there is no textures. <a href="#NL3D_1_1CInstanceMaterialUsera2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUsera3">getMaterial</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUsera4">~CInstanceMaterialUser</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dtor <a href="#NL3D_1_1CInstanceMaterialUsera4"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Texture matrix</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz225_0">enableUserTexMat</a> (<a class="el" href="a04558.html#a15">uint</a> stage, bool enabled=true)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02851.html">NLMISC::CMatrix</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz225_1">getUserTexMat</a> (<a class="el" href="a04558.html#a15">uint</a> stage) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz225_2">isUserTexMatEnabled</a> (<a class="el" href="a04558.html#a15">uint</a> stage) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz225_3">setUserTexMat</a> (<a class="el" href="a04558.html#a15">uint</a> stage, const <a class="el" href="a02851.html">NLMISC::CMatrix</a> &amp;m)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a new texture matrix for the given stage. <a href="#NL3D_1_1CInstanceMaterialUserz225_3"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Lighted material mgt. Has effect only if isLighted().</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_0">getAmbient</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_1">getDiffuse</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return diffuse part. NB: A==opacity. <a href="#NL3D_1_1CInstanceMaterialUserz213_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_2">getEmissive</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_3">getOpacity</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_4">getShininess</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_5">getSpecular</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_6">setAmbient</a> (<a class="el" href="a03337.html">CRGBA</a> ambient=<a class="el" href="a03337.html">CRGBA</a>(0, 0, 0))</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the Ambient part ot material. Usefull only if <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>. <a href="#NL3D_1_1CInstanceMaterialUserz213_6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_7">setDiffuse</a> (<a class="el" href="a03337.html">CRGBA</a> diffuse=<a class="el" href="a03337.html">CRGBA</a>(0, 0, 0))</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the Diffuse part ot material. Usefull only if <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>. <a href="#NL3D_1_1CInstanceMaterialUserz213_7"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_8">setEmissive</a> (<a class="el" href="a03337.html">CRGBA</a> emissive=<a class="el" href="a03337.html">CRGBA</a>(0, 0, 0))</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the emissive part ot material. Usefull only if <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>. <a href="#NL3D_1_1CInstanceMaterialUserz213_8"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_9">setOpacity</a> (<a class="el" href="a04558.html#a7">uint8</a> opa)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the Opacity part ot material. Usefull only if <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>. <a href="#NL3D_1_1CInstanceMaterialUserz213_9"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_10">setShininess</a> (float shininess)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the shininess part ot material. Usefull only if <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>. <a href="#NL3D_1_1CInstanceMaterialUserz213_10"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_11">setSpecular</a> (<a class="el" href="a03337.html">CRGBA</a> specular=<a class="el" href="a03337.html">CRGBA</a>(0, 0, 0))</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the specular part ot material. Usefull only if <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>. <a href="#NL3D_1_1CInstanceMaterialUserz213_11"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Blending.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_0">getBlend</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_1">getDstBlend</a> (void) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_2">getSrcBlend</a> (void) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_3">setAlphaTestThreshold</a> (float at)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_4">setBlend</a> (bool active)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_5">setBlendFunc</a> (<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> <a class="el" href="a04223.html#a652">src</a>, <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> dst)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_6">setDstBlend</a> (<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> val)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_7">setSrcBlend</a> (<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> val)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_8">setZWrite</a> (bool active)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">UnLighted material mgt. Has effect only if !isLighted().</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz215_0">getColor</a> (void) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz215_1">setColor</a> (<a class="el" href="a03337.html">CRGBA</a> rgba)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">constantColor</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz219_0">getConstantColor</a> (<a class="el" href="a04558.html#a15">uint</a> stage) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz219_1">setConstantColor</a> (<a class="el" href="a04558.html#a15">uint</a> stage, <a class="el" href="a03337.html">NLMISC::CRGBA</a> color)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Texture files specific</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz221_0">getTextureFileName</a> (<a class="el" href="a04558.html#a15">uint</a> stage=0) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the fileName used by the n-th texture file. (must be a texture file or an assertion is raised). <a href="#NL3D_1_1CInstanceMaterialUserz221_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz221_1">isTextureFile</a> (<a class="el" href="a04558.html#a15">uint</a> stage=0) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check wether the texture of the n-th stage is a texture file. <a href="#NL3D_1_1CInstanceMaterialUserz221_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz221_2">setTextureFileName</a> (const std::string &amp;fileName, <a class="el" href="a04558.html#a15">uint</a> stage=0)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Texture UserColor. No effect if !isUserColor(). (getUserColor() return CRGBA(0,0,0,0))</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz217_0">getUserColor</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz217_1">setUserColor</a> (<a class="el" href="a03337.html">CRGBA</a> userColor)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Modes.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_1">isUserColor</a> () const </td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02229.html">CAsyncTextureBlock</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserr0">_AsyncTextureBlock</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02873.html">CMeshBaseInstance</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserr2">_MBI</a></td></tr>
+
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a class="anchor" name="NL3D_1_1UInstanceMaterialw6" doxytag="NL3D::CInstanceMaterialUser::TBlend" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">NL3D::UInstanceMaterial::TBlend</a><code> [inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<dl compact><dt><b>Enumeration values: </b></dt><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw3" doxytag="one" ></a>one</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw7" doxytag="zero" ></a>zero</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw4" doxytag="srcalpha" ></a>srcalpha</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw1" doxytag="invsrcalpha" ></a>invsrcalpha</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw5" doxytag="srccolor" ></a>srccolor</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw2" doxytag="invsrccolor" ></a>invsrccolor</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw0" doxytag="blendCount" ></a>blendCount</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06609.html#l00059">59</a> of file <a class="el" href="a06609.html">u_instance_material.h</a>.
+<p>
+<div class="fragment"><pre>00059 { <a class="code" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw3">one</a>=0, <a class="code" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw7">zero</a>, <a class="code" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw4">srcalpha</a>, <a class="code" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw1">invsrcalpha</a>, <a class="code" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw5">srccolor</a>, <a class="code" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw2">invsrccolor</a>, <a class="code" href="a02682.html#NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw0">blendCount</a> };
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUsera0" doxytag="NL3D::CInstanceMaterialUser::CInstanceMaterialUser" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CInstanceMaterialUser::CInstanceMaterialUser </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02873.html">CMeshBaseInstance</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>mbi</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02839.html">CMaterial</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>mat</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02229.html">CAsyncTextureBlock</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>asyncTextBlock</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>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05827.html#l00057">57</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00346">_AsyncTextureBlock</a>, <a class="el" href="a05827.html#l00344">_MBI</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>.
+<p>
+<div class="fragment"><pre>00058 {
+00059 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00060 <a class="code" href="a04199.html#a6">nlassert</a>(mat &amp;&amp; mbi &amp;&amp; asyncTextBlock);
+00061 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr2">_MBI</a>= mbi;
+00062 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>= mat;
+00063 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr0">_AsyncTextureBlock</a>= asyncTextBlock;
+00064 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUsera4" doxytag="NL3D::CInstanceMaterialUser::~CInstanceMaterialUser" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual NL3D::CInstanceMaterialUser::~<a class="el" href="a02681.html">CInstanceMaterialUser</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></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="a05827.html#l00066">66</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+<div class="fragment"><pre>00067 {
+00068 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00069 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUsera1" doxytag="NL3D::CInstanceMaterialUser::emptyTexture" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CInstanceMaterialUser::emptyTexture </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stage</em> = 0 </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1451_0">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05826.html#l00112">112</a> of file <a class="el" href="a05826.html">instance_material_user.cpp</a>.
+<p>
+References <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, <a class="el" href="a05968.html#l00322">NL3D::CMaterial::setTexture()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00113 {
+00114 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00115 <span class="keywordflow">if</span> (stage &gt;= <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>)
+00116 {
+00117 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterialUser::emptyTexture : invalid stage"</span>);
+00118 <span class="keywordflow">return</span>;
+00119 }
+00120 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setTexture(stage, NULL);
+00121 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz225_0" doxytag="NL3D::CInstanceMaterialUser::enableUserTexMat" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::enableUserTexMat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>enabled</em> = true</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1453_0">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00292">292</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05641.html#l00337">NL3D::CMaterial::enableUserTexMat()</a>, <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00293 {
+00294 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00295 <span class="keywordflow">if</span> (stage &gt;= <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>)
+00296 {
+00297 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterial::enableUserTexMat : stage %d is invalid"</span>, stage);
+00298 <span class="keywordflow">return</span>;
+00299 }
+00300 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;enableUserTexMat(stage, enabled);
+00301 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_0" doxytag="NL3D::CInstanceMaterialUser::getAmbient" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a03337.html">CRGBA</a> NL3D::CInstanceMaterialUser::getAmbient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_0">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00127">127</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00378">NL3D::CMaterial::getAmbient()</a>, and <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+<div class="fragment"><pre>00128 {
+00129 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00130 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getAmbient();
+00131 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz223_0" doxytag="NL3D::CInstanceMaterialUser::getBlend" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual bool NL3D::CInstanceMaterialUser::getBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_0">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00271">271</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00278">NL3D::CMaterial::getBlend()</a>, and <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+<div class="fragment"><pre>00272 {
+00273 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00274 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getBlend();
+00275 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz215_0" doxytag="NL3D::CInstanceMaterialUser::getColor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a03337.html">CRGBA</a> NL3D::CInstanceMaterialUser::getColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1445_0">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00163">163</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00376">NL3D::CMaterial::getColor()</a>, and <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+<div class="fragment"><pre>00164 {
+00165 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00166 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getColor();
+00167 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz219_0" doxytag="NL3D::CInstanceMaterialUser::getConstantColor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a03337.html">NLMISC::CRGBA</a> NL3D::CInstanceMaterialUser::getConstantColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stage</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1447_0">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00201">201</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05641.html#l00291">NL3D::CMaterial::getTexConstantColor()</a>, <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00202 {
+00203 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00204 <span class="keywordflow">if</span> (stage &gt;= <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>)
+00205 {
+00206 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterialUser::getConstantColor : invalid stage"</span>);
+00207 <span class="keywordflow">return</span> <a class="code" href="a03337.html#NLMISC_1_1CRGBAs0">NLMISC::CRGBA::Black</a>;
+00208 }
+00209 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getTexConstantColor(stage);
+00210
+00211 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_1" doxytag="NL3D::CInstanceMaterialUser::getDiffuse" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a03337.html">CRGBA</a> NL3D::CInstanceMaterialUser::getDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</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>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_1">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00132">132</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00380">NL3D::CMaterial::getDiffuse()</a>, and <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+<div class="fragment"><pre>00133 {
+00134 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00135 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getDiffuse();
+00136 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz223_1" doxytag="NL3D::CInstanceMaterialUser::getDstBlend" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> NL3D::CInstanceMaterialUser::getDstBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_1">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00281">281</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00280">NL3D::CMaterial::getDstBlend()</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00282 {
+00283 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00284 <span class="keywordflow">return</span> (UInstanceMaterial::TBlend)(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getDstBlend();
+00285 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_2" doxytag="NL3D::CInstanceMaterialUser::getEmissive" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a03337.html">CRGBA</a> NL3D::CInstanceMaterialUser::getEmissive </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_2">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00122">122</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00377">NL3D::CMaterial::getEmissive()</a>, and <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+<div class="fragment"><pre>00123 {
+00124 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00125 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getEmissive();
+00126 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUsera2" doxytag="NL3D::CInstanceMaterialUser::getLastTextureStage" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a04558.html#a14">sint</a> NL3D::CInstanceMaterialUser::getLastTextureStage </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the last stage that got a texture. -1 means there is no textures.
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1451_1">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00224">224</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05641.html#l00046">NL3D::CMaterial::getTexture()</a>, <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00225 {
+00226 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00227 <a class="code" href="a04558.html#a14">sint</a> lastStage = -1;
+00228 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> k = 0; k &lt; <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>; ++k)
+00229 {
+00230 <span class="keywordflow">if</span> (<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getTexture(k) != NULL)
+00231 {
+00232 lastStage = k;
+00233 }
+00234 }
+00235 <span class="keywordflow">return</span> lastStage;
+00236 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUsera3" doxytag="NL3D::CInstanceMaterialUser::getMaterial" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02839.html">CMaterial</a>* NL3D::CInstanceMaterialUser::getMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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="a05827.html#l00351">351</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+<div class="fragment"><pre>00352 {
+00353 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00354 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>;
+00355 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_3" doxytag="NL3D::CInstanceMaterialUser::getOpacity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a04558.html#a7">uint8</a> NL3D::CInstanceMaterialUser::getOpacity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_3">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00137">137</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00381">NL3D::CMaterial::getOpacity()</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00138 {
+00139 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00140 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getOpacity();
+00141 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_4" doxytag="NL3D::CInstanceMaterialUser::getShininess" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual float NL3D::CInstanceMaterialUser::getShininess </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_4">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00147">147</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00383">NL3D::CMaterial::getShininess()</a>, and <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+<div class="fragment"><pre>00148 {
+00149 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00150 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getShininess();
+00151 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_5" doxytag="NL3D::CInstanceMaterialUser::getSpecular" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a03337.html">CRGBA</a> NL3D::CInstanceMaterialUser::getSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_5">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00142">142</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00382">NL3D::CMaterial::getSpecular()</a>, and <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+<div class="fragment"><pre>00143 {
+00144 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00145 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getSpecular();
+00146 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz223_2" doxytag="NL3D::CInstanceMaterialUser::getSrcBlend" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> NL3D::CInstanceMaterialUser::getSrcBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_2">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00276">276</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00279">NL3D::CMaterial::getSrcBlend()</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00277 {
+00278 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00279 <span class="keywordflow">return</span> (UInstanceMaterial::TBlend)(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getSrcBlend();
+00280 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz221_0" doxytag="NL3D::CInstanceMaterialUser::getTextureFileName" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::string NL3D::CInstanceMaterialUser::getTextureFileName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stage</em> = 0 </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the fileName used by the n-th texture file. (must be a texture file or an assertion is raised).
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1451_2">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05826.html#l00050">50</a> of file <a class="el" href="a05826.html">instance_material_user.cpp</a>.
+<p>
+References <a class="el" href="a05827.html#l00346">_AsyncTextureBlock</a>, <a class="el" href="a05827.html#l00344">_MBI</a>, <a class="el" href="a05994.html#l00162">NL3D::CMeshBaseInstance::getAsyncTextureMode()</a>, <a class="el" href="a05641.html#l00046">NL3D::CMaterial::getTexture()</a>, <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05462.html#l00053">NL3D::CAsyncTextureBlock::isTextureFile()</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, <a class="el" href="a05462.html#l00051">NL3D::CAsyncTextureBlock::TextureNames</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00051 {
+00052 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00053 <span class="keywordflow">if</span> (stage &gt;= <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>)
+00054 {
+00055 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterialUser::getTextureFileName : invalid stage"</span>);
+00056 <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
+00057 }
+00058
+00059 <span class="comment">// If Async mode</span>
+00060 <span class="keywordflow">if</span>(<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr2">_MBI</a>-&gt;getAsyncTextureMode())
+00061 {
+00062 <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr0">_AsyncTextureBlock</a>-&gt;isTextureFile(stage));
+00063 <span class="comment">// return name of the async one.</span>
+00064 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr0">_AsyncTextureBlock</a>-&gt;TextureNames[stage];
+00065 }
+00066 <span class="keywordflow">else</span>
+00067 {
+00068 <span class="comment">// return the name in the material</span>
+00069 <span class="keywordflow">return</span> NLMISC::safe_cast&lt;CTextureFile *&gt;(<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getTexture(stage))-&gt;getFileName();
+00070 }
+00071 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz217_0" doxytag="NL3D::CInstanceMaterialUser::getUserColor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual <a class="el" href="a03337.html">CRGBA</a> NL3D::CInstanceMaterialUser::getUserColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1449_0">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00179">179</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05641.html#l00329">NL3D::CMaterial::getUserColor()</a>, <a class="el" href="a05827.html#l00080">isUserColor()</a>, and <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+<div class="fragment"><pre>00180 {
+00181 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00182 <span class="keywordflow">if</span>(<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_1">isUserColor</a>())
+00183 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getUserColor();
+00184 <span class="keywordflow">else</span>
+00185 <span class="keywordflow">return</span> <a class="code" href="a03337.html">CRGBA</a>(0,0,0,0);
+00186 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz225_1" doxytag="NL3D::CInstanceMaterialUser::getUserTexMat" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual const <a class="el" href="a02851.html">NLMISC::CMatrix</a>&amp; NL3D::CInstanceMaterialUser::getUserTexMat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stage</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get a const ref. on the texture matrix of the n-th stage.
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1453_1">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00326">326</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05641.html#l00377">NL3D::CMaterial::getUserTexMat()</a>, <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05641.html#l00362">NL3D::CMaterial::isUserTexMatEnabled()</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00327 {
+00328 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00329 <span class="keywordflow">if</span> (stage &gt;= <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>)
+00330 {
+00331 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterial::enableUserTexMat : stage %d is invalid"</span>, stage);
+00332 <span class="keywordflow">return</span> CMatrix::Identity;
+00333 }
+00334 <span class="keywordflow">if</span> (!<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;isUserTexMatEnabled(stage))
+00335 {
+00336 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterial::setUserTexMat : texture stage %d has no user matrix."</span>, stage);
+00337 <span class="keywordflow">return</span> CMatrix::Identity;
+00338 }
+00339 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getUserTexMat(stage);
+00340 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz211_0" doxytag="NL3D::CInstanceMaterialUser::isLighted" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual bool NL3D::CInstanceMaterialUser::isLighted </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00075">75</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00371">NL3D::CMaterial::isLighted()</a>, and <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+<div class="fragment"><pre>00076 {
+00077 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00078 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;isLighted();
+00079 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz221_1" doxytag="NL3D::CInstanceMaterialUser::isTextureFile" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CInstanceMaterialUser::isTextureFile </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stage</em> = 0 </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Check wether the texture of the n-th stage is a texture file.
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1451_3">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05826.html#l00038">38</a> of file <a class="el" href="a05826.html">instance_material_user.cpp</a>.
+<p>
+References <a class="el" href="a05641.html#l00046">NL3D::CMaterial::getTexture()</a>, <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00039 {
+00040 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00041 <span class="keywordflow">if</span> (stage &gt;= <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>)
+00042 {
+00043 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterialUser::isTextureFile : invalid stage"</span>);
+00044 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00045 }
+00046 <span class="keywordflow">return</span> dynamic_cast&lt;CTextureFile *&gt;(<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getTexture(stage)) != NULL;
+00047 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz211_1" doxytag="NL3D::CInstanceMaterialUser::isUserColor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual bool NL3D::CInstanceMaterialUser::isUserColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_1">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00080">80</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00254">NL3D::CMaterial::getShader()</a>, and <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>.
+<p>
+Referenced by <a class="el" href="a05827.html#l00179">getUserColor()</a>, and <a class="el" href="a05827.html#l00173">setUserColor()</a>.
+<p>
+<div class="fragment"><pre>00081 {
+00082 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00083 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getShader()==CMaterial::UserColor;
+00084 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz225_2" doxytag="NL3D::CInstanceMaterialUser::isUserTexMatEnabled" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual bool NL3D::CInstanceMaterialUser::isUserTexMatEnabled </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stage</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1453_2">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00302">302</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05641.html#l00362">NL3D::CMaterial::isUserTexMatEnabled()</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00303 {
+00304 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00305 <span class="keywordflow">if</span> (stage &gt;= <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>)
+00306 {
+00307 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterial::enableUserTexMat : stage %d is invalid"</span>, stage);
+00308 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00309 }
+00310 <span class="keywordflow">return</span> <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;isUserTexMatEnabled(stage);
+00311 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz223_3" doxytag="NL3D::CInstanceMaterialUser::setAlphaTestThreshold" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setAlphaTestThreshold </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>at</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_3">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00260">260</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05641.html#l00085">NL3D::CMaterial::setAlphaTestThreshold()</a>.
+<p>
+<div class="fragment"><pre>00261 {
+00262 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00263 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setAlphaTestThreshold(at);
+00264 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_6" doxytag="NL3D::CInstanceMaterialUser::setAmbient" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setAmbient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>ambient</em> = <a class="el" href="a03337.html">CRGBA</a>(0, 0, 0) </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</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 <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>.
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_6">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00096">96</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05641.html#l00158">NL3D::CMaterial::setAmbient()</a>.
+<p>
+<div class="fragment"><pre>00097 {
+00098 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00099 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setAmbient( ambient);
+00100 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz223_4" doxytag="NL3D::CInstanceMaterialUser::setBlend" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>active</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_4">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00240">240</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05641.html#l00064">NL3D::CMaterial::setBlend()</a>.
+<p>
+<div class="fragment"><pre>00241 {
+00242 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00243 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setBlend(active);
+00244 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz223_5" doxytag="NL3D::CInstanceMaterialUser::setBlendFunc" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setBlendFunc </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>src</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>dst</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_5">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00245">245</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05641.html#l00091">NL3D::CMaterial::setBlendFunc()</a>, <a class="el" href="a05646.html#l01124">src</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00246 {
+00247 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00248 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setBlendFunc((CMaterial::TBlend)(<a class="code" href="a04558.html#a11">uint32</a>)src, (CMaterial::TBlend)(uint32)dst);
+00249 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz215_1" doxytag="NL3D::CInstanceMaterialUser::setColor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>rgba</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1445_1">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00158">158</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05641.html#l00118">NL3D::CMaterial::setColor()</a>.
+<p>
+<div class="fragment"><pre>00159 {
+00160 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00161 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setColor(rgba) ;
+00162 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz219_1" doxytag="NL3D::CInstanceMaterialUser::setConstantColor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setConstantColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>color</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1447_1">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00191">191</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, <a class="el" href="a05641.html#l00268">NL3D::CMaterial::texConstantColor()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00192 {
+00193 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00194 <span class="keywordflow">if</span> (stage &gt;= <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>)
+00195 {
+00196 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterialUser::setConstantColor : invalid stage"</span>);
+00197 <span class="keywordflow">return</span>;
+00198 }
+00199 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;texConstantColor(stage, color);
+00200 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_7" doxytag="NL3D::CInstanceMaterialUser::setDiffuse" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>diffuse</em> = <a class="el" href="a03337.html">CRGBA</a>(0, 0, 0) </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</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 <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>.
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_7">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00101">101</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05641.html#l00164">NL3D::CMaterial::setDiffuse()</a>.
+<p>
+<div class="fragment"><pre>00102 {
+00103 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00104 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setDiffuse( diffuse);
+00105 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz223_6" doxytag="NL3D::CInstanceMaterialUser::setDstBlend" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setDstBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>val</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_6">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00255">255</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05641.html#l00058">NL3D::CMaterial::setDstBlend()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00256 {
+00257 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00258 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setDstBlend((CMaterial::TBlend)(<a class="code" href="a04558.html#a11">uint32</a>)val);
+00259 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_8" doxytag="NL3D::CInstanceMaterialUser::setEmissive" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setEmissive </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>emissive</em> = <a class="el" href="a03337.html">CRGBA</a>(0, 0, 0) </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</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 <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>.
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_8">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00091">91</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05641.html#l00152">NL3D::CMaterial::setEmissive()</a>.
+<p>
+<div class="fragment"><pre>00092 {
+00093 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00094 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setEmissive(emissive);
+00095 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_9" doxytag="NL3D::CInstanceMaterialUser::setOpacity" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setOpacity </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>opa</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</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 <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>.
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_9">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00106">106</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05641.html#l00173">NL3D::CMaterial::setOpacity()</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00107 {
+00108 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00109 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setOpacity( opa );
+00110 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_10" doxytag="NL3D::CInstanceMaterialUser::setShininess" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setShininess </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>shininess</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</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 <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>.
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_10">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00116">116</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05641.html#l00185">NL3D::CMaterial::setShininess()</a>.
+<p>
+<div class="fragment"><pre>00117 {
+00118 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00119 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setShininess( shininess );
+00120 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz213_11" doxytag="NL3D::CInstanceMaterialUser::setSpecular" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>specular</em> = <a class="el" href="a03337.html">CRGBA</a>(0, 0, 0) </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</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 <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">isLighted()</a>.
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_11">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00111">111</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05641.html#l00179">NL3D::CMaterial::setSpecular()</a>.
+<p>
+<div class="fragment"><pre>00112 {
+00113 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00114 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setSpecular( specular);
+00115 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz223_7" doxytag="NL3D::CInstanceMaterialUser::setSrcBlend" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setSrcBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>val</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_7">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00250">250</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05641.html#l00052">NL3D::CMaterial::setSrcBlend()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00251 {
+00252 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00253 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setSrcBlend((CMaterial::TBlend)(<a class="code" href="a04558.html#a11">uint32</a>)val);
+00254 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz221_2" doxytag="NL3D::CInstanceMaterialUser::setTextureFileName" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CInstanceMaterialUser::setTextureFileName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>fileName</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>stage</em> = 0</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the fileName used by the n-th texture file. (must be a texture file or an assertion is raised) NB: if success and if instanceOwner-&gt;getAsyncTextureMode()==true, then instanceOwner-&gt;setAsyncTextureDirty(true) is called
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1451_4">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05826.html#l00074">74</a> of file <a class="el" href="a05826.html">instance_material_user.cpp</a>.
+<p>
+References <a class="el" href="a05827.html#l00346">_AsyncTextureBlock</a>, <a class="el" href="a05827.html#l00344">_MBI</a>, <a class="el" href="a05994.html#l00162">NL3D::CMeshBaseInstance::getAsyncTextureMode()</a>, <a class="el" href="a05641.html#l00046">NL3D::CMaterial::getTexture()</a>, <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05462.html#l00053">NL3D::CAsyncTextureBlock::isTextureFile()</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, <a class="el" href="a05994.html#l00185">NL3D::CMeshBaseInstance::setAsyncTextureDirty()</a>, <a class="el" href="a06522.html#l00080">NL3D::CTextureFile::setFileName()</a>, <a class="el" href="a05968.html#l00322">NL3D::CMaterial::setTexture()</a>, <a class="el" href="a05462.html#l00051">NL3D::CAsyncTextureBlock::TextureNames</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00075 {
+00076 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00077 <span class="keywordflow">if</span> (stage &gt;= <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>)
+00078 {
+00079 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterialUser::setTextureFileName : invalid stage"</span>);
+00080 <span class="keywordflow">return</span>;
+00081 }
+00082
+00083 <span class="comment">// If Async mode</span>
+00084 <span class="keywordflow">if</span>(<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr2">_MBI</a>-&gt;getAsyncTextureMode())
+00085 {
+00086 <span class="keywordflow">if</span>(!<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr0">_AsyncTextureBlock</a>-&gt;isTextureFile(stage))
+00087 {
+00088 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterialUser::setTextureFileName : the texture is not a texture file"</span>);
+00089 <span class="keywordflow">return</span>;
+00090 }
+00091 <span class="comment">// replace the fileName</span>
+00092 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr0">_AsyncTextureBlock</a>-&gt;TextureNames[stage]= fileName;
+00093 <span class="comment">// Flag the instance.</span>
+00094 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr2">_MBI</a>-&gt;setAsyncTextureDirty(<span class="keyword">true</span>);
+00095 }
+00096 <span class="keywordflow">else</span>
+00097 {
+00098 CTextureFile *otherTex = dynamic_cast&lt;CTextureFile *&gt;(<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getTexture(stage));
+00099 <span class="keywordflow">if</span> (!otherTex)
+00100 {
+00101 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterialUser::setTextureFileName : the texture is not a texture file"</span>);
+00102 <span class="keywordflow">return</span>;
+00103 }
+00104 CTextureFile *tf = <span class="keyword">new</span> CTextureFile(*otherTex);
+00105 tf-&gt;setFileName(fileName);
+00106 <a class="code" href="a03408.html">NLMISC::CSmartPtr&lt;ITexture&gt;</a> old = <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;getTexture(stage);
+00107 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setTexture(stage, tf);
+00108 }
+00109 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz217_1" doxytag="NL3D::CInstanceMaterialUser::setUserColor" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setUserColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>userColor</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1449_1">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00173">173</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00080">isUserColor()</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05641.html#l00321">NL3D::CMaterial::setUserColor()</a>.
+<p>
+<div class="fragment"><pre>00174 {
+00175 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00176 <span class="keywordflow">if</span>(<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_1">isUserColor</a>())
+00177 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setUserColor(userColor);
+00178 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz225_3" doxytag="NL3D::CInstanceMaterialUser::setUserTexMat" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setUserTexMat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>m</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline, virtual]</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>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1453_3">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00312">312</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05641.html#l00362">NL3D::CMaterial::isUserTexMatEnabled()</a>, <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, <a class="el" href="a05641.html#l00369">NL3D::CMaterial::setUserTexMat()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00313 {
+00314 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00315 <span class="keywordflow">if</span> (stage &gt;= <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>)
+00316 {
+00317 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterial::enableUserTexMat : stage %d is invalid"</span>, stage);
+00318 <span class="keywordflow">return</span>;
+00319 }
+00320 <span class="keywordflow">if</span> (!<a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;isUserTexMatEnabled(stage))
+00321 {
+00322 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"UInstanceMaterial::setUserTexMat : texture stage %d has no user matrix."</span>, stage);
+00323 }
+00324 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setUserTexMat(stage, m);
+00325 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserz223_8" doxytag="NL3D::CInstanceMaterialUser::setZWrite" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setZWrite </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>active</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Implements <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_8">NL3D::UInstanceMaterial</a>.
+<p>
+Definition at line <a class="el" href="a05827.html#l00265">265</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+References <a class="el" href="a05827.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="a05641.html#l00105">NL3D::CMaterial::setZWrite()</a>.
+<p>
+<div class="fragment"><pre>00266 {
+00267 <a class="code" href="a04404.html#a0">NL3D_MEM_MATERIAL_INSTANCE</a>
+00268 <a class="code" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">_Material</a>-&gt;setZWrite(active);
+00269 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserr0" doxytag="NL3D::CInstanceMaterialUser::_AsyncTextureBlock" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02229.html">CAsyncTextureBlock</a>* <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserr0">NL3D::CInstanceMaterialUser::_AsyncTextureBlock</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="a05827.html#l00346">346</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+Referenced by <a class="el" href="a05827.html#l00057">CInstanceMaterialUser()</a>, <a class="el" href="a05826.html#l00050">getTextureFileName()</a>, and <a class="el" href="a05826.html#l00074">setTextureFileName()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserr1" doxytag="NL3D::CInstanceMaterialUser::_Material" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02839.html">CMaterial</a>* <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserr1">NL3D::CInstanceMaterialUser::_Material</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="a05827.html#l00345">345</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CInstanceMaterialUserr2" doxytag="NL3D::CInstanceMaterialUser::_MBI" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02873.html">CMeshBaseInstance</a>* <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserr2">NL3D::CInstanceMaterialUser::_MBI</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="a05827.html#l00344">344</a> of file <a class="el" href="a05827.html">instance_material_user.h</a>.
+<p>
+Referenced by <a class="el" href="a05827.html#l00057">CInstanceMaterialUser()</a>, <a class="el" href="a05826.html#l00050">getTextureFileName()</a>, and <a class="el" href="a05826.html#l00074">setTextureFileName()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05827.html">instance_material_user.h</a><li><a class="el" href="a05826.html">instance_material_user.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:47:48 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>