diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02682.html | 1497 |
1 files changed, 1497 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02682.html b/docs/doxygen/nel/a02682.html new file mode 100644 index 00000000..14e92e66 --- /dev/null +++ b/docs/doxygen/nel/a02682.html @@ -0,0 +1,1497 @@ +<!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::UInstanceMaterial 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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::UInstanceMaterial Class Reference</h1><code>#include <<a class="el" href="a06609.html">u_instance_material.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::UInstanceMaterial: +<p><center><img src="a02682.png" usemap="#NL3D::UInstanceMaterial_map" border="0" alt=""></center> +<map name="NL3D::UInstanceMaterial_map"> +<area href="a02681.html" alt="NL3D::CInstanceMaterialUser" shape="rect" coords="0,56,178,80"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Base interface for manipulating Material retrieved from <a class="el" href="a03047.html">UInstance</a>. <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="a06609.html#l00048">48</a> of file <a class="el" href="a06609.html">u_instance_material.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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> { <br> + <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> + <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 colspan="2"><div class="groupHeader">Texture files specific</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1451_0">emptyTexture</a> (<a class="el" href="a04558.html#a15">uint</a> stage=0)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1451_1">getLastTextureStage</a> () const=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the last stage that got a texture. -1 means there is no textures. <a href="#NL3D_1_1UInstanceMaterialz1451_1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1451_2">getTextureFileName</a> (<a class="el" href="a04558.html#a15">uint</a> stage=0) const=0</td></tr> + +<tr><td class="mdescLeft"> </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_1UInstanceMaterialz1451_2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1451_3">isTextureFile</a> (<a class="el" href="a04558.html#a15">uint</a> stage=0) const=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Check wether the texture of the n-th stage is a texture file. <a href="#NL3D_1_1UInstanceMaterialz1451_3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1451_4">setTextureFileName</a> (const std::string &fileName, <a class="el" href="a04558.html#a15">uint</a> stage=0)=0</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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1453_0">enableUserTexMat</a> (<a class="el" href="a04558.html#a15">uint</a> stage, bool enabled=true)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1453_1">getUserTexMat</a> (<a class="el" href="a04558.html#a15">uint</a> stage) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1453_2">isUserTexMatEnabled</a> (<a class="el" href="a04558.html#a15">uint</a> stage) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1453_3">setUserTexMat</a> (<a class="el" href="a04558.html#a15">uint</a> stage, const <a class="el" href="a02851.html">NLMISC::CMatrix</a> &m)=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set a new texture matrix for the given stage. <a href="#NL3D_1_1UInstanceMaterialz1453_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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_0">getAmbient</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_1">getDiffuse</a> () const=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return diffuse part. NB: A==opacity. <a href="#NL3D_1_1UInstanceMaterialz1443_1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_2">getEmissive</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_3">getOpacity</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_4">getShininess</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_5">getSpecular</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_6">setAmbient</a> (<a class="el" href="a03337.html">CRGBA</a> ambient=<a class="el" href="a03337.html">CRGBA</a>(0, 0, 0))=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the Ambient part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. <a href="#NL3D_1_1UInstanceMaterialz1443_6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_7">setDiffuse</a> (<a class="el" href="a03337.html">CRGBA</a> diffuse=<a class="el" href="a03337.html">CRGBA</a>(0, 0, 0))=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the Diffuse part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. <a href="#NL3D_1_1UInstanceMaterialz1443_7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_8">setEmissive</a> (<a class="el" href="a03337.html">CRGBA</a> emissive=<a class="el" href="a03337.html">CRGBA</a>(0, 0, 0))=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the emissive part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. <a href="#NL3D_1_1UInstanceMaterialz1443_8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_9">setOpacity</a> (<a class="el" href="a04558.html#a7">uint8</a> opa)=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the Opacity part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. <a href="#NL3D_1_1UInstanceMaterialz1443_9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_10">setShininess</a> (float shininess)=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the shininess part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. <a href="#NL3D_1_1UInstanceMaterialz1443_10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1443_11">setSpecular</a> (<a class="el" href="a03337.html">CRGBA</a> specular=<a class="el" href="a03337.html">CRGBA</a>(0, 0, 0))=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the specular part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. <a href="#NL3D_1_1UInstanceMaterialz1443_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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_0">getBlend</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_1">getDstBlend</a> (void) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_2">getSrcBlend</a> (void) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_3">setAlphaTestThreshold</a> (float at)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_4">setBlend</a> (bool active)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_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)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_6">setDstBlend</a> (<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> val)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_7">setSrcBlend</a> (<a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> val)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1441_8">setZWrite</a> (bool active)=0</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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1445_0">getColor</a> (void) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1445_1">setColor</a> (<a class="el" href="a03337.html">CRGBA</a> rgba)=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Per stage constant color</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">NLMISC::CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1447_0">getConstantColor</a> (<a class="el" href="a04558.html#a15">uint</a> stage) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1447_1">setConstantColor</a> (<a class="el" href="a04558.html#a15">uint</a> stage, <a class="el" href="a03337.html">NLMISC::CRGBA</a> color)=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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1449_0">getUserColor</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1449_1">setUserColor</a> (<a class="el" href="a03337.html">CRGBA</a> userColor)=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Modes.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_1">isUserColor</a> () const=0</td></tr> + +<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1437_0">UInstanceMaterial</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1437_1">~UInstanceMaterial</a> ()</td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1UInstanceMaterialw6" doxytag="NL3D::UInstanceMaterial::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> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw7" doxytag="zero" ></a>zero</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw4" doxytag="srcalpha" ></a>srcalpha</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw1" doxytag="invsrcalpha" ></a>invsrcalpha</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw5" doxytag="srccolor" ></a>srccolor</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw2" doxytag="invsrccolor" ></a>invsrccolor</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UInstanceMaterialw6NL3D_1_1UInstanceMaterialw0" doxytag="blendCount" ></a>blendCount</em> </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 & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1437_0" doxytag="NL3D::UInstanceMaterial::UInstanceMaterial" ></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::UInstanceMaterial::UInstanceMaterial </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06609.html#l00054">54</a> of file <a class="el" href="a06609.html">u_instance_material.h</a>. +<p> +<div class="fragment"><pre>00054 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1437_1" doxytag="NL3D::UInstanceMaterial::~UInstanceMaterial" ></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::UInstanceMaterial::~<a class="el" href="a02682.html">UInstanceMaterial</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06609.html#l00055">55</a> of file <a class="el" href="a06609.html">u_instance_material.h</a>. +<p> +<div class="fragment"><pre>00055 {} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1451_0" doxytag="NL3D::UInstanceMaterial::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"> virtual void NL3D::UInstanceMaterial::emptyTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> = 0 </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUsera1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1453_0" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::enableUserTexMat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </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 </td> + <td class="mdname" nowrap> <em>enabled</em> = true</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz225_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_0" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getAmbient </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1441_0" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getBlend </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1445_0" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz215_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1447_0" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getConstantColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz219_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_1" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getDiffuse </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return diffuse part. NB: A==opacity. +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1441_1" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getDstBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_2" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getEmissive </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_2">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1451_1" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getLastTextureStage </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the last stage that got a texture. -1 means there is no textures. +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUsera2">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_3" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getOpacity </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_3">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_4" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getShininess </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_4">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_5" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getSpecular </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_5">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1441_2" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getSrcBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_2">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1451_2" doxytag="NL3D::UInstanceMaterial::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"> virtual std::string NL3D::UInstanceMaterial::getTextureFileName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> = 0 </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz221_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1449_0" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::getUserColor </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz217_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1453_1" doxytag="NL3D::UInstanceMaterial::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>& NL3D::UInstanceMaterial::getUserTexMat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a const ref. on the texture matrix of the n-th stage. +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz225_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1439_0" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::isLighted </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1451_3" doxytag="NL3D::UInstanceMaterial::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"> virtual bool NL3D::UInstanceMaterial::isTextureFile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> = 0 </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Check wether the texture of the n-th stage is a texture file. +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz221_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1439_1" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::isUserColor </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz211_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1453_2" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::isUserTexMatEnabled </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz225_2">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1441_3" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setAlphaTestThreshold </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>at</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_3">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_6" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setAmbient </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a> </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"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the Ambient part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_6">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1441_4" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>active</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_4">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1441_5" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setBlendFunc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> </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> </td> + <td class="mdname" nowrap> <em>dst</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_5">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1445_1" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>rgba</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz215_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1447_1" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setConstantColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </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> </td> + <td class="mdname" nowrap> <em>color</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz219_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_7" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setDiffuse </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a> </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"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the Diffuse part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_7">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1441_6" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setDstBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> </td> + <td class="mdname1" valign="top" nowrap> <em>val</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_6">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_8" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setEmissive </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a> </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"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the emissive part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_8">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_9" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setOpacity </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>opa</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the Opacity part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_9">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_10" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setShininess </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>shininess</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the shininess part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_10">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1443_11" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setSpecular </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a> </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"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the specular part ot material. Usefull only if <a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialz1439_0">isLighted()</a>. +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz213_11">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1441_7" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setSrcBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02682.html#NL3D_1_1UInstanceMaterialw6">TBlend</a> </td> + <td class="mdname1" valign="top" nowrap> <em>val</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_7">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1451_4" doxytag="NL3D::UInstanceMaterial::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"> virtual void NL3D::UInstanceMaterial::setTextureFileName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </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> </td> + <td class="mdname" nowrap> <em>stage</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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->getAsyncTextureMode()==true, then instanceOwner->setAsyncTextureDirty(true) is called +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz221_2">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1449_1" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setUserColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>userColor</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz217_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1453_3" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setUserTexMat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </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> & </td> + <td class="mdname" nowrap> <em>m</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a new texture matrix for the given stage. +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz225_3">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UInstanceMaterialz1441_8" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::setZWrite </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>active</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="a02681.html#NL3D_1_1CInstanceMaterialUserz223_8">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06609.html">u_instance_material.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:45:47 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> |