aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02635.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02635.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a02635.html542
1 files changed, 542 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02635.html b/docs/doxygen/nel/a02635.html
new file mode 100644
index 00000000..63758298
--- /dev/null
+++ b/docs/doxygen/nel/a02635.html
@@ -0,0 +1,542 @@
+<!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::CHLSTextureBank 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CHLSTextureBank Class Reference</h1><code>#include &lt;<a class="el" href="a05793.html">hls_texture_bank.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A bank of HLS colorisable textures <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2002 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05793.html#l00050">50</a> of file <a class="el" href="a05793.html">hls_texture_bank.h</a>.<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>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02635.html#NL3D_1_1CHLSTextureBanka0">CHLSTextureBank</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CHLSTextureBanka0"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Build</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankz201_0">addColorTexture</a> (const <a class="el" href="a02632.html">CHLSColorTexture</a> &amp;tex)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a colorisable texture to the bank. <a href="#NL3D_1_1CHLSTextureBankz201_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankz201_1">addTextureInstance</a> (const std::string &amp;name, <a class="el" href="a04558.html#a11">uint32</a> colorTextureId, const std::vector&lt; <a class="el" href="a02631.html">CHLSColorDelta</a> &gt; &amp;cols)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankz201_2">compile</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">compile the bank. <a href="#NL3D_1_1CHLSTextureBankz201_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankz201_3">reset</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">clear the bank <a href="#NL3D_1_1CHLSTextureBankz201_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankz201_4">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">serial. if loading, ptrs are correclty setuped =&gt; no <a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankz201_2">compile()</a> needed <a href="#NL3D_1_1CHLSTextureBankz201_4"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Usage</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankz203_0">fillHandleArray</a> (std::vector&lt; <a class="el" href="a02637.html">CTextureInstanceHandle</a> &gt; &amp;array)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Append handle into the array (build of the manager). <a href="#NL3D_1_1CHLSTextureBankz203_0"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankd0">compilePtrs</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02632.html">CHLSColorTexture</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankr0">_ColorTextures</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Array of colorisable texture. <a href="#NL3D_1_1CHLSTextureBankr0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a04558.html#a7">uint8</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankr1">_TextureInstanceData</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Raw Array of Name+HLS color delta. <a href="#NL3D_1_1CHLSTextureBankr1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02636.html">CTextureInstance</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankr2">_TextureInstances</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Array of textureInstances. <a href="#NL3D_1_1CHLSTextureBankr2"></a><br><br></td></tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CHLSTextureBanka0" doxytag="NL3D::CHLSTextureBank::CHLSTextureBank" ></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::CHLSTextureBank::CHLSTextureBank </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05792.html#l00045">45</a> of file <a class="el" href="a05792.html">hls_texture_bank.cpp</a>.
+<p>
+<div class="fragment"><pre>00046 {
+00047 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CHLSTextureBankz201_0" doxytag="NL3D::CHLSTextureBank::addColorTexture" ></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#a11">uint32</a> NL3D::CHLSTextureBank::addColorTexture </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02632.html">CHLSColorTexture</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>tex</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a colorisable texture to the bank.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05792.html#l00056">56</a> of file <a class="el" href="a05792.html">hls_texture_bank.cpp</a>.
+<p>
+References <a class="el" href="a05793.html#l00147">_ColorTextures</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00057 {
+00058 <a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr0">_ColorTextures</a>.push_back(tex);
+00059 <span class="keywordflow">return</span> <a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr0">_ColorTextures</a>.size()-1;
+00060 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CHLSTextureBankz201_1" doxytag="NL3D::CHLSTextureBank::addTextureInstance" ></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::CHLSTextureBank::addTextureInstance </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>name</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>colorTextureId</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const std::vector&lt; <a class="el" href="a02631.html">CHLSColorDelta</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>cols</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add an instance texture (ie colorised) to the bank <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>name</em>&nbsp;</td><td>name of the colored texture. NB: it is lowered in this method </td></tr>
+ <tr><td valign=top><em>colorTextureId</em>&nbsp;</td><td>index returned by <a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankz201_0">addColorTexture()</a> </td></tr>
+ <tr><td valign=top><em>cols</em>&nbsp;</td><td>must be same size of number of mask of the colorTextureId pointed (nlassert)</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05792.html#l00062">62</a> of file <a class="el" href="a05792.html">hls_texture_bank.cpp</a>.
+<p>
+References <a class="el" href="a05793.html#l00060">NL3D::CHLSTextureBank::CTextureInstance::_ColorTextureId</a>, <a class="el" href="a05793.html#l00064">NL3D::CHLSTextureBank::CTextureInstance::_ColorTexturePtr</a>, <a class="el" href="a05793.html#l00147">_ColorTextures</a>, <a class="el" href="a05793.html#l00058">NL3D::CHLSTextureBank::CTextureInstance::_DataIndex</a>, <a class="el" href="a05793.html#l00062">NL3D::CHLSTextureBank::CTextureInstance::_DataPtr</a>, <a class="el" href="a05793.html#l00150">_TextureInstanceData</a>, <a class="el" href="a05793.html#l00153">_TextureInstances</a>, <a class="el" href="a05791.html#l00090">NL3D::CHLSColorTexture::getNumMasks()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05586.html#l00536">NLMISC::strlwr()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00063 {
+00064 string nameLwr= <a class="code" href="a05378.html#a273">strlwr</a>(name);
+00065
+00066 <span class="comment">// checks</span>
+00067 <a class="code" href="a04199.html#a6">nlassert</a>(colorTextureId&lt;<a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr0">_ColorTextures</a>.size());
+00068 CHLSColorTexture &amp;colText= <a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr0">_ColorTextures</a>[colorTextureId];
+00069 <a class="code" href="a04199.html#a6">nlassert</a>(cols.size()==colText.getNumMasks());
+00070
+00071 <span class="comment">// new instance</span>
+00072 CTextureInstance textInst;
+00073 textInst._ColorTextureId= colorTextureId;
+00074 textInst._DataIndex= <a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr1">_TextureInstanceData</a>.size();
+00075 <span class="comment">// leave ptrs undefined</span>
+00076 textInst._DataPtr= NULL;
+00077 textInst._ColorTexturePtr= NULL;
+00078
+00079 <span class="comment">// allocate/fill data</span>
+00080 <a class="code" href="a04558.html#a11">uint32</a> nameSize= (nameLwr.size()+1);
+00081 <a class="code" href="a04558.html#a11">uint32</a> colSize= cols.size()*<span class="keyword">sizeof</span>(CHLSColorDelta);
+00082 <a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr1">_TextureInstanceData</a>.resize(<a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr1">_TextureInstanceData</a>.size() + nameSize + colSize);
+00083 <span class="comment">// copy name</span>
+00084 memcpy(&amp;_TextureInstanceData[textInst._DataIndex], nameLwr.c_str(), nameSize);
+00085 <span class="comment">// copy cols</span>
+00086 memcpy(&amp;_TextureInstanceData[textInst._DataIndex+nameSize], &amp;cols[0], colSize);
+00087
+00088 <span class="comment">// add the instance.</span>
+00089 <a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr2">_TextureInstances</a>.push_back(textInst);
+00090 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CHLSTextureBankz201_2" doxytag="NL3D::CHLSTextureBank::compile" ></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::CHLSTextureBank::compile </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+compile the bank.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05792.html#l00107">107</a> of file <a class="el" href="a05792.html">hls_texture_bank.cpp</a>.
+<p>
+References <a class="el" href="a05792.html#l00092">compilePtrs()</a>.
+<p>
+<div class="fragment"><pre>00108 {
+00109 <span class="comment">// compile the ptrs.</span>
+00110 <a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankd0">compilePtrs</a>();
+00111
+00112 <span class="comment">// No other ops for now.</span>
+00113 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CHLSTextureBankd0" doxytag="NL3D::CHLSTextureBank::compilePtrs" ></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::CHLSTextureBank::compilePtrs </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05792.html#l00092">92</a> of file <a class="el" href="a05792.html">hls_texture_bank.cpp</a>.
+<p>
+References <a class="el" href="a05793.html#l00060">NL3D::CHLSTextureBank::CTextureInstance::_ColorTextureId</a>, <a class="el" href="a05793.html#l00064">NL3D::CHLSTextureBank::CTextureInstance::_ColorTexturePtr</a>, <a class="el" href="a05793.html#l00147">_ColorTextures</a>, <a class="el" href="a05793.html#l00058">NL3D::CHLSTextureBank::CTextureInstance::_DataIndex</a>, <a class="el" href="a05793.html#l00062">NL3D::CHLSTextureBank::CTextureInstance::_DataPtr</a>, <a class="el" href="a05793.html#l00150">_TextureInstanceData</a>, <a class="el" href="a05793.html#l00153">_TextureInstances</a>, <a class="el" href="a05646.html#l01013">data</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a05792.html#l00107">compile()</a>, and <a class="el" href="a05792.html#l00117">serial()</a>.
+<p>
+<div class="fragment"><pre>00093 {
+00094 <a class="code" href="a04558.html#a7">uint8</a> *<a class="code" href="a04223.html#a637">data</a>= &amp;<a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr1">_TextureInstanceData</a>[0];
+00095
+00096 <span class="comment">// For all texture instances, compute ptr.</span>
+00097 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i&lt;<a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr2">_TextureInstances</a>.size();i++)
+00098 {
+00099 CTextureInstance &amp;text= <a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr2">_TextureInstances</a>[i];
+00100 text._DataPtr= <a class="code" href="a04223.html#a637">data</a> + text._DataIndex;
+00101 text._ColorTexturePtr= &amp;<a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr0">_ColorTextures</a>[text._ColorTextureId];
+00102 }
+00103 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CHLSTextureBankz203_0" doxytag="NL3D::CHLSTextureBank::fillHandleArray" ></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::CHLSTextureBank::fillHandleArray </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::vector&lt; <a class="el" href="a02637.html">CTextureInstanceHandle</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>array</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Append handle into the array (build of the manager).
+<p>
+
+<p>
+Definition at line <a class="el" href="a05792.html#l00135">135</a> of file <a class="el" href="a05792.html">hls_texture_bank.cpp</a>.
+<p>
+References <a class="el" href="a05793.html#l00153">_TextureInstances</a>, <a class="el" href="a05793.html#l00092">NL3D::CHLSTextureBank::CTextureInstanceHandle::Texture</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05794.html#l00063">NL3D::CHLSTextureManager::addBank()</a>.
+<p>
+<div class="fragment"><pre>00136 {
+00137 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i=0;i&lt;<a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr2">_TextureInstances</a>.size();i++)
+00138 {
+00139 CTextureInstanceHandle h;
+00140 h.Texture= &amp;<a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankr2">_TextureInstances</a>[i];
+00141 array.push_back(h);
+00142 }
+00143 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CHLSTextureBankz201_3" doxytag="NL3D::CHLSTextureBank::reset" ></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::CHLSTextureBank::reset </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+clear the bank
+<p>
+
+<p>
+Definition at line <a class="el" href="a05792.html#l00049">49</a> of file <a class="el" href="a05792.html">hls_texture_bank.cpp</a>.
+<p>
+References <a class="el" href="a05793.html#l00147">_ColorTextures</a>, <a class="el" href="a05793.html#l00150">_TextureInstanceData</a>, and <a class="el" href="a05793.html#l00153">_TextureInstances</a>.
+<p>
+<div class="fragment"><pre>00050 {
+00051 <a class="code" href="a05378.html#a381">contReset</a>(_ColorTextures);
+00052 <a class="code" href="a05378.html#a381">contReset</a>(_TextureInstanceData);
+00053 <a class="code" href="a05378.html#a381">contReset</a>(_TextureInstances);
+00054 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CHLSTextureBankz201_4" doxytag="NL3D::CHLSTextureBank::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::CHLSTextureBank::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+serial. if loading, ptrs are correclty setuped =&gt; no <a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankz201_2">compile()</a> needed
+<p>
+
+<p>
+Definition at line <a class="el" href="a05792.html#l00117">117</a> of file <a class="el" href="a05792.html">hls_texture_bank.cpp</a>.
+<p>
+References <a class="el" href="a05793.html#l00147">_ColorTextures</a>, <a class="el" href="a05793.html#l00150">_TextureInstanceData</a>, <a class="el" href="a05793.html#l00153">_TextureInstances</a>, <a class="el" href="a05792.html#l00092">compilePtrs()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a06462.html#l00324">NLMISC::IStream::serialCont()</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>00118 {
+00119 <a class="code" href="a04558.html#a14">sint</a> ver= f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(0);
+00120
+00121 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_ColorTextures);
+00122 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_TextureInstanceData);
+00123 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a>(_TextureInstances);
+00124
+00125 <span class="comment">// Must compile ptrs.</span>
+00126 <span class="keywordflow">if</span>(f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
+00127 {
+00128 <span class="comment">// compile the ptrs only.</span>
+00129 <a class="code" href="a02635.html#NL3D_1_1CHLSTextureBankd0">compilePtrs</a>();
+00130 }
+00131 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CHLSTextureBankr0" doxytag="NL3D::CHLSTextureBank::_ColorTextures" ></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&lt;<a class="el" href="a02632.html">CHLSColorTexture</a>&gt; <a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankr0">NL3D::CHLSTextureBank::_ColorTextures</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Array of colorisable texture.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05793.html#l00147">147</a> of file <a class="el" href="a05793.html">hls_texture_bank.h</a>.
+<p>
+Referenced by <a class="el" href="a05792.html#l00056">addColorTexture()</a>, <a class="el" href="a05792.html#l00062">addTextureInstance()</a>, <a class="el" href="a05792.html#l00092">compilePtrs()</a>, <a class="el" href="a05792.html#l00049">reset()</a>, and <a class="el" href="a05792.html#l00117">serial()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CHLSTextureBankr1" doxytag="NL3D::CHLSTextureBank::_TextureInstanceData" ></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&lt;<a class="el" href="a04558.html#a7">uint8</a>&gt; <a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankr1">NL3D::CHLSTextureBank::_TextureInstanceData</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Raw Array of Name+HLS color delta.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05793.html#l00150">150</a> of file <a class="el" href="a05793.html">hls_texture_bank.h</a>.
+<p>
+Referenced by <a class="el" href="a05792.html#l00062">addTextureInstance()</a>, <a class="el" href="a05792.html#l00092">compilePtrs()</a>, <a class="el" href="a05792.html#l00049">reset()</a>, and <a class="el" href="a05792.html#l00117">serial()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CHLSTextureBankr2" doxytag="NL3D::CHLSTextureBank::_TextureInstances" ></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&lt;<a class="el" href="a02636.html">CTextureInstance</a>&gt; <a class="el" href="a02635.html#NL3D_1_1CHLSTextureBankr2">NL3D::CHLSTextureBank::_TextureInstances</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Array of textureInstances.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05793.html#l00153">153</a> of file <a class="el" href="a05793.html">hls_texture_bank.h</a>.
+<p>
+Referenced by <a class="el" href="a05792.html#l00062">addTextureInstance()</a>, <a class="el" href="a05792.html#l00092">compilePtrs()</a>, <a class="el" href="a05792.html#l00135">fillHandleArray()</a>, <a class="el" href="a05792.html#l00049">reset()</a>, and <a class="el" href="a05792.html#l00117">serial()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05793.html">hls_texture_bank.h</a><li><a class="el" href="a05792.html">hls_texture_bank.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:47:08 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>