diff options
Diffstat (limited to 'docs/doxygen/nel/a02849.html')
-rw-r--r-- | docs/doxygen/nel/a02849.html | 1903 |
1 files changed, 1903 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02849.html b/docs/doxygen/nel/a02849.html new file mode 100644 index 00000000..822661f5 --- /dev/null +++ b/docs/doxygen/nel/a02849.html @@ -0,0 +1,1903 @@ +<!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::CMaterialUser 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::CMaterialUser Class Reference</h1><code>#include <<a class="el" href="a05971.html">material_user.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CMaterialUser: +<p><center><img src="a02849.png" usemap="#NL3D::CMaterialUser_map" border="0" alt=""></center> +<map name="NL3D::CMaterialUser_map"> +<area href="a02850.html" alt="NL3D::UMaterial" shape="rect" coords="0,0,131,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="a02850.html">UMaterial</a> implementation. <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="a05971.html#l00050">50</a> of file <a class="el" href="a05971.html">material_user.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"><div class="groupHeader">Texture Env Modes.</div></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_1UMaterialz1482_0">TTexOperand</a> { <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw28">SrcColor</a> = 0, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw16">InvSrcColor</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw26">SrcAlpha</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw14">InvSrcAlpha</a> + }</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_1UMaterialz1482_1">TTexOperator</a> { <br> + <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw25">Replace</a> = 0, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw20">Modulate</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw0">Add</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw1">AddSigned</a>, +<br> + <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw13">InterpolateTexture</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw12">InterpolatePrevious</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw11">InterpolateDiffuse</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw10">InterpolateConstant</a>, +<br> + <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw6">EMBM</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_1UMaterialz1482_2">TTexSource</a> { <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw31">Texture</a> = 0, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw24">Previous</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw5">Diffuse</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw4">Constant</a> + }</td></tr> + +<tr><td colspan="2"><div class="groupHeader">Texture Env Modes.</div></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_1UMaterialz1482_0">TTexOperand</a> { <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw28">SrcColor</a> = 0, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw16">InvSrcColor</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw26">SrcAlpha</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_0NL3D_1_1UMaterialw14">InvSrcAlpha</a> + }</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_1UMaterialz1482_1">TTexOperator</a> { <br> + <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw25">Replace</a> = 0, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw20">Modulate</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw0">Add</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw1">AddSigned</a>, +<br> + <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw13">InterpolateTexture</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw12">InterpolatePrevious</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw11">InterpolateDiffuse</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw10">InterpolateConstant</a>, +<br> + <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_1NL3D_1_1UMaterialw6">EMBM</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_1UMaterialz1482_2">TTexSource</a> { <a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw31">Texture</a> = 0, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw24">Previous</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw5">Diffuse</a>, +<a class="el" href="a02850.html#NL3D_1_1UMaterialz1482_2NL3D_1_1UMaterialw4">Constant</a> + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUsera0">getMaterial</a> ()</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="a02849.html#NL3D_1_1CMaterialUserz387_0">CMaterialUser</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz387_1">~CMaterialUser</a> ()</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="a02849.html#NL3D_1_1CMaterialUserz391_0">getBlend</a> () const </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="a02849.html#NL3D_1_1CMaterialUserz391_1">getDstBlend</a> (void) const </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="a02849.html#NL3D_1_1CMaterialUserz391_2">getSrcBlend</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz391_3">setBlend</a> (bool active)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz391_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)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz391_5">setDstBlend</a> (<a class="el" href="a02850.html#NL3D_1_1UMaterialw30">TBlend</a> val)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz391_6">setSrcBlend</a> (<a class="el" href="a02850.html#NL3D_1_1UMaterialw30">TBlend</a> val)</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="a02849.html#NL3D_1_1CMaterialUserz397_0">getColor</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz397_1">setColor</a> (<a class="el" href="a03337.html">CRGBA</a> rgba)</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_1CMaterialUserz397_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="a02849.html#NL3D_1_1CMaterialUserz399_0">getDoubleSided</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz399_1">setDoubleSided</a> (bool doubleSided=true)</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="a02849.html#NL3D_1_1CMaterialUserz395_0">getZBias</a> (void) const </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="a02849.html#NL3D_1_1CMaterialUserz395_1">getZFunc</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz395_2">getZWrite</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz395_3">setZBias</a> (float val)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz395_4">setZFunc</a> (<a class="el" href="a02850.html#NL3D_1_1UMaterialw33">ZFunc</a> val)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz395_5">setZWrite</a> (bool active)</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="a02849.html#NL3D_1_1CMaterialUserz401_0">initUnlit</a> ()</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="a02849.html#NL3D_1_1CMaterialUserz389_0">selectTextureSet</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">select from a texture set for this material (if available) <a href="#NL3D_1_1CMaterialUserz389_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="a02849.html#NL3D_1_1CMaterialUserz389_1">setTexture</a> (<a class="el" href="a04558.html#a15">uint</a> stage, <a class="el" href="a03504.html">UTexture</a> *ptex)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">select from a texture set for this material (if available) <a href="#NL3D_1_1CMaterialUserz389_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="a02849.html#NL3D_1_1CMaterialUserz389_2">setTexture</a> (<a class="el" href="a03504.html">UTexture</a> *ptex)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">select from a texture set for this material (if available) <a href="#NL3D_1_1CMaterialUserz389_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="a02849.html#NL3D_1_1CMaterialUserz389_3">texturePresent</a> (<a class="el" href="a04558.html#a15">uint</a> stage)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">select from a texture set for this material (if available) <a href="#NL3D_1_1CMaterialUserz389_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="a02849.html#NL3D_1_1CMaterialUserz389_4">texturePresent</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">select from a texture set for this material (if available) <a href="#NL3D_1_1CMaterialUserz389_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="a02849.html#NL3D_1_1CMaterialUserz393_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)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz393_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)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz393_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)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz393_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)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz393_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)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserz393_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)</td></tr> + +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02839.html">CMaterial</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a></td></tr> + +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a02849.html#NL3D_1_1CMaterialUsern0">CDriverUser</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1UMaterialw30" doxytag="NL3D::CMaterialUser::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><code> [inherited]</code> + </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::CMaterialUser::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><code> [inherited]</code> + </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::CMaterialUser::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><code> [inherited]</code> + </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::CMaterialUser::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><code> [inherited]</code> + </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::CMaterialUser::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><code> [inherited]</code> + </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_1CMaterialUserz387_0" doxytag="NL3D::CMaterialUser::CMaterialUser" ></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::CMaterialUser::CMaterialUser </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]</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="a05971.html#l00060">60</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05968.html#l00059">NL3D::CMaterial::initUnlit()</a>, <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00061 { +00062 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00063 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.initUnlit(); +00064 <span class="comment">// Enum assertion. User have access only to 6 first blend modes. Other are internals.</span> +00065 <a class="code" href="a04199.html#a6">nlassert</a>((<a class="code" href="a04558.html#a15">uint</a>)UMaterial::blendCount==(<a class="code" href="a04558.html#a15">uint</a>)CMaterial::blendConstantColor); +00066 <span class="comment">// Enum assertion.</span> +00067 <a class="code" href="a04199.html#a6">nlassert</a>((<a class="code" href="a04558.html#a15">uint</a>)UMaterial::zfuncCount==(<a class="code" href="a04558.html#a15">uint</a>)CMaterial::zfuncCount); +00068 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz387_1" doxytag="NL3D::CMaterialUser::~CMaterialUser" ></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::CMaterialUser::~<a class="el" href="a02849.html">CMaterialUser</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, 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="a05971.html#l00069">69</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>. +<p> +<div class="fragment"><pre>00070 { +00071 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00072 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CMaterialUserz391_0" doxytag="NL3D::CMaterialUser::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::CMaterialUser::getBlend </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_0">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00140">140</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05969.html#l00278">NL3D::CMaterial::getBlend()</a>, and <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>. +<p> +<div class="fragment"><pre>00141 { +00142 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00143 <span class="keywordflow">return</span> <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.getBlend(); +00144 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz397_0" doxytag="NL3D::CMaterialUser::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::CMaterialUser::getColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1492_0">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00242">242</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05969.html#l00376">NL3D::CMaterial::getColor()</a>, and <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>. +<p> +<div class="fragment"><pre>00243 { +00244 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00245 <span class="keywordflow">return</span> <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.getColor(); +00246 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz399_0" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1494_0">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00256">256</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05969.html#l00308">NL3D::CMaterial::getDoubleSided()</a>, and <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>. +<p> +<div class="fragment"><pre>00257 { +00258 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00259 <span class="keywordflow">return</span> <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.getDoubleSided(); +00260 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz391_1" doxytag="NL3D::CMaterialUser::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::CMaterialUser::getDstBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_1">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00150">150</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05969.html#l00280">NL3D::CMaterial::getDstBlend()</a>, <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00151 { +00152 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00153 <span class="keywordflow">return</span> (UMaterial::TBlend)(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.getDstBlend(); +00154 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUsera0" doxytag="NL3D::CMaterialUser::getMaterial" ></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"> <a class="el" href="a02839.html">CMaterial</a>& NL3D::CMaterialUser::getMaterial </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05971.html#l00281">281</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>. +<p> +<div class="fragment"><pre>00282 { +00283 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00284 <span class="keywordflow">return</span> <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>; +00285 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz391_2" doxytag="NL3D::CMaterialUser::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::CMaterialUser::getSrcBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_2">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00145">145</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05969.html#l00279">NL3D::CMaterial::getSrcBlend()</a>, <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00146 { +00147 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00148 <span class="keywordflow">return</span> (UMaterial::TBlend)(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.getSrcBlend(); +00149 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz395_0" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_0">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00225">225</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05969.html#l00336">NL3D::CMaterial::getZBias()</a>, and <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>. +<p> +<div class="fragment"><pre>00226 { +00227 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00228 <span class="keywordflow">return</span> <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.getZBias(); +00229 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz395_1" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_1">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00215">215</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05969.html#l00334">NL3D::CMaterial::getZFunc()</a>, <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00216 { +00217 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00218 <span class="keywordflow">return</span> (UMaterial::ZFunc)(<a class="code" href="a04558.html#a11">uint32</a>)<a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.getZFunc(); +00219 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz395_2" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_2">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00220">220</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05969.html#l00335">NL3D::CMaterial::getZWrite()</a>, and <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>. +<p> +<div class="fragment"><pre>00221 { +00222 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00223 <span class="keywordflow">return</span> <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.getZWrite(); +00224 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz401_0" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, 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> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1496_0">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00269">269</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05968.html#l00059">NL3D::CMaterial::initUnlit()</a>, and <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>. +<p> +Referenced by <a class="el" href="a05657.html#l00285">NL3D::CDriverUser::release()</a>, and <a class="el" href="a05657.html#l00230">NL3D::CDriverUser::setDisplay()</a>. +<p> +<div class="fragment"><pre>00270 { +00271 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00272 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.initUnlit(); +00273 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz389_0" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, 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> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1484_0">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00108">108</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05968.html#l00558">NL3D::CMaterial::selectTextureSet()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00109 { +00110 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00111 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.selectTextureSet(<span class="keywordtype">id</span>); +00112 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz391_3" doxytag="NL3D::CMaterialUser::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::CMaterialUser::setBlend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>active</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_3">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00119">119</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, and <a class="el" href="a05641.html#l00064">NL3D::CMaterial::setBlend()</a>. +<p> +Referenced by <a class="el" href="a05657.html#l00850">NL3D::CDriverUser::drawBitmap()</a>, <a class="el" href="a05657.html#l00876">NL3D::CDriverUser::drawLine()</a>, <a class="el" href="a05657.html#l00907">NL3D::CDriverUser::drawQuad()</a>, and <a class="el" href="a05657.html#l00891">NL3D::CDriverUser::drawTriangle()</a>. +<p> +<div class="fragment"><pre>00120 { +00121 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00122 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.setBlend(active); +00123 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz391_4" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_4">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00124">124</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05641.html#l00091">NL3D::CMaterial::setBlendFunc()</a>, <a class="el" href="a05646.html#l01124">src</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00125 { +00126 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00127 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.setBlendFunc((CMaterial::TBlend)(<a class="code" href="a04558.html#a11">uint32</a>)src, (CMaterial::TBlend)(uint32)dst); +00128 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz397_1" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, 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> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1492_1">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00236">236</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, and <a class="el" href="a05641.html#l00118">NL3D::CMaterial::setColor()</a>. +<p> +Referenced by <a class="el" href="a05657.html#l00850">NL3D::CDriverUser::drawBitmap()</a>, <a class="el" href="a05657.html#l00876">NL3D::CDriverUser::drawLine()</a>, <a class="el" href="a05657.html#l00907">NL3D::CDriverUser::drawQuad()</a>, and <a class="el" href="a05657.html#l00891">NL3D::CDriverUser::drawTriangle()</a>. +<p> +<div class="fragment"><pre>00237 { +00238 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00239 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.setColor(rgba); +00240 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz399_1" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1494_1">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00251">251</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, and <a class="el" href="a05641.html#l00071">NL3D::CMaterial::setDoubleSided()</a>. +<p> +<div class="fragment"><pre>00252 { +00253 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00254 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.setDoubleSided(doubleSided); +00255 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz391_5" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_5">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00134">134</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05641.html#l00058">NL3D::CMaterial::setDstBlend()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00135 { +00136 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00137 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.setDstBlend((CMaterial::TBlend)(<a class="code" href="a04558.html#a11">uint32</a>)val); +00138 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz391_6" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1486_6">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00129">129</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05641.html#l00052">NL3D::CMaterial::setSrcBlend()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00130 { +00131 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00132 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.setSrcBlend((CMaterial::TBlend)(<a class="code" href="a04558.html#a11">uint32</a>)val); +00133 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz389_1" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, 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> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1484_2">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00082">82</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05968.html#l00322">NL3D::CMaterial::setTexture()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00083 { +00084 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00085 CTextureUser *text= dynamic_cast<CTextureUser*>(ptex); +00086 <span class="keywordflow">if</span> (text != NULL) +00087 { +00088 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.setTexture (stage, text->getITexture()); +00089 } +00090 <span class="keywordflow">else</span> +00091 { +00092 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.setTexture (stage, NULL); +00093 } +00094 <span class="comment">// NB: _Material smartpoint to this ITexture. But this is correct because so does CTextureUser.</span> +00095 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz389_2" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, 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> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1484_1">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00077">77</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +Referenced by <a class="el" href="a05657.html#l00850">NL3D::CDriverUser::drawBitmap()</a>. +<p> +<div class="fragment"><pre>00078 { +00079 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserz389_2">setTexture</a> (0, ptex); +00080 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz395_3" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_3">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00210">210</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05641.html#l00112">NL3D::CMaterial::setZBias()</a>. +<p> +<div class="fragment"><pre>00211 { +00212 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.setZBias(val); +00213 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz395_4" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_4">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00200">200</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05641.html#l00099">NL3D::CMaterial::setZFunc()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a05657.html#l00230">NL3D::CDriverUser::setDisplay()</a>. +<p> +<div class="fragment"><pre>00201 { +00202 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00203 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.setZFunc((CMaterial::ZFunc)(<a class="code" href="a04558.html#a11">uint32</a>) val); +00204 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz395_5" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1490_5">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00205">205</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, and <a class="el" href="a05641.html#l00105">NL3D::CMaterial::setZWrite()</a>. +<p> +Referenced by <a class="el" href="a05657.html#l00230">NL3D::CDriverUser::setDisplay()</a>. +<p> +<div class="fragment"><pre>00206 { +00207 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00208 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.setZWrite(active); +00209 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz393_0" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_0">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00184">184</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05646.html#l01124">src</a>, <a class="el" href="a05641.html#l00247">NL3D::CMaterial::texEnvArg0Alpha()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00185 { +00186 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00187 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.texEnvArg0Alpha (stage, (CMaterial::TTexSource)(<a class="code" href="a04558.html#a11">uint32</a>)src, (CMaterial::TTexOperand)(uint32)oper); +00188 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz393_1" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_1">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00166">166</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05646.html#l01124">src</a>, <a class="el" href="a05641.html#l00221">NL3D::CMaterial::texEnvArg0RGB()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00167 { +00168 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00169 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.texEnvArg0RGB (stage, (CMaterial::TTexSource)(<a class="code" href="a04558.html#a11">uint32</a>)src, (CMaterial::TTexOperand)(uint32)oper); +00170 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz393_2" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_2">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00190">190</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05646.html#l01124">src</a>, <a class="el" href="a05641.html#l00256">NL3D::CMaterial::texEnvArg1Alpha()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00191 { +00192 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00193 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.texEnvArg1Alpha (stage, (CMaterial::TTexSource)(<a class="code" href="a04558.html#a11">uint32</a>)src, (CMaterial::TTexOperand)(uint32)oper); +00194 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz393_3" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_3">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00172">172</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05646.html#l01124">src</a>, <a class="el" href="a05641.html#l00229">NL3D::CMaterial::texEnvArg1RGB()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00173 { +00174 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00175 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.texEnvArg1RGB (stage, (CMaterial::TTexSource)(<a class="code" href="a04558.html#a11">uint32</a>)src, (CMaterial::TTexOperand)(uint32)oper); +00176 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz393_4" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_4">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00178">178</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05641.html#l00240">NL3D::CMaterial::texEnvOpAlpha()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00179 { +00180 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00181 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.texEnvOpAlpha (stage, (CMaterial::TTexOperator)(<a class="code" href="a04558.html#a11">uint32</a>)ope); +00182 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz393_5" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1488_5">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00160">160</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05641.html#l00214">NL3D::CMaterial::texEnvOpRGB()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00161 { +00162 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00163 <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.texEnvOpRGB(stage, (CMaterial::TTexOperator)(<a class="code" href="a04558.html#a11">uint32</a>)ope); +00164 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz389_3" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, 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> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1484_4">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00102">102</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +References <a class="el" href="a05971.html#l00034">NL3D_MEM_MATERIAL</a>, <a class="el" href="a05641.html#l00036">NL3D::CMaterial::texturePresent()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00103 { +00104 <a class="code" href="a04548.html#a0">NL3D_MEM_MATERIAL</a> +00105 <span class="keywordflow">return</span> <a class="code" href="a02849.html#NL3D_1_1CMaterialUserp0">_Material</a>.texturePresent (stage); +00106 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterialUserz389_4" doxytag="NL3D::CMaterialUser::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::CMaterialUser::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> [inline, 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> +Implements <a class="el" href="a02850.html#NL3D_1_1UMaterialz1484_3">NL3D::UMaterial</a>. +<p> +Definition at line <a class="el" href="a05971.html#l00097">97</a> of file <a class="el" href="a05971.html">material_user.h</a>. +<p> +<div class="fragment"><pre>00098 { +00099 <span class="keywordflow">return</span> <a class="code" href="a02849.html#NL3D_1_1CMaterialUserz389_4">texturePresent</a> (0); +00100 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CMaterialUsern0" doxytag="NL3D::CMaterialUser::CDriverUser" ></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"> friend class <a class="el" href="a02437.html">CDriverUser</a><code> [friend]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05971.html#l00054">54</a> of file <a class="el" href="a05971.html">material_user.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CMaterialUserp0" doxytag="NL3D::CMaterialUser::_Material" ></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"> <a class="el" href="a02839.html">CMaterial</a> <a class="el" href="a02849.html#NL3D_1_1CMaterialUserp0">NL3D::CMaterialUser::_Material</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05971.html#l00053">53</a> of file <a class="el" href="a05971.html">material_user.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a05971.html">material_user.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:50:44 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> |