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_1UMaterial.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_1UMaterial.html | 979 |
1 files changed, 979 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1UMaterial.html b/docs/doxygen/nel/classNL3D_1_1UMaterial.html new file mode 100644 index 00000000..987a8619 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1UMaterial.html @@ -0,0 +1,979 @@ +<!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::UMaterial Class Reference</h1>Game Interface for Material. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="u__material_8h-source.html">u_material.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::UMaterial: +<p><center><img src="classNL3D_1_1UMaterial.gif" usemap="#NL3D::UMaterial_map" border="0"></center> +<map name="NL3D::UMaterial_map"> +<area href="classNL3D_1_1CMaterialUser.html" alt="NL3D::CMaterialUser" shape="rect" coords="0,56,131,80"> +</map> +<a href="classNL3D_1_1UMaterial-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_1UMaterial.html#s16">ZFunc</a> { <br> + <a class="el" href="classNL3D_1_1UMaterial.html#s16s0">always</a> = 0, +<a class="el" href="classNL3D_1_1UMaterial.html#s16s1">never</a>, +<a class="el" href="classNL3D_1_1UMaterial.html#s16s2">equal</a>, +<a class="el" href="classNL3D_1_1UMaterial.html#s16s3">notequal</a>, +<br> + <a class="el" href="classNL3D_1_1UMaterial.html#s16s4">less</a>, +<a class="el" href="classNL3D_1_1UMaterial.html#s16s5">lessequal</a>, +<a class="el" href="classNL3D_1_1UMaterial.html#s16s6">greater</a>, +<a class="el" href="classNL3D_1_1UMaterial.html#s16s7">greaterequal</a>, +<br> + <a class="el" href="classNL3D_1_1UMaterial.html#s16s8">zfuncCount</a> +<br> + }</td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#s17">TBlend</a> { <br> + <a class="el" href="classNL3D_1_1UMaterial.html#s17s9">one</a> = 0, +<a class="el" href="classNL3D_1_1UMaterial.html#s17s10">zero</a>, +<a class="el" href="classNL3D_1_1UMaterial.html#s17s11">srcalpha</a>, +<a class="el" href="classNL3D_1_1UMaterial.html#s17s12">invsrcalpha</a>, +<br> + <a class="el" href="classNL3D_1_1UMaterial.html#s17s13">srccolor</a>, +<a class="el" href="classNL3D_1_1UMaterial.html#s17s14">invsrccolor</a>, +<a class="el" href="classNL3D_1_1UMaterial.html#s17s15">blendCount</a> +<br> + }</td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Texture.</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z55_0">setTexture</a> (<a class="el" href="classNL3D_1_1UTexture.html">UTexture</a> *ptex)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z55_1">texturePresent</a> ()=0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z55_2">selectTextureSet</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a356">id</a>)=0</td></tr> +<tr><td> </td><td><font size=-1><em>select from a texture set for this material (if available).</em> <a href="#z55_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_1UMaterial.html#z56_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_1UMaterial.html#z56_1">setBlendFunc</a> (<a class="el" href="classNL3D_1_1UMaterial.html#s17">TBlend</a> <a class="el" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="el" href="classNL3D_1_1UMaterial.html#s17">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_1UMaterial.html#z56_2">setSrcBlend</a> (<a class="el" href="classNL3D_1_1UMaterial.html#s17">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_1UMaterial.html#z56_3">setDstBlend</a> (<a class="el" href="classNL3D_1_1UMaterial.html#s17">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_1UMaterial.html#z56_4">getBlend</a> () const=0</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNL3D_1_1UMaterial.html#s17">TBlend</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z56_5">getSrcBlend</a> (void) const=0</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNL3D_1_1UMaterial.html#s17">TBlend</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z56_6">getDstBlend</a> (void) const=0</td></tr> +<tr><td colspan="2"><div class="groupHeader">ZBuffer.</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z57_0">setZFunc</a> (<a class="el" href="classNL3D_1_1UMaterial.html#s16">ZFunc</a> val)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z57_1">setZWrite</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_1UMaterial.html#z57_2">setZBias</a> (float val)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNL3D_1_1UMaterial.html#s16">ZFunc</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z57_3">getZFunc</a> (void) const=0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z57_4">getZWrite</a> (void) const=0</td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z57_5">getZBias</a> (void) const=0</td></tr> +<tr><td colspan="2"><div class="groupHeader">Color/Lighting..</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z58_0">setColor</a> (CRGBA rgba)=0</td></tr> +<tr><td> </td><td><font size=-1><em>The Color is used only if lighting is disabled. Also, color is replaced by per vertex color (if any).</em> <a href="#z58_0">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_1UMaterial.html#z58_1">getColor</a> (void) const=0</td></tr> +<tr><td colspan="2"><div class="groupHeader">Culling</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z59_0">setDoubleSided</a> (bool doubleSided=true)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z59_1">getDoubleSided</a> () const=0</td></tr> +<tr><td colspan="2"><div class="groupHeader">Misc</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z60_0">initUnlit</a> ()=0</td></tr> +<tr><td> </td><td><font size=-1><em>Init the material as unlit.</em> <a href="#z60_0">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_1UMaterial.html#z54_0">UMaterial</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classNL3D_1_1UMaterial.html#z54_1">~UMaterial</a> ()</td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Game Interface for Material. +<p> +Material for gamers are Unlighted materials!! There is only One texture stage. <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__material_8h-source.html#l00049">49</a> of file <a class="el" href="u__material_8h-source.html">u_material.h</a>.<hr><h2>Member Enumeration Documentation</h2> +<a name="s17" doxytag="NL3D::UMaterial::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::UMaterial::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="s17s9" doxytag="one"></a><em>one</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s17s10" doxytag="zero"></a><em>zero</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s17s11" doxytag="srcalpha"></a><em>srcalpha</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s17s12" doxytag="invsrcalpha"></a><em>invsrcalpha</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s17s13" doxytag="srccolor"></a><em>srccolor</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s17s14" doxytag="invsrccolor"></a><em>invsrccolor</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s17s15" doxytag="blendCount"></a><em>blendCount</em></em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="u__material_8h-source.html#l00061">61</a> of file <a class="el" href="u__material_8h-source.html">u_material.h</a>. +<p> +Referenced by <a class="el" href="material__user_8h-source.html#l00140">NL3D::CMaterialUser::getDstBlend</a>, <a class="el" href="material__user_8h-source.html#l00135">NL3D::CMaterialUser::getSrcBlend</a>, <a class="el" href="material__user_8h-source.html#l00114">NL3D::CMaterialUser::setBlendFunc</a>, <a class="el" href="material__user_8h-source.html#l00124">NL3D::CMaterialUser::setDstBlend</a>, and <a class="el" href="material__user_8h-source.html#l00119">NL3D::CMaterialUser::setSrcBlend</a>. </td> + </tr> +</table> +<a name="s16" doxytag="NL3D::UMaterial::ZFunc"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum NL3D::UMaterial::ZFunc + </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="s16s0" doxytag="always"></a><em>always</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s16s1" doxytag="never"></a><em>never</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s16s2" doxytag="equal"></a><em>equal</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s16s3" doxytag="notequal"></a><em>notequal</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s16s4" doxytag="less"></a><em>less</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s16s5" doxytag="lessequal"></a><em>lessequal</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s16s6" doxytag="greater"></a><em>greater</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s16s7" doxytag="greaterequal"></a><em>greaterequal</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s16s8" doxytag="zfuncCount"></a><em>zfuncCount</em></em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="u__material_8h-source.html#l00060">60</a> of file <a class="el" href="u__material_8h-source.html">u_material.h</a>. +<p> +Referenced by <a class="el" href="material__user_8h-source.html#l00165">NL3D::CMaterialUser::getZFunc</a>, and <a class="el" href="material__user_8h-source.html#l00150">NL3D::CMaterialUser::setZFunc</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="z54_0" doxytag="NL3D::UMaterial::UMaterial"></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::UMaterial::UMaterial </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__material_8h-source.html#l00055">55</a> of file <a class="el" href="u__material_8h-source.html">u_material.h</a>. </td> + </tr> +</table> +<a name="z54_1" doxytag="NL3D::UMaterial::~UMaterial"></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::UMaterial::~UMaterial </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__material_8h-source.html#l00056">56</a> of file <a class="el" href="u__material_8h-source.html">u_material.h</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="z56_4" doxytag="NL3D::UMaterial::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::UMaterial::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_1CMaterialUser.html#z555_4">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z58_1" doxytag="NL3D::UMaterial::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::UMaterial::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_1CMaterialUser.html#z557_1">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z59_1" doxytag="NL3D::UMaterial::getDoubleSided"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::UMaterial::getDoubleSided </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_1CMaterialUser.html#z558_1">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z56_6" doxytag="NL3D::UMaterial::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_1UMaterial.html#s17">TBlend</a> NL3D::UMaterial::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_1CMaterialUser.html#z555_6">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z56_5" doxytag="NL3D::UMaterial::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_1UMaterial.html#s17">TBlend</a> NL3D::UMaterial::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_1CMaterialUser.html#z555_5">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z57_5" doxytag="NL3D::UMaterial::getZBias"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual float NL3D::UMaterial::getZBias </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_1CMaterialUser.html#z556_5">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z57_3" doxytag="NL3D::UMaterial::getZFunc"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="classNL3D_1_1UMaterial.html#s16">ZFunc</a> NL3D::UMaterial::getZFunc </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_1CMaterialUser.html#z556_3">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z57_4" doxytag="NL3D::UMaterial::getZWrite"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::UMaterial::getZWrite </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_1CMaterialUser.html#z556_4">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z60_0" doxytag="NL3D::UMaterial::initUnlit"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::initUnlit </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> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Init the material as unlit. +<p> +normal shader, no lighting .... Default to: normal shader, no lighting, color to White(1,1,1,1), no texture, ZBias=0, ZFunc= lessequal, ZWrite==true, no blend. All other states are undefined (such as blend function, since blend is disabled). +<p> +Implemented in <a class="el" href="classNL3D_1_1CMaterialUser.html#z559_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z55_2" doxytag="NL3D::UMaterial::selectTextureSet"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::selectTextureSet </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>id</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> +select from a texture set for this material (if available). +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CMaterialUser.html#z554_2">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z56_0" doxytag="NL3D::UMaterial::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::UMaterial::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_1CMaterialUser.html#z555_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z56_1" doxytag="NL3D::UMaterial::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::UMaterial::setBlendFunc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1UMaterial.html#s17">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_1UMaterial.html#s17">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_1CMaterialUser.html#z555_1">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z58_0" doxytag="NL3D::UMaterial::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::UMaterial::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> +The Color is used only if lighting is disabled. Also, color is replaced by per vertex color (if any). +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CMaterialUser.html#z557_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z59_0" doxytag="NL3D::UMaterial::setDoubleSided"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setDoubleSided </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>doubleSided</em> = true </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_1CMaterialUser.html#z558_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z56_3" doxytag="NL3D::UMaterial::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::UMaterial::setDstBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1UMaterial.html#s17">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_1CMaterialUser.html#z555_3">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z56_2" doxytag="NL3D::UMaterial::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::UMaterial::setSrcBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1UMaterial.html#s17">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_1CMaterialUser.html#z555_2">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z55_0" doxytag="NL3D::UMaterial::setTexture"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1UTexture.html">UTexture</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>ptex</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_1CMaterialUser.html#z554_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z57_2" doxytag="NL3D::UMaterial::setZBias"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setZBias </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </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_1CMaterialUser.html#z556_2">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z57_0" doxytag="NL3D::UMaterial::setZFunc"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setZFunc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1UMaterial.html#s16">ZFunc</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_1CMaterialUser.html#z556_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z57_1" doxytag="NL3D::UMaterial::setZWrite"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setZWrite </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>active</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CMaterialUser.html#z556_1">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a name="z55_1" doxytag="NL3D::UMaterial::texturePresent"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::UMaterial::texturePresent </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> [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_1CMaterialUser.html#z554_1">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="u__material_8h-source.html">u_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> |