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_1UInstanceMaterial.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1UInstanceMaterial.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1UInstanceMaterial.html | 1456 |
1 files changed, 1456 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1UInstanceMaterial.html b/docs/doxygen/nel/classNL3D_1_1UInstanceMaterial.html new file mode 100644 index 00000000..a429ad7c --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1UInstanceMaterial.html @@ -0,0 +1,1456 @@ +<!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::UInstanceMaterial Class Reference</h1>Base interface for manipulating Material retrieved from <a class="el" href="classNL3D_1_1UInstance.html">UInstance</a>. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="u__instance__material_8h-source.html">u_instance_material.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::UInstanceMaterial: +<p><center><img src="classNL3D_1_1UInstanceMaterial.gif" usemap="#NL3D::UInstanceMaterial_map" border="0"></center> +<map name="NL3D::UInstanceMaterial_map"> +<area href="classNL3D_1_1CInstanceMaterialUser.html" alt="NL3D::CInstanceMaterialUser" shape="rect" coords="0,56,178,80"> +</map> +<a href="classNL3D_1_1UInstanceMaterial-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> { <br> + <a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7s0">one</a> = 0, +<a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7s1">zero</a>, +<a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7s2">srcalpha</a>, +<a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7s3">invsrcalpha</a>, +<br> + <a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7s4">srccolor</a>, +<a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7s5">invsrccolor</a>, +<a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7s6">blendCount</a> +<br> + }</td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></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_1UInstanceMaterial.html#z36_0">isLighted</a> () const=0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z36_1">isUserColor</a> () const=0</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_1UInstanceMaterial.html#z37_0">setBlend</a> (bool active)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z37_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)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z37_2">setSrcBlend</a> (<a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> val)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z37_3">setDstBlend</a> (<a class="el" href="classNL3D_1_1UInstanceMaterial.html#s7">TBlend</a> val)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z37_4">getBlend</a> () const=0</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_1UInstanceMaterial.html#z37_5">getSrcBlend</a> (void) const=0</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_1UInstanceMaterial.html#z37_6">getDstBlend</a> (void) const=0</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_1UInstanceMaterial.html#z38_0">setEmissive</a> (CRGBA emissive=CRGBA(0, 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_1UInstanceMaterial.html#z36_0">isLighted</a>().</em> <a href="#z38_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_1UInstanceMaterial.html#z38_1">setAmbient</a> (CRGBA ambient=CRGBA(0, 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_1UInstanceMaterial.html#z36_0">isLighted</a>().</em> <a href="#z38_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_1UInstanceMaterial.html#z38_2">setDiffuse</a> (CRGBA diffuse=CRGBA(0, 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_1UInstanceMaterial.html#z36_0">isLighted</a>().</em> <a href="#z38_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_1UInstanceMaterial.html#z38_3">setOpacity</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> opa)=0</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_1UInstanceMaterial.html#z36_0">isLighted</a>().</em> <a href="#z38_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_1UInstanceMaterial.html#z38_4">setSpecular</a> (CRGBA specular=CRGBA(0, 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_1UInstanceMaterial.html#z36_0">isLighted</a>().</em> <a href="#z38_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_1UInstanceMaterial.html#z38_5">setShininess</a> (float shininess)=0</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_1UInstanceMaterial.html#z36_0">isLighted</a>().</em> <a href="#z38_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_1UInstanceMaterial.html#z38_6">getEmissive</a> () const=0</td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_7">getAmbient</a> () const=0</td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_8">getDiffuse</a> () const=0</td></tr> +<tr><td> </td><td><font size=-1><em>return diffuse part. NB: A==opacity.</em> <a href="#z38_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_1UInstanceMaterial.html#z38_9">getOpacity</a> () const=0</td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_10">getSpecular</a> () const=0</td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z38_11">getShininess</a> () const=0</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_1UInstanceMaterial.html#z39_0">setColor</a> (CRGBA rgba)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z39_1">getColor</a> (void) const=0</td></tr> +<tr><td colspan="2"><div class="groupHeader">Per stage constant color</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z40_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)=0</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_1UInstanceMaterial.html#z40_1">getConstantColor</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage) const=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 nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z41_0">setUserColor</a> (CRGBA userColor)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual CRGBA </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z41_1">getUserColor</a> () const=0</td></tr> +<tr><td colspan="2"><div class="groupHeader">Texture matrix</div></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_1UInstanceMaterial.html#z42_0">getLastTextureStage</a> () const=0</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="#z42_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_1">isTextureFile</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage=0) const=0</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="#z42_1">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_1UInstanceMaterial.html#z42_2">getTextureFileName</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage=0) const=0</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="#z42_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_1UInstanceMaterial.html#z42_3">emptyTexture</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage=0)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_4">setTextureFileName</a> (const std::string &fileName, <a class="el" href="memory__common_8h.html#a15">uint</a> stage=0)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Set the fileName used by the n-th texture file.</em> <a href="#z42_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_1UInstanceMaterial.html#z42_5">enableUserTexMat</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage, bool enabled=true)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_6">isUserTexMatEnabled</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage) const=0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z42_7">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)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Set a new texture matrix for the given stage.</em> <a href="#z42_7">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_1UInstanceMaterial.html#z42_8">getUserTexMat</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> stage) const=0</td></tr> +<tr><td> </td><td><font size=-1><em>Get a const ref.</em> <a href="#z42_8">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z35_0">UInstanceMaterial</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classNL3D_1_1UInstanceMaterial.html#z35_1">~UInstanceMaterial</a> ()</td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Base interface for manipulating Material retrieved from <a class="el" href="classNL3D_1_1UInstance.html">UInstance</a>. +<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="u__instance__material_8h-source.html#l00047">47</a> of file <a class="el" href="u__instance__material_8h-source.html">u_instance_material.h</a>.<hr><h2>Member Enumeration Documentation</h2> +<a name="s7" doxytag="NL3D::UInstanceMaterial::TBlend"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum NL3D::UInstanceMaterial::TBlend + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b> +Enumeration values:</b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a name="s7s0" doxytag="one"></a><em>one</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s7s1" doxytag="zero"></a><em>zero</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s7s2" doxytag="srcalpha"></a><em>srcalpha</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s7s3" doxytag="invsrcalpha"></a><em>invsrcalpha</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s7s4" doxytag="srccolor"></a><em>srccolor</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s7s5" doxytag="invsrccolor"></a><em>invsrccolor</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s7s6" doxytag="blendCount"></a><em>blendCount</em></em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="u__instance__material_8h-source.html#l00058">58</a> of file <a class="el" href="u__instance__material_8h-source.html">u_instance_material.h</a>. +<p> +Referenced by <a class="el" href="instance__material__user_8h-source.html#l00271">NL3D::CInstanceMaterialUser::getDstBlend</a>, <a class="el" href="instance__material__user_8h-source.html#l00266">NL3D::CInstanceMaterialUser::getSrcBlend</a>, <a class="el" href="instance__material__user_8h-source.html#l00245">NL3D::CInstanceMaterialUser::setBlendFunc</a>, <a class="el" href="instance__material__user_8h-source.html#l00255">NL3D::CInstanceMaterialUser::setDstBlend</a>, and <a class="el" href="instance__material__user_8h-source.html#l00250">NL3D::CInstanceMaterialUser::setSrcBlend</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="z35_0" doxytag="NL3D::UInstanceMaterial::UInstanceMaterial"></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::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="u__instance__material_8h-source.html#l00053">53</a> of file <a class="el" href="u__instance__material_8h-source.html">u_instance_material.h</a>. </td> + </tr> +</table> +<a name="z35_1" doxytag="NL3D::UInstanceMaterial::~UInstanceMaterial"></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::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, 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="u__instance__material_8h-source.html#l00054">54</a> of file <a class="el" href="u__instance__material_8h-source.html">u_instance_material.h</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="z42_3" doxytag="NL3D::UInstanceMaterial::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"> virtual void NL3D::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#a2">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z42_5" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z472_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_7" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z466_7">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z37_4" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z471_4">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z39_1" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z467_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z40_1" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z469_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_8" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z466_8">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z37_6" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z471_6">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_6" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z466_6">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z42_0" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#a3">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_9" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z466_9">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_11" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z466_11">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_10" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z466_10">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z37_5" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z471_5">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z42_2" doxytag="NL3D::UInstanceMaterial::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"> virtual std::string NL3D::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z470_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z41_1" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z468_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z42_8" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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. +<p> +on the texture matrix of the n-th stage. +<p> +Implemented in <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z472_3">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z36_0" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z465_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z42_1" doxytag="NL3D::UInstanceMaterial::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"> virtual bool NL3D::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z470_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z36_1" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z465_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z42_6" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z472_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_1" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1UInstanceMaterial.html#z36_0">isLighted</a>(). +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z37_0" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1CInstanceMaterialUser.html#z471_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z37_1" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z471_1">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z39_0" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z467_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z40_0" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z469_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_2" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1UInstanceMaterial.html#z36_0">isLighted</a>(). +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_2">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z37_3" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z471_3">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_0" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1UInstanceMaterial.html#z36_0">isLighted</a>(). +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_3" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1UInstanceMaterial.html#z36_0">isLighted</a>(). +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_3">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_5" doxytag="NL3D::UInstanceMaterial::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::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="classNL3D_1_1UInstanceMaterial.html#z36_0">isLighted</a>(). +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_5">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z38_4" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1UInstanceMaterial.html#z36_0">isLighted</a>(). +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z466_4">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z37_2" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z471_2">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z42_4" doxytag="NL3D::UInstanceMaterial::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"> 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></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> [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. +<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> +Implemented in <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html#z470_2">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z41_0" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z468_0">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<a name="z42_7" doxytag="NL3D::UInstanceMaterial::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::UInstanceMaterial::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> [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="classNL3D_1_1CInstanceMaterialUser.html#z472_2">NL3D::CInstanceMaterialUser</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="u__instance__material_8h-source.html">u_instance_material.h</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> |