diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02841.html | 251 |
1 files changed, 251 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02841.html b/docs/doxygen/nel/a02841.html new file mode 100644 index 00000000..4b99297b --- /dev/null +++ b/docs/doxygen/nel/a02841.html @@ -0,0 +1,251 @@ +<!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::CMaterial::CLightMap struct 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::CMaterial::CLightMap Struct Reference</h1><code>#include <<a class="el" href="a05969.html">material.h</a>></code> +<p> +<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapa0">CLightMap</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapa1">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapa2">serial2</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f)</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo0">Color</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">CRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo1">Factor</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">CSmartPtr</a>< <a class="el" href="a03487.html">ITexture</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo2">Texture</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CMaterial_1_1CLightMapa0" doxytag="NL3D::CMaterial::CLightMap::CLightMap" ></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::CMaterial::CLightMap::CLightMap </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="a05969.html#l00600">600</a> of file <a class="el" href="a05969.html">material.h</a>. +<p> +References <a class="el" href="a06339.html#l00066">NLMISC::CRGBA::set()</a>. +<p> +<div class="fragment"><pre>00601 { +00602 <a class="code" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo1">Factor</a>.<a class="code" href="a03337.html#NLMISC_1_1CRGBAa14">set</a>(255, 255, 255, 255); +00603 <a class="code" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo0">Color</a>.<a class="code" href="a03337.html#NLMISC_1_1CRGBAa14">set</a>(255, 255, 255, 255); +00604 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CMaterial_1_1CLightMapa1" doxytag="NL3D::CMaterial::CLightMap::serial" ></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"> void NL3D::CMaterial::CLightMap::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></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="a05968.html#l00438">438</a> of file <a class="el" href="a05968.html">material.cpp</a>. +<p> +References <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, and <a class="el" href="a06462.html#l00492">NLMISC::IStream::serialPolyPtr()</a>. +<p> +<div class="fragment"><pre>00439 { +00440 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(Factor); +00441 <span class="comment">// Serial texture descriptor.</span> +00442 ITexture* text= NULL; +00443 <span class="keywordflow">if</span>(f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00444 { +00445 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(text); +00446 <a class="code" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo2">Texture</a>= text; +00447 } +00448 <span class="keywordflow">else</span> +00449 { +00450 text= <a class="code" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo2">Texture</a>; +00451 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(text); +00452 } +00453 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterial_1_1CLightMapa2" doxytag="NL3D::CMaterial::CLightMap::serial2" ></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"> void NL3D::CMaterial::CLightMap::serial2 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></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="a05968.html#l00456">456</a> of file <a class="el" href="a05968.html">material.cpp</a>. +<p> +References <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06462.html#l00492">NLMISC::IStream::serialPolyPtr()</a>, <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00457 { +00458 <a class="code" href="a04558.html#a14">sint</a> ver= f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(0); +00459 +00460 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(Factor); +00461 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(Color); +00462 <span class="comment">// Serial texture descriptor.</span> +00463 ITexture* text= NULL; +00464 <span class="keywordflow">if</span>(f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00465 { +00466 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(text); +00467 <a class="code" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo2">Texture</a>= text; +00468 } +00469 <span class="keywordflow">else</span> +00470 { +00471 text= <a class="code" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo2">Texture</a>; +00472 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(text); +00473 } +00474 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CMaterial_1_1CLightMapo0" doxytag="NL3D::CMaterial::CLightMap::Color" ></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="a03337.html">CRGBA</a> <a class="el" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo0">NL3D::CMaterial::CLightMap::Color</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05969.html#l00599">599</a> of file <a class="el" href="a05969.html">material.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterial_1_1CLightMapo1" doxytag="NL3D::CMaterial::CLightMap::Factor" ></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="a03337.html">CRGBA</a> <a class="el" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo1">NL3D::CMaterial::CLightMap::Factor</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05969.html#l00598">598</a> of file <a class="el" href="a05969.html">material.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CMaterial_1_1CLightMapo2" doxytag="NL3D::CMaterial::CLightMap::Texture" ></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="a03408.html">CSmartPtr</a><<a class="el" href="a03487.html">ITexture</a>> <a class="el" href="a02841.html#NL3D_1_1CMaterial_1_1CLightMapo2">NL3D::CMaterial::CLightMap::Texture</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05969.html#l00597">597</a> of file <a class="el" href="a05969.html">material.h</a>. </td> + </tr> +</table> +<hr>The documentation for this struct was generated from the following files:<ul> +<li><a class="el" href="a05969.html">material.h</a><li><a class="el" href="a05968.html">material.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:50:31 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> |