diff options
Diffstat (limited to 'docs/doxygen/nel/a02850.html')
-rw-r--r-- | docs/doxygen/nel/a02850.html | 1435 |
1 files changed, 1435 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02850.html b/docs/doxygen/nel/a02850.html new file mode 100644 index 00000000..79edc518 --- /dev/null +++ b/docs/doxygen/nel/a02850.html @@ -0,0 +1,1435 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::UMaterial class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::UMaterial Class Reference</h1><code>#include <<a class="el" href="a06613.html">u_material.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::UMaterial: +<p><center><img src="a02850.png" usemap="#NL3D::UMaterial_map" border="0" alt=""></center> +<map name="NL3D::UMaterial_map"> +<area href="a02849.html" alt="NL3D::CMaterialUser" shape="rect" coords="0,56,131,80"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Game Interface for Material. Material for gamers are Unlighted materials!! Only normal material unlighted is supported. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06613.html#l00049">49</a> of file <a class="el" href="a06613.html">u_material.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialw30">TBlend</a> { <br> + <a class="el" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw23">one</a> = 0, +<a class="el" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw32">zero</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw27">srcalpha</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw15">invsrcalpha</a>, +<br> + <a class="el" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw29">srccolor</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw17">invsrccolor</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw3">blendCount</a> +<br> + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialw33">ZFunc</a> { <br> + <a class="el" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw2">always</a> = 0, +<a class="el" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw21">never</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw7">equal</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw22">notequal</a>, +<br> + <a class="el" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw18">less</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw19">lessequal</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw8">greater</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw9">greaterequal</a>, +<br> + <a class="el" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw34">zfuncCount</a> +<br> + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Blending.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_0">getBlend</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02850.html#NL3D_1_1UMaterialw30">TBlend</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_1">getDstBlend</a> (void) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02850.html#NL3D_1_1UMaterialw30">TBlend</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_2">getSrcBlend</a> (void) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_3">setBlend</a> (bool active)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_4">setBlendFunc</a> (<a class="el" href="a02850.html#NL3D_1_1UMaterialw30">TBlend</a> <a class="el" href="a04223.html#a652">src</a>, <a class="el" href="a02850.html#NL3D_1_1UMaterialw30">TBlend</a> dst)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_5">setDstBlend</a> (<a class="el" href="a02850.html#NL3D_1_1UMaterialw30">TBlend</a> val)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_6">setSrcBlend</a> (<a class="el" href="a02850.html#NL3D_1_1UMaterialw30">TBlend</a> val)=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Color/Lighting..</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03337.html">CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1492_0">getColor</a> (void) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1492_1">setColor</a> (<a class="el" href="a03337.html">CRGBA</a> rgba)=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The Color is used only if lighting is disabled. Also, color is replaced by per vertex color (if any). <a href="#NL3D_1_1UMaterialz1492_1"></a><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Culling</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1494_0">getDoubleSided</a> () const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1494_1">setDoubleSided</a> (bool doubleSided=true)=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">ZBuffer.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_0">getZBias</a> (void) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02850.html#NL3D_1_1UMaterialw33">ZFunc</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_1">getZFunc</a> (void) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_2">getZWrite</a> (void) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_3">setZBias</a> (float val)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_4">setZFunc</a> (<a class="el" href="a02850.html#NL3D_1_1UMaterialw33">ZFunc</a> val)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_5">setZWrite</a> (bool active)=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Misc</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1496_0">initUnlit</a> ()=0</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Texture.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1484_0">selectTextureSet</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">select from a texture set for this material (if available) <a href="#NL3D_1_1UMaterialz1484_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1484_1">setTexture</a> (<a class="el" href="a03504.html">UTexture</a> *ptex)=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">select from a texture set for this material (if available) <a href="#NL3D_1_1UMaterialz1484_1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1484_2">setTexture</a> (<a class="el" href="a04558.html#a15">uint</a> stage, <a class="el" href="a03504.html">UTexture</a> *ptex)=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">select from a texture set for this material (if available) <a href="#NL3D_1_1UMaterialz1484_2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1484_3">texturePresent</a> ()=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">select from a texture set for this material (if available) <a href="#NL3D_1_1UMaterialz1484_3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1484_4">texturePresent</a> (<a class="el" href="a04558.html#a15">uint</a> stage)=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">select from a texture set for this material (if available) <a href="#NL3D_1_1UMaterialz1484_4"></a><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Texture environnement.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_0">texEnvArg0Alpha</a> (<a class="el" href="a04558.html#a15">uint</a> stage, <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2">TTexSource</a> <a class="el" href="a04223.html#a652">src</a>, <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0">TTexOperand</a> oper)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_1">texEnvArg0RGB</a> (<a class="el" href="a04558.html#a15">uint</a> stage, <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2">TTexSource</a> <a class="el" href="a04223.html#a652">src</a>, <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0">TTexOperand</a> oper)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_2">texEnvArg1Alpha</a> (<a class="el" href="a04558.html#a15">uint</a> stage, <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2">TTexSource</a> <a class="el" href="a04223.html#a652">src</a>, <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0">TTexOperand</a> oper)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_3">texEnvArg1RGB</a> (<a class="el" href="a04558.html#a15">uint</a> stage, <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2">TTexSource</a> <a class="el" href="a04223.html#a652">src</a>, <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0">TTexOperand</a> oper)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_4">texEnvOpAlpha</a> (<a class="el" href="a04558.html#a15">uint</a> stage, <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1">TTexOperator</a> ope)=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_5">texEnvOpRGB</a> (<a class="el" href="a04558.html#a15">uint</a> stage, <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1">TTexOperator</a> ope)=0</td></tr> + +<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1480_0">UMaterial</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02850.html#NL3D_1_1UMaterialz1480_1">~UMaterial</a> ()</td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1UMaterialw30" doxytag="NL3D::UMaterial::TBlend" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02850.html#NL3D_1_1UMaterialw30">NL3D::UMaterial::TBlend</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw30NL3D_1_1UMaterialw23" doxytag="one" ></a>one</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw30NL3D_1_1UMaterialw32" doxytag="zero" ></a>zero</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw30NL3D_1_1UMaterialw27" doxytag="srcalpha" ></a>srcalpha</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw30NL3D_1_1UMaterialw15" doxytag="invsrcalpha" ></a>invsrcalpha</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw30NL3D_1_1UMaterialw29" doxytag="srccolor" ></a>srccolor</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw30NL3D_1_1UMaterialw17" doxytag="invsrccolor" ></a>invsrccolor</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw30NL3D_1_1UMaterialw3" doxytag="blendCount" ></a>blendCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06613.html#l00061">61</a> of file <a class="el" href="a06613.html">u_material.h</a>. +<p> +<div class="fragment"><pre>00061 { <a class="code" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw23">one</a>=0, <a class="code" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw32">zero</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw27">srcalpha</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw15">invsrcalpha</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw29">srccolor</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw17">invsrccolor</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialw30NL3D_1_1UMaterialw3">blendCount</a> }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1482_0" doxytag="NL3D::UMaterial::TTexOperand" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0">NL3D::UMaterial::TTexOperand</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Operand for the argument. For Alpha arguments, only SrcAlpha and InvSrcAlpha are Valid!! <br> + SrcColor: arg= ColorSource. InvSrcColor: arg= 1-ColorSource. SrcAlpha: arg= AlphaSource. InvSrcAlpha: arg= 1-AlphaSource.<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw28" doxytag="SrcColor" ></a>SrcColor</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw16" doxytag="InvSrcColor" ></a>InvSrcColor</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw26" doxytag="SrcAlpha" ></a>SrcAlpha</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw14" doxytag="InvSrcAlpha" ></a>InvSrcAlpha</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06613.html#l00094">94</a> of file <a class="el" href="a06613.html">u_material.h</a>. +<p> +<div class="fragment"><pre>00094 { <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw28">SrcColor</a>=0, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw16">InvSrcColor</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw26">SrcAlpha</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw14">InvSrcAlpha</a> }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1482_1" doxytag="NL3D::UMaterial::TTexOperator" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1">NL3D::UMaterial::TTexOperator</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Environements operators: Replace: out= arg0 Modulate: out= arg0 * arg1 Add: out= arg0 + arg1 AddSigned: out= arg0 + arg1 -0.5 Interpolate*: out= arg0*As + arg1*(1-As), where As is taken from the SrcAlpha of Texture/Previous/Diffuse/Constant, respectively if operator is InterpolateTexture/InterpolatePrevious/InterpolateDiffuse/InterpolateConstant. EMBM : apply to both color and alpha : the current texture, whose format is DSDT, is used to offset the texture in the next stage. NB : for EMBM and InterpolateConstant, this must be supported by driver.<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw25" doxytag="Replace" ></a>Replace</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw20" doxytag="Modulate" ></a>Modulate</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw0" doxytag="Add" ></a>Add</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw1" doxytag="AddSigned" ></a>AddSigned</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw13" doxytag="InterpolateTexture" ></a>InterpolateTexture</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw12" doxytag="InterpolatePrevious" ></a>InterpolatePrevious</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw11" doxytag="InterpolateDiffuse" ></a>InterpolateDiffuse</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw10" doxytag="InterpolateConstant" ></a>InterpolateConstant</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw6" doxytag="EMBM" ></a>EMBM</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06613.html#l00076">76</a> of file <a class="el" href="a06613.html">u_material.h</a>. +<p> +<div class="fragment"><pre>00076 { <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw25">Replace</a>=0, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw20">Modulate</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw0">Add</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw1">AddSigned</a>, +00077 <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw13">InterpolateTexture</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw12">InterpolatePrevious</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw11">InterpolateDiffuse</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw10">InterpolateConstant</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw6">EMBM</a> }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1482_2" doxytag="NL3D::UMaterial::TTexSource" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2">NL3D::UMaterial::TTexSource</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Source argument. Texture: the arg is taken from the current texture of the stage. Previous: the arg is taken from the previous enabled stage. If stage 0, Previous==Diffuse. Diffuse: the arg is taken from the primary color vertex. Constant: the arg is taken from the constant color setuped for this texture stage.<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw31" doxytag="Texture" ></a>Texture</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw24" doxytag="Previous" ></a>Previous</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw5" doxytag="Diffuse" ></a>Diffuse</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw4" doxytag="Constant" ></a>Constant</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06613.html#l00085">85</a> of file <a class="el" href="a06613.html">u_material.h</a>. +<p> +<div class="fragment"><pre>00085 { <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw31">Texture</a>=0, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw24">Previous</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw5">Diffuse</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw4">Constant</a> }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialw33" doxytag="NL3D::UMaterial::ZFunc" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02850.html#NL3D_1_1UMaterialw33">NL3D::UMaterial::ZFunc</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw33NL3D_1_1UMaterialw2" doxytag="always" ></a>always</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw33NL3D_1_1UMaterialw21" doxytag="never" ></a>never</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw33NL3D_1_1UMaterialw7" doxytag="equal" ></a>equal</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw33NL3D_1_1UMaterialw22" doxytag="notequal" ></a>notequal</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw33NL3D_1_1UMaterialw18" doxytag="less" ></a>less</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw33NL3D_1_1UMaterialw19" doxytag="lessequal" ></a>lessequal</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw33NL3D_1_1UMaterialw8" doxytag="greater" ></a>greater</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw33NL3D_1_1UMaterialw9" doxytag="greaterequal" ></a>greaterequal</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1UMaterialw33NL3D_1_1UMaterialw34" doxytag="zfuncCount" ></a>zfuncCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06613.html#l00060">60</a> of file <a class="el" href="a06613.html">u_material.h</a>. +<p> +<div class="fragment"><pre>00060 { <a class="code" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw2">always</a>=0,<a class="code" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw21">never</a>,<a class="code" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw7">equal</a>,<a class="code" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw22">notequal</a>,<a class="code" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw18">less</a>,<a class="code" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw19">lessequal</a>,<a class="code" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw8">greater</a>,<a class="code" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw9">greaterequal</a>, <a class="code" href="a02850.html#NL3D_1_1UMaterialw33NL3D_1_1UMaterialw34">zfuncCount</a> }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1UMaterialz1480_0" doxytag="NL3D::UMaterial::UMaterial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::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="a06613.html#l00055">55</a> of file <a class="el" href="a06613.html">u_material.h</a>. +<p> +<div class="fragment"><pre>00055 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1480_1" doxytag="NL3D::UMaterial::~UMaterial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual NL3D::UMaterial::~<a class="el" href="a02850.html">UMaterial</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06613.html#l00056">56</a> of file <a class="el" href="a06613.html">u_material.h</a>. +<p> +<div class="fragment"><pre>00056 {} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1UMaterialz1486_0" doxytag="NL3D::UMaterial::getBlend" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::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="a02849.html#NL3D_1_1CMaterialUserz391_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1492_0" doxytag="NL3D::UMaterial::getColor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a03337.html">CRGBA</a> NL3D::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="a02849.html#NL3D_1_1CMaterialUserz397_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1494_0" doxytag="NL3D::UMaterial::getDoubleSided" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::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="a02849.html#NL3D_1_1CMaterialUserz399_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1486_1" doxytag="NL3D::UMaterial::getDstBlend" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a02850.html#NL3D_1_1UMaterialw30">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="a02849.html#NL3D_1_1CMaterialUserz391_1">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1486_2" doxytag="NL3D::UMaterial::getSrcBlend" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a02850.html#NL3D_1_1UMaterialw30">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="a02849.html#NL3D_1_1CMaterialUserz391_2">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1490_0" doxytag="NL3D::UMaterial::getZBias" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual float NL3D::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="a02849.html#NL3D_1_1CMaterialUserz395_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1490_1" doxytag="NL3D::UMaterial::getZFunc" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a02850.html#NL3D_1_1UMaterialw33">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="a02849.html#NL3D_1_1CMaterialUserz395_1">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1490_2" doxytag="NL3D::UMaterial::getZWrite" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::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="a02849.html#NL3D_1_1CMaterialUserz395_2">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1496_0" doxytag="NL3D::UMaterial::initUnlit" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::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. 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="a02849.html#NL3D_1_1CMaterialUserz401_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1484_0" doxytag="NL3D::UMaterial::selectTextureSet" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::selectTextureSet </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>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="a02849.html#NL3D_1_1CMaterialUserz389_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1486_3" doxytag="NL3D::UMaterial::setBlend" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::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="a02849.html#NL3D_1_1CMaterialUserz391_3">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1486_4" doxytag="NL3D::UMaterial::setBlendFunc" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setBlendFunc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02850.html#NL3D_1_1UMaterialw30">TBlend</a> </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02850.html#NL3D_1_1UMaterialw30">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="a02849.html#NL3D_1_1CMaterialUserz391_4">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1492_1" doxytag="NL3D::UMaterial::setColor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03337.html">CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>rgba</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +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="a02849.html#NL3D_1_1CMaterialUserz397_1">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1494_1" doxytag="NL3D::UMaterial::setDoubleSided" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::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="a02849.html#NL3D_1_1CMaterialUserz399_1">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1486_5" doxytag="NL3D::UMaterial::setDstBlend" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setDstBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02850.html#NL3D_1_1UMaterialw30">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="a02849.html#NL3D_1_1CMaterialUserz391_5">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1486_6" doxytag="NL3D::UMaterial::setSrcBlend" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setSrcBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02850.html#NL3D_1_1UMaterialw30">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="a02849.html#NL3D_1_1CMaterialUserz391_6">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1484_1" doxytag="NL3D::UMaterial::setTexture" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03504.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> +select from a texture set for this material (if available) +<p> + +<p> +Implemented in <a class="el" href="a02849.html#NL3D_1_1CMaterialUserz389_2">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1484_2" doxytag="NL3D::UMaterial::setTexture" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03504.html">UTexture</a> * </td> + <td class="mdname" nowrap> <em>ptex</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> +select from a texture set for this material (if available) +<p> + +<p> +Implemented in <a class="el" href="a02849.html#NL3D_1_1CMaterialUserz389_1">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1490_3" doxytag="NL3D::UMaterial::setZBias" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::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="a02849.html#NL3D_1_1CMaterialUserz395_3">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1490_4" doxytag="NL3D::UMaterial::setZFunc" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::setZFunc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02850.html#NL3D_1_1UMaterialw33">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="a02849.html#NL3D_1_1CMaterialUserz395_4">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1490_5" doxytag="NL3D::UMaterial::setZWrite" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::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="a02849.html#NL3D_1_1CMaterialUserz395_5">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1488_0" doxytag="NL3D::UMaterial::texEnvArg0Alpha" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::texEnvArg0Alpha </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2">TTexSource</a> </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0">TTexOperand</a> </td> + <td class="mdname" nowrap> <em>oper</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="a02849.html#NL3D_1_1CMaterialUserz393_0">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1488_1" doxytag="NL3D::UMaterial::texEnvArg0RGB" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::texEnvArg0RGB </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2">TTexSource</a> </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0">TTexOperand</a> </td> + <td class="mdname" nowrap> <em>oper</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="a02849.html#NL3D_1_1CMaterialUserz393_1">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1488_2" doxytag="NL3D::UMaterial::texEnvArg1Alpha" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::texEnvArg1Alpha </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2">TTexSource</a> </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0">TTexOperand</a> </td> + <td class="mdname" nowrap> <em>oper</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="a02849.html#NL3D_1_1CMaterialUserz393_2">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1488_3" doxytag="NL3D::UMaterial::texEnvArg1RGB" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::texEnvArg1RGB </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2">TTexSource</a> </td> + <td class="mdname" nowrap> <em>src</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0">TTexOperand</a> </td> + <td class="mdname" nowrap> <em>oper</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="a02849.html#NL3D_1_1CMaterialUserz393_3">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1488_4" doxytag="NL3D::UMaterial::texEnvOpAlpha" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::texEnvOpAlpha </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1">TTexOperator</a> </td> + <td class="mdname" nowrap> <em>ope</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="a02849.html#NL3D_1_1CMaterialUserz393_4">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1488_5" doxytag="NL3D::UMaterial::texEnvOpRGB" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::UMaterial::texEnvOpRGB </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1">TTexOperator</a> </td> + <td class="mdname" nowrap> <em>ope</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="a02849.html#NL3D_1_1CMaterialUserz393_5">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1484_3" doxytag="NL3D::UMaterial::texturePresent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::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> +select from a texture set for this material (if available) +<p> + +<p> +Implemented in <a class="el" href="a02849.html#NL3D_1_1CMaterialUserz389_4">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1UMaterialz1484_4" doxytag="NL3D::UMaterial::texturePresent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::UMaterial::texturePresent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><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="a02849.html#NL3D_1_1CMaterialUserz389_3">NL3D::CMaterialUser</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a06613.html">u_material.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:46:55 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |