diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03525.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03525.html')
-rw-r--r-- | docs/doxygen/nel/a03525.html | 498 |
1 files changed, 498 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03525.html b/docs/doxygen/nel/a03525.html new file mode 100644 index 00000000..c159b717 --- /dev/null +++ b/docs/doxygen/nel/a03525.html @@ -0,0 +1,498 @@ +<!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::CTileFarBank::CTileFar 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::CTileFarBank::CTileFar Class Reference</h1><code>#include <<a class="el" href="a06543.html">tile_far_bank.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="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFara0">CTileFar</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#NL3D_1_1CTileFarBank_1_1CTileFara0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFara1">erasePixels</a> (<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8">TFarType</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Erase a pixel array type. <a href="#NL3D_1_1CTileFarBank_1_1CTileFara1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03337.html">NLMISC::CRGBA</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFara2">getPixels</a> (<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8">TFarType</a> <a class="el" href="a04223.html#a581">type</a>, <a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7">TFarOrder</a> order) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the pointer on the pixels data. Call this method only if isFill () returns true. <a href="#NL3D_1_1CTileFarBank_1_1CTileFara2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFara3">getSize</a> (<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8">TFarType</a> <a class="el" href="a04223.html#a581">type</a>, <a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7">TFarOrder</a> order) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the pixel array size. Should be 0 for empty, 64 for a 128x128 tile and 256 for a 256x256 tile. <a href="#NL3D_1_1CTileFarBank_1_1CTileFara3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFara4">isFill</a> (<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8">TFarType</a> <a class="el" href="a04223.html#a581">type</a>) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if pixel value are presents, else return false. <a href="#NL3D_1_1CTileFarBank_1_1CTileFara4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFara5">serial</a> (class <a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Serial this tile. <a href="#NL3D_1_1CTileFarBank_1_1CTileFara5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFara6">setPixels</a> (<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8">TFarType</a> <a class="el" href="a04223.html#a581">type</a>, <a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7">TFarOrder</a> order, <a class="el" href="a03337.html">NLMISC::CRGBA</a> *pixels, <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a587">size</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the pixel array of a far Tile. <a href="#NL3D_1_1CTileFarBank_1_1CTileFara6"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03337.html">NLMISC::CRGBA</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">_Pixels</a> [typeCount][orderCount]</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">RGBA Pixels vector. <a href="#NL3D_1_1CTileFarBank_1_1CTileFarr0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarv0">_Version</a> = 0x0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The version of this class. <a href="#NL3D_1_1CTileFarBank_1_1CTileFarv0"></a><br><br></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="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarn0">CTileFarBank</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileFarBank_1_1CTileFara0" doxytag="NL3D::CTileFarBank::CTileFar::CTileFar" ></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::CTileFarBank::CTileFar::CTileFar </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> +Default constructor. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00072">72</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +<div class="fragment"><pre>00073 { +00074 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileFarBank_1_1CTileFara1" doxytag="NL3D::CTileFarBank::CTileFar::erasePixels" ></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::CTileFarBank::CTileFar::erasePixels </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8">TFarType</a> </td> + <td class="mdname1" valign="top" nowrap> <em>type</em> </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> +Erase a pixel array type. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00098">98</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +References <a class="el" href="a06543.html#l00110">_Pixels</a>, <a class="el" href="a05587.html#l00141">NLMISC::contReset()</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +<div class="fragment"><pre>00099 { +00100 <a class="code" href="a05378.html#a381">NLMISC::contReset</a> (_Pixels[type][order0]); +00101 <a class="code" href="a05378.html#a381">NLMISC::contReset</a> (_Pixels[type][order1]); +00102 <a class="code" href="a05378.html#a381">NLMISC::contReset</a> (_Pixels[type][order2]); +00103 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBank_1_1CTileFara2" doxytag="NL3D::CTileFarBank::CTileFar::getPixels" ></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"> const <a class="el" href="a03337.html">NLMISC::CRGBA</a>* NL3D::CTileFarBank::CTileFar::getPixels </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8">TFarType</a> </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7">TFarOrder</a> </td> + <td class="mdname" nowrap> <em>order</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the pointer on the pixels data. Call this method only if isFill () returns true. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00077">77</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +References <a class="el" href="a06543.html#l00110">_Pixels</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +Referenced by <a class="el" href="a06163.html#l00964">NL3D::CPatchDLMContext::computeTextureFar()</a>, and <a class="el" href="a06519.html#l00465">NL3D::CTextureFar::rebuildPatch()</a>. +<p> +<div class="fragment"><pre>00078 { +00079 <span class="keywordflow">return</span> &<a class="code" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">_Pixels</a>[<a class="code" href="a04223.html#a581">type</a>][order][0]; +00080 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBank_1_1CTileFara3" doxytag="NL3D::CTileFarBank::CTileFar::getSize" ></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="a04558.html#a15">uint</a> NL3D::CTileFarBank::CTileFar::getSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8">TFarType</a> </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7">TFarOrder</a> </td> + <td class="mdname" nowrap> <em>order</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the pixel array size. Should be 0 for empty, 64 for a 128x128 tile and 256 for a 256x256 tile. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00089">89</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +References <a class="el" href="a06543.html#l00110">_Pixels</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00090 { +00091 <span class="keywordflow">return</span> <a class="code" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">_Pixels</a>[<a class="code" href="a04223.html#a581">type</a>][order].size(); +00092 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBank_1_1CTileFara4" doxytag="NL3D::CTileFarBank::CTileFar::isFill" ></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"> bool NL3D::CTileFarBank::CTileFar::isFill </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8">TFarType</a> </td> + <td class="mdname1" valign="top" nowrap> <em>type</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return true if pixel value are presents, else return false. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00083">83</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +References <a class="el" href="a06543.html#l00110">_Pixels</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +Referenced by <a class="el" href="a06163.html#l00964">NL3D::CPatchDLMContext::computeTextureFar()</a>, and <a class="el" href="a06519.html#l00465">NL3D::CTextureFar::rebuildPatch()</a>. +<p> +<div class="fragment"><pre>00084 { +00085 <span class="keywordflow">return</span> <a class="code" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">_Pixels</a>[<a class="code" href="a04223.html#a581">type</a>][0].begin()!=<a class="code" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">_Pixels</a>[<a class="code" href="a04223.html#a581">type</a>][0].end(); +00086 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBank_1_1CTileFara5" doxytag="NL3D::CTileFarBank::CTileFar::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::CTileFarBank::CTileFar::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">class <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> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Serial this tile. +<p> + +<p> +Definition at line <a class="el" href="a06542.html#l00047">47</a> of file <a class="el" href="a06542.html">tile_far_bank.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00645">size</a>. +<p> +<div class="fragment"><pre>00048 { +00049 <span class="comment">// Serial version</span> +00050 (<span class="keywordtype">void</span>)f.serialVersion(_Version); +00051 +00052 <span class="comment">// Serial pixels</span> +00053 f.serialCont (_Pixels[diffuse][order0]); +00054 f.serialCont (_Pixels[diffuse][order1]); +00055 f.serialCont (_Pixels[diffuse][order2]); +00056 f.serialCont (_Pixels[additive][order0]); +00057 f.serialCont (_Pixels[additive][order1]); +00058 f.serialCont (_Pixels[additive][order2]); +00059 +00060 <span class="preprocessor">#ifdef NEL_FORCE_WHITE_FAR_TEXTURE</span> +00061 <span class="preprocessor"></span> <span class="keywordtype">int</span> <a class="code" href="a04223.html#a587">size</a> = <a class="code" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">_Pixels</a>[diffuse][order0].size (); +00062 _Pixels[diffuse][order0].resize (0); +00063 _Pixels[diffuse][order0].resize (size, CRGBA::White); +00064 <a class="code" href="a04223.html#a587">size</a> = _Pixels[diffuse][order1].size (); +00065 _Pixels[diffuse][order1].resize (0); +00066 _Pixels[diffuse][order1].resize (size, CRGBA::White); +00067 <a class="code" href="a04223.html#a587">size</a> = _Pixels[diffuse][order2].size (); +00068 _Pixels[diffuse][order2].resize (0); +00069 _Pixels[diffuse][order2].resize (size, CRGBA::White); +00070 <span class="preprocessor">#endif // NEL_FORCE_WHITE_FAR_TEXTURE</span> +00071 <span class="preprocessor"></span>} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBank_1_1CTileFara6" doxytag="NL3D::CTileFarBank::CTileFar::setPixels" ></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::CTileFarBank::CTileFar::setPixels </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8">TFarType</a> </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7">TFarOrder</a> </td> + <td class="mdname" nowrap> <em>order</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03337.html">NLMISC::CRGBA</a> * </td> + <td class="mdname" nowrap> <em>pixels</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>size</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the pixel array of a far Tile. +<p> + +<p> +Definition at line <a class="el" href="a06542.html#l00073">73</a> of file <a class="el" href="a06542.html">tile_far_bank.cpp</a>. +<p> +References <a class="el" href="a06543.html#l00110">_Pixels</a>, <a class="el" href="a06340.html#l00340">NLMISC::CRGBA::A</a>, <a class="el" href="a05646.html#l01173">alpha</a>, <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00074 { +00075 <span class="comment">// Mode alpha ?</span> +00076 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a581">type</a>==<a class="code" href="a04223.html#a663">alpha</a>) +00077 { +00078 <a class="code" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">_Pixels</a>[diffuse][order].resize (size); +00079 <a class="code" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">_Pixels</a>[additive][order].resize (size); +00080 +00081 <span class="comment">// Copy only the alpha channel</span> +00082 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> p=0; p<<a class="code" href="a04223.html#a587">size</a>; p++) +00083 { +00084 <a class="code" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">_Pixels</a>[diffuse][order][p].A=pixels[p].<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a>; +00085 <a class="code" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">_Pixels</a>[additive][order][p].A=pixels[p].<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a>; +00086 } +00087 } +00088 <span class="keywordflow">else</span> +00089 { +00090 <span class="comment">// Resize this array</span> +00091 <a class="code" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">_Pixels</a>[<a class="code" href="a04223.html#a581">type</a>][order].resize (size); +00092 +00093 <span class="comment">// Copy all the channels</span> +00094 memcpy (&_Pixels[type][order][0], pixels, size*<span class="keyword">sizeof</span>(<a class="code" href="a03337.html">NLMISC::CRGBA</a>)); +00095 } +00096 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileFarBank_1_1CTileFarn0" doxytag="NL3D::CTileFarBank::CTileFar::CTileFarBank" ></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="a03524.html">CTileFarBank</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="a06543.html#l00069">69</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileFarBank_1_1CTileFarr0" doxytag="NL3D::CTileFarBank::CTileFar::_Pixels" ></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"> std::vector<<a class="el" href="a03337.html">NLMISC::CRGBA</a>> <a class="el" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarr0">NL3D::CTileFarBank::CTileFar::_Pixels</a>[typeCount][orderCount]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +RGBA Pixels vector. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00110">110</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +Referenced by <a class="el" href="a06543.html#l00098">erasePixels()</a>, <a class="el" href="a06543.html#l00077">getPixels()</a>, <a class="el" href="a06543.html#l00089">getSize()</a>, <a class="el" href="a06543.html#l00083">isFill()</a>, and <a class="el" href="a06542.html#l00073">setPixels()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBank_1_1CTileFarv0" doxytag="NL3D::CTileFarBank::CTileFar::_Version" ></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"> const <a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a03525.html#NL3D_1_1CTileFarBank_1_1CTileFarv0">NL3D::CTileFarBank::CTileFar::_Version</a> = 0x0<code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The version of this class. +<p> + +<p> +Definition at line <a class="el" href="a06542.html#l00045">45</a> of file <a class="el" href="a06542.html">tile_far_bank.cpp</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06543.html">tile_far_bank.h</a><li><a class="el" href="a06542.html">tile_far_bank.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:04: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> |