aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/material__user_8h-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/material__user_8h-source.html')
-rw-r--r--docs/doxygen/nel/material__user_8h-source.html296
1 files changed, 296 insertions, 0 deletions
diff --git a/docs/doxygen/nel/material__user_8h-source.html b/docs/doxygen/nel/material__user_8h-source.html
new file mode 100644
index 00000000..738cdbb6
--- /dev/null
+++ b/docs/doxygen/nel/material__user_8h-source.html
@@ -0,0 +1,296 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>material_user.h</h1><a href="material__user_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
+00007 <font class="comment">/* Copyright, 2001 Nevrax Ltd.</font>
+00008 <font class="comment"> *</font>
+00009 <font class="comment"> * This file is part of NEVRAX NEL.</font>
+00010 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font>
+00011 <font class="comment"> * it under the terms of the GNU General Public License as published by</font>
+00012 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font>
+00013 <font class="comment"> * any later version.</font>
+00014 <font class="comment"></font>
+00015 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font>
+00016 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font>
+00017 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>
+00018 <font class="comment"> * General Public License for more details.</font>
+00019 <font class="comment"></font>
+00020 <font class="comment"> * You should have received a copy of the GNU General Public License</font>
+00021 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font>
+00022 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font>
+00023 <font class="comment"> * MA 02111-1307, USA.</font>
+00024 <font class="comment"> */</font>
+00025
+00026 <font class="preprocessor">#ifndef NL_MATERIAL_USER_H</font>
+00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_MATERIAL_USER_H</font>
+00028 <font class="preprocessor"></font>
+00029 <font class="preprocessor">#include "<a class="code" href="types__nl_8h.html">nel/misc/types_nl.h</a>"</font>
+00030 <font class="preprocessor">#include "<a class="code" href="u__material_8h.html">nel/3d/u_material.h</a>"</font>
+00031 <font class="preprocessor">#include "<a class="code" href="material_8h.html">3d/material.h</a>"</font>
+00032 <font class="preprocessor">#include "<a class="code" href="texture__user_8h.html">3d/texture_user.h</a>"</font>
+00033
+<a name="l00034"></a><a class="code" href="material__user_8h.html#a0">00034</a> <font class="preprocessor">#define NL3D_MEM_MATERIAL NL_ALLOC_CONTEXT( 3dMat )</font>
+00035 <font class="preprocessor"></font>
+00036 <font class="keyword">namespace </font>NL3D
+00037 {
+00038
+00039
+00040 <font class="keyword">class </font>CDriverUser;
+00041
+00042
+00043 <font class="comment">// ***************************************************************************</font>
+<a name="l00050"></a><a class="code" href="classNL3D_1_1CMaterialUser.html">00050</a> <font class="comment"></font><font class="keyword">class </font>CMaterialUser : <font class="keyword">public</font> UMaterial
+00051 {
+00052 <font class="keyword">protected</font>:
+<a name="l00053"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#n0">00053</a> CMaterial <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>;
+<a name="l00054"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#l0">00054</a> <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classNL3D_1_1CMaterialUser.html#l0">CDriverUser</a>;
+00055
+00056 <font class="keyword">public</font>:
+00057
+00059 <font class="comment">// @{</font>
+<a name="l00060"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z553_0">00060</a> <a class="code" href="classNL3D_1_1CMaterialUser.html#z553_0">CMaterialUser</a>()
+00061 {
+00062 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00063 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.initUnlit();
+00064 <font class="comment">// Enum assertion. User have access only to 6 first blend modes. Other are internals.</font>
+00065 <a class="code" href="debug_8h.html#a6">nlassert</a>((uint)UMaterial::blendCount==(uint)CMaterial::blendConstantColor);
+00066 <font class="comment">// Enum assertion.</font>
+00067 <a class="code" href="debug_8h.html#a6">nlassert</a>((uint)UMaterial::zfuncCount==(uint)CMaterial::zfuncCount);
+00068 }
+<a name="l00069"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z553_1">00069</a> <font class="keyword">virtual</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z553_1">~CMaterialUser</a>()
+00070 {
+00071 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00072 }
+00073 <font class="comment">// @}</font>
+00074
+00076 <font class="comment">// @{</font>
+<a name="l00077"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z554_0">00077</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z554_0">setTexture</a>(UTexture* ptex)
+00078 {
+00079 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00080 CTextureUser *text= dynamic_cast&lt;CTextureUser*&gt;(ptex);
+00081 <font class="keywordflow">if</font> (text != NULL)
+00082 {
+00083 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.setTexture (0, text-&gt;getITexture());
+00084 }
+00085 <font class="keywordflow">else</font>
+00086 {
+00087 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.setTexture (0, NULL);
+00088 }
+00089 <font class="comment">// NB: _Material smartpoint to this ITexture. But this is correct because so does CTextureUser.</font>
+00090 }
+00091
+<a name="l00092"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z554_1">00092</a> <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z554_1">texturePresent</a>()
+00093 {
+00094 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00095 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.texturePresent(0);
+00096 }
+00097
+<a name="l00098"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z554_2">00098</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z554_2">selectTextureSet</a>(uint <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>)
+00099 {
+00100 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00101 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.selectTextureSet(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>);
+00102 }
+00103
+00104 <font class="comment">// @}</font>
+00105
+00106
+00108 <font class="comment">// @{</font>
+<a name="l00109"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z555_0">00109</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z555_0">setBlend</a>(<font class="keywordtype">bool</font> active)
+00110 {
+00111 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00112 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.setBlend(active);
+00113 }
+<a name="l00114"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z555_1">00114</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z555_1">setBlendFunc</a>(<a class="code" href="classNL3D_1_1UMaterial.html#s17">TBlend</a> <a class="code" href="driver__opengl__extension__def_8h.html#a409">src</a>, <a class="code" href="classNL3D_1_1UMaterial.html#s17">TBlend</a> dst)
+00115 {
+00116 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00117 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.setBlendFunc((CMaterial::TBlend)(uint32)<a class="code" href="driver__opengl__extension__def_8h.html#a409">src</a>, (CMaterial::TBlend)(uint32)dst);
+00118 }
+<a name="l00119"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z555_2">00119</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z555_2">setSrcBlend</a>(<a class="code" href="classNL3D_1_1UMaterial.html#s17">TBlend</a> val)
+00120 {
+00121 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00122 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.setSrcBlend((CMaterial::TBlend)(uint32)val);
+00123 }
+<a name="l00124"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z555_3">00124</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z555_3">setDstBlend</a>(<a class="code" href="classNL3D_1_1UMaterial.html#s17">TBlend</a> val)
+00125 {
+00126 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00127 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.setDstBlend((CMaterial::TBlend)(uint32)val);
+00128 }
+00129
+<a name="l00130"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z555_4">00130</a> <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z555_4">getBlend</a>()<font class="keyword"> const </font>
+00131 <font class="keyword"> </font>{
+00132 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00133 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.getBlend();
+00134 }
+<a name="l00135"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z555_5">00135</a> <font class="keyword">virtual</font> <a class="code" href="classNL3D_1_1UMaterial.html#s17">TBlend</a> <a class="code" href="classNL3D_1_1CMaterialUser.html#z555_5">getSrcBlend</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>
+00136 {
+00137 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00138 <font class="keywordflow">return</font> (UMaterial::TBlend)(uint32)<a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.getSrcBlend();
+00139 }
+<a name="l00140"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z555_6">00140</a> <font class="keyword">virtual</font> <a class="code" href="classNL3D_1_1UMaterial.html#s17">TBlend</a> <a class="code" href="classNL3D_1_1CMaterialUser.html#z555_6">getDstBlend</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>
+00141 {
+00142 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00143 <font class="keywordflow">return</font> (UMaterial::TBlend)(uint32)<a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.getDstBlend();
+00144 }
+00145 <font class="comment">// @}</font>
+00146
+00147
+00149 <font class="comment">// @{</font>
+<a name="l00150"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z556_0">00150</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z556_0">setZFunc</a>(<a class="code" href="classNL3D_1_1UMaterial.html#s16">ZFunc</a> val)
+00151 {
+00152 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00153 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.setZFunc((CMaterial::ZFunc)(uint32) val);
+00154 }
+<a name="l00155"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z556_1">00155</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z556_1">setZWrite</a>(<font class="keywordtype">bool</font> active)
+00156 {
+00157 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00158 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.setZWrite(active);
+00159 }
+<a name="l00160"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z556_2">00160</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z556_2">setZBias</a>(<font class="keywordtype">float</font> val)
+00161 {
+00162 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.setZBias(val);
+00163 }
+00164
+<a name="l00165"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z556_3">00165</a> <font class="keyword">virtual</font> <a class="code" href="classNL3D_1_1UMaterial.html#s16">ZFunc</a> <a class="code" href="classNL3D_1_1CMaterialUser.html#z556_3">getZFunc</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>
+00166 {
+00167 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00168 <font class="keywordflow">return</font> (UMaterial::ZFunc)(uint32)<a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.getZFunc();
+00169 }
+<a name="l00170"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z556_4">00170</a> <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z556_4">getZWrite</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>
+00171 {
+00172 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00173 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.getZWrite();
+00174 }
+<a name="l00175"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z556_5">00175</a> <font class="keyword">virtual</font> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z556_5">getZBias</a>(<font class="keywordtype">void</font>) <font class="keyword">const</font>
+00176 {
+00177 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00178 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.getZBias();
+00179 }
+00180 <font class="comment">// @}</font>
+00181
+00182
+00184 <font class="comment">// @{</font>
+<a name="l00186"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z557_0">00186</a> <font class="comment"> virtual void setColor(CRGBA rgba) </font>
+00187 {
+00188 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00189 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.setColor(rgba);
+00190 }
+00191
+<a name="l00192"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z557_1">00192</a> <font class="keyword">virtual</font> CRGBA <a class="code" href="classNL3D_1_1CMaterialUser.html#z557_1">getColor</a>(<font class="keywordtype">void</font>)<font class="keyword"> const </font>
+00193 <font class="keyword"> </font>{
+00194 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00195 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.getColor();
+00196 }
+00197 <font class="comment">// @}</font>
+00198
+00200 <font class="comment">// @{</font>
+<a name="l00201"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z558_0">00201</a> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z558_0">setDoubleSided</a>(<font class="keywordtype">bool</font> doubleSided = <font class="keyword">true</font>)
+00202 {
+00203 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00204 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.setDoubleSided(doubleSided);
+00205 }
+<a name="l00206"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z558_1">00206</a> <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z558_1">getDoubleSided</a>()<font class="keyword"> const</font>
+00207 <font class="keyword"> </font>{
+00208 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00209 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.getDoubleSided();
+00210 }
+00211 <font class="comment">// @}</font>
+00212
+00214 <font class="comment">// @{</font>
+<a name="l00219"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#z559_0">00219</a> <font class="comment"></font> <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#z559_0">initUnlit</a>()
+00220 {
+00221 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00222 <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>.initUnlit();
+00223 }
+00224 <font class="comment">// @}</font>
+00225
+00226
+00227
+00228 <font class="keyword">public</font>:
+00229
+00230 <font class="comment">// Internal Use only.</font>
+<a name="l00231"></a><a class="code" href="classNL3D_1_1CMaterialUser.html#a0">00231</a> CMaterial &amp;<a class="code" href="classNL3D_1_1CMaterialUser.html#a0">getMaterial</a>()
+00232 {
+00233 <a class="code" href="material__user_8h.html#a0">NL3D_MEM_MATERIAL</a>
+00234 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CMaterialUser.html#n0">_Material</a>;
+00235 }
+00236
+00237 };
+00238
+00239
+00240 } <font class="comment">// NL3D</font>
+00241
+00242
+00243 <font class="preprocessor">#endif // NL_MATERIAL_USER_H</font>
+00244 <font class="preprocessor"></font>
+00245 <font class="comment">/* End of material_user.h */</font>
+</pre></div>
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>