diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1CInstanceMaterialUser.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CInstanceMaterialUser.html | 1685 |
1 files changed, 1685 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CInstanceMaterialUser.html b/docs/doxygen/nel/classNL3D_1_1CInstanceMaterialUser.html new file mode 100644 index 00000000..51d182f6 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CInstanceMaterialUser.html @@ -0,0 +1,1685 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CInstanceMaterialUser Class Reference</h1><a class="el" href="classNL3D_1_1UInstanceMaterial.html">UInstanceMaterial</a> implementation. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CInstanceMaterialUser: +<p><center><img src="classNL3D_1_1CInstanceMaterialUser.gif" usemap="#NL3D::CInstanceMaterialUser_map" border="0"></center> +<map name="NL3D::CInstanceMaterialUser_map"> +<area href="classNL3D_1_1UInstanceMaterial.html" alt="NL3D::UInstanceMaterial" shape="rect" coords="0,0,178,24"> +</map> +<a href="classNL3D_1_1CInstanceMaterialUser-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#a0">CInstanceMaterialUser</a> (<a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> *mbi, <a class="el" href="classNL3D_1_1CMaterial.html">CMaterial</a> *mat, <a class="el" href="classNL3D_1_1CAsyncTextureBlock.html">CAsyncTextureBlock</a> *asyncTextBlock)</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#a1">~CInstanceMaterialUser</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>dtor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#a2">emptyTexture</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage=0)</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a14">sint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#a3">getLastTextureStage</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the last stage that got a texture. -1 means there is no textures.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html">CMaterial</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#a4">getMaterial</a> () const</td></tr> +<tr><td colspan="2"><div class="groupHeader">Modes.</div></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z465_1">isUserColor</a> () const</td></tr> +<tr><td colspan="2"><div class="groupHeader">Lighted material mgt. Has effect only if isLighted().</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_0">setEmissive</a> (CRGBA emissive=CRGBA(0, 0, 0))</td></tr> +<tr><td> </td><td><font size=-1><em>Set the emissive part ot material. Usefull only if <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>().</em> <a href="#z466_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_1">setAmbient</a> (CRGBA ambient=CRGBA(0, 0, 0))</td></tr> +<tr><td> </td><td><font size=-1><em>Set the Ambient part ot material. Usefull only if <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>().</em> <a href="#z466_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_2">setDiffuse</a> (CRGBA diffuse=CRGBA(0, 0, 0))</td></tr> +<tr><td> </td><td><font size=-1><em>Set the Diffuse part ot material. Usefull only if <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>().</em> <a href="#z466_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_3">setOpacity</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> opa)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the Opacity part ot material. Usefull only if <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>().</em> <a href="#z466_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_4">setSpecular</a> (CRGBA specular=CRGBA(0, 0, 0))</td></tr> +<tr><td> </td><td><font size=-1><em>Set the specular part ot material. Usefull only if <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>().</em> <a href="#z466_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_5">setShininess</a> (float shininess)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the shininess part ot material. Usefull only if <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>().</em> <a href="#z466_5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_6">getEmissive</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_7">getAmbient</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_8">getDiffuse</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>return diffuse part. NB: A==opacity.</em> <a href="#z466_8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_9">getOpacity</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_10">getSpecular</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_11">getShininess</a> () const</td></tr> +<tr><td colspan="2"><div class="groupHeader">UnLighted material mgt. Has effect only if !isLighted().</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z467_0">setColor</a> (CRGBA rgba)</td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z467_1">getColor</a> (void) const</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 nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z468_0">setUserColor</a> (CRGBA userColor)</td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z468_1">getUserColor</a> () const</td></tr> +<tr><td colspan="2"><div class="groupHeader">constantColor</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z469_0">setConstantColor</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> color)</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z469_1">getConstantColor</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage) const</td></tr> +<tr><td colspan="2"><div class="groupHeader">Texture files specific</div></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z470_0">isTextureFile</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage=0) const</td></tr> +<tr><td> </td><td><font size=-1><em>Check wether the texture of the n-th stage is a texture file.</em> <a href="#z470_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual std::string </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z470_1">getTextureFileName</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage=0) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the fileName used by the n-th texture file. (must be a texture file or an assertion is raised).</em> <a href="#z470_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z470_2">setTextureFileName</a> (const std::string &fileName, <a class="el" href="memory__common_8h.html#a15">uint</a> stage=0)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the fileName used by the n-th texture file.</em> <a href="#z470_2">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Blending.</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z471_0">setBlend</a> (bool active)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z471_1">setBlendFunc</a> (<a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> <a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> dst)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z471_2">setSrcBlend</a> (<a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> val)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z471_3">setDstBlend</a> (<a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> val)</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z471_4">getBlend</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z471_5">getSrcBlend</a> (void) const</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z471_6">getDstBlend</a> (void) const</td></tr> +<tr><td colspan="2"><div class="groupHeader">Texture matrix</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z472_0">enableUserTexMat</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, bool enabled=true)</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z472_1">isUserTexMatEnabled</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage) const</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z472_2">setUserTexMat</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &m)</td></tr> +<tr><td> </td><td><font size=-1><em>Set a new texture matrix for the given stage.</em> <a href="#z472_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> & </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z472_3">getUserTexMat</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get a const ref.</em> <a href="#z472_3">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#o0">_MBI</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html">CMaterial</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#o1">_Material</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CAsyncTextureBlock.html">CAsyncTextureBlock</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#o2">_AsyncTextureBlock</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="classNL3D_1_1UInstanceMaterial.html">UInstanceMaterial</a> implementation. +<p> +<dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00053">53</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::CInstanceMaterialUser::CInstanceMaterialUser"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CInstanceMaterialUser::CInstanceMaterialUser </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> * </td> + <td class="mdname" nowrap> <em>mbi</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html">CMaterial</a> * </td> + <td class="mdname" nowrap> <em>mat</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CAsyncTextureBlock.html">CAsyncTextureBlock</a> * </td> + <td class="mdname" nowrap> <em>asyncTextBlock</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00057">57</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00336">_AsyncTextureBlock</a>, <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="instance__material__user_8h-source.html#l00334">_MBI</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CInstanceMaterialUser::~CInstanceMaterialUser"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual NL3D::CInstanceMaterialUser::~CInstanceMaterialUser </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, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +dtor. +<p> + +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00066">66</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a2" doxytag="NL3D::CInstanceMaterialUser::emptyTexture"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CInstanceMaterialUser::emptyTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_3">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8cpp-source.html#l00112">112</a> of file <a class="el" href="instance__material__user_8cpp-source.html">instance_material_user.cpp</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z472_0" doxytag="NL3D::CInstanceMaterialUser::enableUserTexMat"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::enableUserTexMat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td></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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_5">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00282">282</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z466_7" doxytag="NL3D::CInstanceMaterialUser::getAmbient"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual CRGBA NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_7">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00127">127</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z471_4" doxytag="NL3D::CInstanceMaterialUser::getBlend"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z37_4">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00261">261</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z467_1" doxytag="NL3D::CInstanceMaterialUser::getColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual CRGBA NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z39_1">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00163">163</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z469_1" doxytag="NL3D::CInstanceMaterialUser::getConstantColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> NL3D::CInstanceMaterialUser::getConstantColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z40_1">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00201">201</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="classNLMISC_1_1CRGBA.html#p0">NLMISC::CRGBA::Black</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z466_8" doxytag="NL3D::CInstanceMaterialUser::getDiffuse"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual CRGBA NL3D::CInstanceMaterialUser::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> [inline, 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> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_8">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00132">132</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z471_6" doxytag="NL3D::CInstanceMaterialUser::getDstBlend"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z37_6">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00271">271</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="u__instance__material_8h-source.html#l00058">NL3D::UInstanceMaterial::TBlend</a>. </td> + </tr> +</table> +<a name="z466_6" doxytag="NL3D::CInstanceMaterialUser::getEmissive"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual CRGBA NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_6">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00122">122</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CInstanceMaterialUser::getLastTextureStage"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="memory__common_8h.html#a14">sint</a> NL3D::CInstanceMaterialUser::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> [inline, 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> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_0">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00224">224</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CInstanceMaterialUser::getMaterial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html">CMaterial</a>* NL3D::CInstanceMaterialUser::getMaterial </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> [inline]</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="instance__material__user_8h-source.html#l00341">341</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z466_9" doxytag="NL3D::CInstanceMaterialUser::getOpacity"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="memory__common_8h.html#a7">uint8</a> NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_9">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00137">137</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z466_11" doxytag="NL3D::CInstanceMaterialUser::getShininess"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual float NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_11">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00147">147</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z466_10" doxytag="NL3D::CInstanceMaterialUser::getSpecular"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual CRGBA NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_10">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00142">142</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z471_5" doxytag="NL3D::CInstanceMaterialUser::getSrcBlend"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z37_5">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00266">266</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="u__instance__material_8h-source.html#l00058">NL3D::UInstanceMaterial::TBlend</a>. </td> + </tr> +</table> +<a name="z470_1" doxytag="NL3D::CInstanceMaterialUser::getTextureFileName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NL3D::CInstanceMaterialUser::getTextureFileName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.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> [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> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_2">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8cpp-source.html#l00050">50</a> of file <a class="el" href="instance__material__user_8cpp-source.html">instance_material_user.cpp</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00336">_AsyncTextureBlock</a>, <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="instance__material__user_8h-source.html#l00334">_MBI</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z468_1" doxytag="NL3D::CInstanceMaterialUser::getUserColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual CRGBA NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z41_1">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00179">179</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="instance__material__user_8h-source.html#l00080">isUserColor</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z472_3" doxytag="NL3D::CInstanceMaterialUser::getUserTexMat"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a>& NL3D::CInstanceMaterialUser::getUserTexMat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a const ref. +<p> +on the texture matrix of the n-th stage. +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_8">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00316">316</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z465_0" doxytag="NL3D::CInstanceMaterialUser::isLighted"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z36_0">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00075">75</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z470_0" doxytag="NL3D::CInstanceMaterialUser::isTextureFile"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CInstanceMaterialUser::isTextureFile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.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> [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> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_1">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8cpp-source.html#l00038">38</a> of file <a class="el" href="instance__material__user_8cpp-source.html">instance_material_user.cpp</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z465_1" doxytag="NL3D::CInstanceMaterialUser::isUserColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z36_1">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00080">80</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. +<p> +Referenced by <a class="el" href="instance__material__user_8h-source.html#l00179">getUserColor</a>, and <a class="el" href="instance__material__user_8h-source.html#l00173">setUserColor</a>. </td> + </tr> +</table> +<a name="z472_1" doxytag="NL3D::CInstanceMaterialUser::isUserTexMatEnabled"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CInstanceMaterialUser::isUserTexMatEnabled </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_6">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00292">292</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z466_1" doxytag="NL3D::CInstanceMaterialUser::setAmbient"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setAmbient </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CRGBA </td> + <td class="mdname1" valign="top" nowrap> <em>ambient</em> = CRGBA(0, 0, 0) </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, 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="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>(). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_1">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00096">96</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z471_0" doxytag="NL3D::CInstanceMaterialUser::setBlend"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z37_0">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00240">240</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z471_1" doxytag="NL3D::CInstanceMaterialUser::setBlendFunc"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setBlendFunc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z37_1">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00245">245</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>, and <a class="el" href="u__instance__material_8h-source.html#l00058">NL3D::UInstanceMaterial::TBlend</a>. </td> + </tr> +</table> +<a name="z467_0" doxytag="NL3D::CInstanceMaterialUser::setColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CRGBA </td> + <td class="mdname1" valign="top" nowrap> <em>rgba</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z39_0">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00158">158</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z469_0" doxytag="NL3D::CInstanceMaterialUser::setConstantColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setConstantColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNLMISC_1_1CRGBA.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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z40_0">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00191">191</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z466_2" doxytag="NL3D::CInstanceMaterialUser::setDiffuse"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setDiffuse </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CRGBA </td> + <td class="mdname1" valign="top" nowrap> <em>diffuse</em> = CRGBA(0, 0, 0) </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, 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="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>(). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_2">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00101">101</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z471_3" doxytag="NL3D::CInstanceMaterialUser::setDstBlend"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setDstBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> </td> + <td class="mdname1" valign="top" nowrap> <em>val</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z37_3">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00255">255</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="u__instance__material_8h-source.html#l00058">NL3D::UInstanceMaterial::TBlend</a>. </td> + </tr> +</table> +<a name="z466_0" doxytag="NL3D::CInstanceMaterialUser::setEmissive"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setEmissive </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CRGBA </td> + <td class="mdname1" valign="top" nowrap> <em>emissive</em> = CRGBA(0, 0, 0) </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, 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="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>(). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_0">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00091">91</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z466_3" doxytag="NL3D::CInstanceMaterialUser::setOpacity"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setOpacity </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.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> [inline, 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="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>(). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_3">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00106">106</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z466_5" doxytag="NL3D::CInstanceMaterialUser::setShininess"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::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> [inline, 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="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>(). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_5">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00116">116</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z466_4" doxytag="NL3D::CInstanceMaterialUser::setSpecular"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setSpecular </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CRGBA </td> + <td class="mdname1" valign="top" nowrap> <em>specular</em> = CRGBA(0, 0, 0) </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, 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="classNL3D_1_1CInstanceMaterialUser.html#z465_0">isLighted</a>(). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_4">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00111">111</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z471_2" doxytag="NL3D::CInstanceMaterialUser::setSrcBlend"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setSrcBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> </td> + <td class="mdname1" valign="top" nowrap> <em>val</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z37_2">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00250">250</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="u__instance__material_8h-source.html#l00058">NL3D::UInstanceMaterial::TBlend</a>. </td> + </tr> +</table> +<a name="z470_2" doxytag="NL3D::CInstanceMaterialUser::setTextureFileName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CInstanceMaterialUser::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></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.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> [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. +<p> +(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> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_4">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8cpp-source.html#l00074">74</a> of file <a class="el" href="instance__material__user_8cpp-source.html">instance_material_user.cpp</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00336">_AsyncTextureBlock</a>, <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="instance__material__user_8h-source.html#l00334">_MBI</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z468_0" doxytag="NL3D::CInstanceMaterialUser::setUserColor"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setUserColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CRGBA </td> + <td class="mdname1" valign="top" nowrap> <em>userColor</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z41_0">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00173">173</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="instance__material__user_8h-source.html#l00080">isUserColor</a>, and <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>. </td> + </tr> +</table> +<a name="z472_2" doxytag="NL3D::CInstanceMaterialUser::setUserTexMat"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CInstanceMaterialUser::setUserTexMat </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> & </td> + <td class="mdname" nowrap> <em>m</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </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> + + </td> + <td> + +<p> +Set a new texture matrix for the given stage. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_7">NL3D::UInstanceMaterial</a>. +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00302">302</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +References <a class="el" href="instance__material__user_8h-source.html#l00335">_Material</a>, <a class="el" href="material_8h-source.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="instance__material__user_8h-source.html#l00035">NL3D_MEM_MATERIAL_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o2" doxytag="NL3D::CInstanceMaterialUser::_AsyncTextureBlock"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CAsyncTextureBlock.html">CAsyncTextureBlock</a>* NL3D::CInstanceMaterialUser::_AsyncTextureBlock<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00336">336</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +Referenced by <a class="el" href="instance__material__user_8h-source.html#l00057">CInstanceMaterialUser</a>, <a class="el" href="instance__material__user_8cpp-source.html#l00050">getTextureFileName</a>, and <a class="el" href="instance__material__user_8cpp-source.html#l00074">setTextureFileName</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NL3D::CInstanceMaterialUser::_Material"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMaterial.html">CMaterial</a>* NL3D::CInstanceMaterialUser::_Material<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00335">335</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +Referenced by <a class="el" href="instance__material__user_8h-source.html#l00057">CInstanceMaterialUser</a>, <a class="el" href="instance__material__user_8cpp-source.html#l00112">emptyTexture</a>, <a class="el" href="instance__material__user_8h-source.html#l00282">enableUserTexMat</a>, <a class="el" href="instance__material__user_8h-source.html#l00127">getAmbient</a>, <a class="el" href="instance__material__user_8h-source.html#l00261">getBlend</a>, <a class="el" href="instance__material__user_8h-source.html#l00163">getColor</a>, <a class="el" href="instance__material__user_8h-source.html#l00201">getConstantColor</a>, <a class="el" href="instance__material__user_8h-source.html#l00132">getDiffuse</a>, <a class="el" href="instance__material__user_8h-source.html#l00271">getDstBlend</a>, <a class="el" href="instance__material__user_8h-source.html#l00122">getEmissive</a>, <a class="el" href="instance__material__user_8h-source.html#l00224">getLastTextureStage</a>, <a class="el" href="instance__material__user_8h-source.html#l00341">getMaterial</a>, <a class="el" href="instance__material__user_8h-source.html#l00137">getOpacity</a>, <a class="el" href="instance__material__user_8h-source.html#l00147">getShininess</a>, <a class="el" href="instance__material__user_8h-source.html#l00142">getSpecular</a>, <a class="el" href="instance__material__user_8h-source.html#l00266">getSrcBlend</a>, <a class="el" href="instance__material__user_8cpp-source.html#l00050">getTextureFileName</a>, <a class="el" href="instance__material__user_8h-source.html#l00179">getUserColor</a>, <a class="el" href="instance__material__user_8h-source.html#l00316">getUserTexMat</a>, <a class="el" href="instance__material__user_8h-source.html#l00075">isLighted</a>, <a class="el" href="instance__material__user_8cpp-source.html#l00038">isTextureFile</a>, <a class="el" href="instance__material__user_8h-source.html#l00080">isUserColor</a>, <a class="el" href="instance__material__user_8h-source.html#l00292">isUserTexMatEnabled</a>, <a class="el" href="instance__material__user_8h-source.html#l00096">setAmbient</a>, <a class="el" href="instance__material__user_8h-source.html#l00240">setBlend</a>, <a class="el" href="instance__material__user_8h-source.html#l00245">setBlendFunc</a>, <a class="el" href="instance__material__user_8h-source.html#l00158">setColor</a>, <a class="el" href="instance__material__user_8h-source.html#l00191">setConstantColor</a>, <a class="el" href="instance__material__user_8h-source.html#l00101">setDiffuse</a>, <a class="el" href="instance__material__user_8h-source.html#l00255">setDstBlend</a>, <a class="el" href="instance__material__user_8h-source.html#l00091">setEmissive</a>, <a class="el" href="instance__material__user_8h-source.html#l00106">setOpacity</a>, <a class="el" href="instance__material__user_8h-source.html#l00116">setShininess</a>, <a class="el" href="instance__material__user_8h-source.html#l00111">setSpecular</a>, <a class="el" href="instance__material__user_8h-source.html#l00250">setSrcBlend</a>, <a class="el" href="instance__material__user_8cpp-source.html#l00074">setTextureFileName</a>, <a class="el" href="instance__material__user_8h-source.html#l00173">setUserColor</a>, and <a class="el" href="instance__material__user_8h-source.html#l00302">setUserTexMat</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NL3D::CInstanceMaterialUser::_MBI"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a>* NL3D::CInstanceMaterialUser::_MBI<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="instance__material__user_8h-source.html#l00334">334</a> of file <a class="el" href="instance__material__user_8h-source.html">instance_material_user.h</a>. +<p> +Referenced by <a class="el" href="instance__material__user_8h-source.html#l00057">CInstanceMaterialUser</a>, <a class="el" href="instance__material__user_8cpp-source.html#l00050">getTextureFileName</a>, and <a class="el" href="instance__material__user_8cpp-source.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="instance__material__user_8h-source.html">instance_material_user.h</a><li><a class="el" href="instance__material__user_8cpp-source.html">instance_material_user.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |