aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03692.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/a03692.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/a03692.html5878
1 files changed, 5878 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03692.html b/docs/doxygen/nel/a03692.html
new file mode 100644
index 00000000..dcb440db
--- /dev/null
+++ b/docs/doxygen/nel/a03692.html
@@ -0,0 +1,5878 @@
+<!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::CVertexBuffer 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::CVertexBuffer Class Reference</h1><code>#include &lt;<a class="el" href="a06711.html">vertex_buffer.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CVertexBuffer:
+<p><center><img src="a03692.png" usemap="#NL3D::CVertexBuffer_map" border="0" alt=""></center>
+<map name="NL3D::CVertexBuffer_map">
+<area href="a02209.html" alt="NLMISC::CRefCount" shape="rect" coords="0,0,131,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A vertex buffer to work with the driver
+<p>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00105">105</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Extended values vertex buffer mgt.</h2></td></tr>
+<tr><td colspan=2>Thoses methods manage the vertex buffer with extended value. This is usable only with OpenGL vertex_program or DX8 vertex shaders. <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="a03692.html#NL3D_1_1CVertexBufferz1145_0">addValueEx</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51">TType</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_1">clearValueEx</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_2">getValueEx</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx=0) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_3">getValueEx</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_4">getValueOffEx</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_5">hasValueEx</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Test if the given value is present in the vertex buffer. <a href="#NL3D_1_1CVertexBufferz1145_5"></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="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_7">setValueDouble1Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, double <a class="el" href="a04223.html#a658">value</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_8">setValueDouble2Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, double <a class="el" href="a04223.html#a572">x</a>, double <a class="el" href="a04223.html#a573">y</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_9">setValueDouble3Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, const <a class="el" href="a03664.html">CVectorD</a> &amp;vector)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_10">setValueDouble3Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, double <a class="el" href="a04223.html#a572">x</a>, double <a class="el" href="a04223.html#a573">y</a>, double <a class="el" href="a04223.html#a574">z</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_11">setValueDouble4Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, double <a class="el" href="a04223.html#a572">x</a>, double <a class="el" href="a04223.html#a573">y</a>, double <a class="el" href="a04223.html#a574">z</a>, double <a class="el" href="a04223.html#a575">w</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_12">setValueFloat1Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, float <a class="el" href="a04223.html#a658">value</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_13">setValueFloat2Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a573">y</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_14">setValueFloat3Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, const <a class="el" href="a03128.html">CVector</a> &amp;vector)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_15">setValueFloat3Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a573">y</a>, float <a class="el" href="a04223.html#a574">z</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_16">setValueFloat4Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a573">y</a>, float <a class="el" href="a04223.html#a574">z</a>, float <a class="el" href="a04223.html#a575">w</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_17">setValueShort1Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a04223.html#a658">value</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_18">setValueShort2Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a04223.html#a573">y</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_19">setValueShort3Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a04223.html#a573">y</a>, <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a04223.html#a574">z</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_20">setValueShort4Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a04223.html#a573">y</a>, <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a04223.html#a574">z</a>, <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a04223.html#a575">w</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_21">setValueUChar4Ex</a> (<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> valueId, <a class="el" href="a04558.html#a15">uint</a> idx, <a class="el" href="a03337.html">CRGBA</a> rgba)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_22">getValueIdByNumberEx</a> (<a class="el" href="a04558.html#a15">uint</a> valueNumber)</td></tr>
+
+<tr><td colspan=2><br><h2>UV Routing.</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1148_0">dumpFormat</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a7">uint8</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1148_1">getUVRouting</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1148_2">setUVRouting</a> (<a class="el" href="a04558.html#a7">uint8</a> uvChannel, <a class="el" href="a04558.html#a15">uint</a> newUVRouting)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1148_3">remapV2Flags</a> (<a class="el" href="a04558.html#a11">uint32</a> oldFlags, <a class="el" href="a04558.html#a15">uint</a> &amp;weightCount)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Translate old flags. <a href="#NL3D_1_1CVertexBufferz1148_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="a03692.html#NL3D_1_1CVertexBufferz1148_4">serialOldV1Minus</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f, <a class="el" href="a04558.html#a14">sint</a> ver)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Old version serialisation. V0 and V1. <a href="#NL3D_1_1CVertexBufferz1148_4"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>[NOHEADER]</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1141_0">getTouchFlags</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1141_1">resetTouchFlags</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03321.html">CRefPtr</a>&lt; <a class="el" href="a03883.html">IVBDrvInfos</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1141_2">DrvInfos</a></td></tr>
+
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom>{ <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw0NL3D_1_1CVertexBufferw9">FirstTexCoordValue</a> = TexCoord0,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw0NL3D_1_1CVertexBufferw16">LastTexCoordValue</a> = TexCoord7
+ }</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom>{ <br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw26">PositionFlag</a> = 1&lt;&lt;Position,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a> = 1&lt;&lt;Normal,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a> = 1&lt;&lt;TexCoord0,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw38">TexCoord1Flag</a> = 1&lt;&lt;TexCoord1,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw40">TexCoord2Flag</a> = 1&lt;&lt;TexCoord2,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw42">TexCoord3Flag</a> = 1&lt;&lt;TexCoord3,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw44">TexCoord4Flag</a> = 1&lt;&lt;TexCoord4,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw46">TexCoord5Flag</a> = 1&lt;&lt;TexCoord5,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw48">TexCoord6Flag</a> = 1&lt;&lt;TexCoord6,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw50">TexCoord7Flag</a> = 1&lt;&lt;TexCoord7,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a> = 1&lt;&lt;PrimaryColor,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a> = 1&lt;&lt;SecondaryColor,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a> = 1&lt;&lt;Weight,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a> = (1&lt;&lt;PaletteSkin)|(1&lt;&lt;Weight),
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw15">FogFlag</a> = 1&lt;&lt;Fog,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw8">EmptyFlag</a> = 1&lt;&lt;Empty
+<br>
+ }</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom>{ <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a> = 8,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw18">MaxWeight</a> = 4
+ }</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51">TType</a> { <br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw3">Double1</a> = 0,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw31">Short1</a>,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw4">Double2</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw32">Short2</a>,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw5">Double3</a>,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw33">Short3</a>,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw6">Double4</a>,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw34">Short4</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw53">UChar4</a>,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw21">NumType</a>
+<br>
+ }</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> { <br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw25">Position</a> = 0,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw19">Normal</a> = 1,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a> = 2,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw37">TexCoord1</a> = 3,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw39">TexCoord2</a> = 4,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw41">TexCoord3</a> = 5,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw43">TexCoord4</a> = 6,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw45">TexCoord5</a> = 7,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw47">TexCoord6</a> = 8,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw49">TexCoord7</a> = 9,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a> = 10,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a> = 11,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a> = 12,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a> = 13,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw14">Fog</a> = 14,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw7">Empty</a> = 15,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a> = 16
+<br>
+ }</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="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera0">capacity</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera1">CVertexBuffer</a> (const <a class="el" href="a03692.html">CVertexBuffer</a> &amp;vb)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera2">CVertexBuffer</a> (void)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera3">deleteAllVertices</a> ()</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="a03692.html#NL3D_1_1CVertexBuffera4">getNumVertices</a> (void) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera5">getNumWeight</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypea8">getRefCount</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51">TType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera7">getValueType</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a658">value</a>) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a7">uint8</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera8">getValueTypePointer</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera9">getVertexSize</a> (void) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03692.html">CVertexBuffer</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera10">operator=</a> (const <a class="el" href="a03692.html">CVertexBuffer</a> &amp;vb)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera11">reserve</a> (<a class="el" href="a04558.html#a11">uint32</a> nVerts)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera12">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera13">setNumVertices</a> (<a class="el" href="a04558.html#a11">uint32</a> n)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffera14">~CVertexBuffer</a> (void)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Standard values vertex buffer mgt.</div></td></tr>
+<tr><td colspan="2"><div class="groupText">Thoses methods manage the vertex buffer (position, normal, colors and uv) with standard value. <br><br></div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_0">getColorOff</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_1">getColorPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_2">getColorPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_3">getNormalCoordPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_4">getNormalCoordPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_5">getNormalOff</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_6">getNumTexCoordUsed</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of texture coordinate stages used by this vertex buffer. <a href="#NL3D_1_1CVertexBufferz1143_6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_7">getPaletteSkinOff</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_8">getPaletteSkinPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_9">getPaletteSkinPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_10">getSpecularOff</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_11">getSpecularPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_12">getSpecularPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_13">getTexCoordOff</a> (<a class="el" href="a04558.html#a7">uint8</a> stage=0) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_14">getTexCoordPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0, <a class="el" href="a04558.html#a7">uint8</a> stage=0) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_15">getTexCoordPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0, <a class="el" href="a04558.html#a7">uint8</a> stage=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_16">getVertexCoordPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_17">getVertexCoordPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_18">getVertexFormat</a> (void) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_19">getWeightOff</a> (<a class="el" href="a04558.html#a14">sint</a> wgt) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">NB: it is ensured that WeightOff(i)==WeightOff(0)+i*sizeof(float). <a href="#NL3D_1_1CVertexBufferz1143_19"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_20">getWeightPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0, <a class="el" href="a04558.html#a7">uint8</a> wgt=0) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_21">getWeightPointer</a> (<a class="el" href="a04558.html#a15">uint</a> idx=0, <a class="el" href="a04558.html#a7">uint8</a> wgt=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_22">setColor</a> (<a class="el" href="a04558.html#a15">uint</a> idx, <a class="el" href="a03337.html">CRGBA</a> rgba)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_23">setNormalCoord</a> (<a class="el" href="a04558.html#a15">uint</a> idx, const <a class="el" href="a03128.html">CVector</a> &amp;<a class="el" href="a04223.html#a576">v</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_24">setPaletteSkin</a> (<a class="el" href="a04558.html#a15">uint</a> idx, <a class="el" href="a03038.html">CPaletteSkin</a> ps)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_25">setSpecular</a> (<a class="el" href="a04558.html#a15">uint</a> idx, <a class="el" href="a03337.html">CRGBA</a> rgba)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_26">setTexCoord</a> (<a class="el" href="a04558.html#a15">uint</a> idx, <a class="el" href="a04558.html#a7">uint8</a> stage, const <a class="el" href="a03640.html">CUV</a> &amp;uv)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_27">setTexCoord</a> (<a class="el" href="a04558.html#a15">uint</a> idx, <a class="el" href="a04558.html#a7">uint8</a> stage, float u, float <a class="el" href="a04223.html#a576">v</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_28">setVertexCoord</a> (<a class="el" href="a04558.html#a15">uint</a> idx, const <a class="el" href="a03128.html">CVector</a> &amp;<a class="el" href="a04223.html#a576">v</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_29">setVertexCoord</a> (<a class="el" href="a04558.html#a15">uint</a> idx, float <a class="el" href="a04223.html#a572">x</a>, float <a class="el" href="a04223.html#a573">y</a>, float <a class="el" href="a04223.html#a574">z</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_30">setVertexFormat</a> (<a class="el" href="a04558.html#a11">uint32</a> Flags)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1143_31">setWeight</a> (<a class="el" href="a04558.html#a15">uint</a> idx, <a class="el" href="a04558.html#a7">uint8</a> wgt, float <a class="el" href="a04223.html#a575">w</a>)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Lod VB serialisation.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1147_0">serialHeader</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">just read/write the VertexFormat of the VB, number of vertices .... If read, VB is resized to numVertices. <a href="#NL3D_1_1CVertexBufferz1147_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="a03692.html#NL3D_1_1CVertexBufferz1147_1">serialSubset</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f, <a class="el" href="a04558.html#a15">uint</a> vertexStart, <a class="el" href="a04558.html#a15">uint</a> vertexEnd)</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="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">pinfo</a></td></tr>
+
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51">TType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffers0">DefaultValueType</a> [NumValue]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>CPtrInfo&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NullPtrInfo</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffers2">NumComponentsType</a> [NumType]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBuffers3">SizeType</a> [NumType]</td></tr>
+
+<tr><td colspan=2><br><h2>Private Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom>{ <a class="el" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery3">TouchedVertexFormat</a> = 1,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery2">TouchedNumVertices</a> = 2,
+<a class="el" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a> = 0xFFFF
+ }</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></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="a03692.html#NL3D_1_1CVertexBufferr0">_Capacity</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a></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="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a> [NumValue]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferr5">_Pad</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a> [NumValue]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferr7">_UVRouting</a> [MaxStage]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a></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="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a></td></tr>
+
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>struct&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02209.html#NLGEORGES_1_1UTypen0">CPtrInfo</a></td></tr>
+
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVertexBufferw0" doxytag="NL3D::CVertexBuffer::@35" ></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"> anonymous enum
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Misc infos<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_1CVertexBufferw0NL3D_1_1CVertexBufferw9" doxytag="FirstTexCoordValue" ></a>FirstTexCoordValue</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw0NL3D_1_1CVertexBufferw16" doxytag="LastTexCoordValue" ></a>LastTexCoordValue</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00136">136</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+<div class="fragment"><pre>00137 {
+00138 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw0NL3D_1_1CVertexBufferw9">FirstTexCoordValue</a> = <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>,
+00139 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw0NL3D_1_1CVertexBufferw16">LastTexCoordValue</a> = <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw49">TexCoord7</a>,
+00140 };
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferw1" doxytag="NL3D::CVertexBuffer::@36" ></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"> anonymous enum
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Value flags<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_1CVertexBufferw1NL3D_1_1CVertexBufferw26" doxytag="PositionFlag" ></a>PositionFlag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20" doxytag="NormalFlag" ></a>NormalFlag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36" doxytag="TexCoord0Flag" ></a>TexCoord0Flag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw38" doxytag="TexCoord1Flag" ></a>TexCoord1Flag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw40" doxytag="TexCoord2Flag" ></a>TexCoord2Flag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw42" doxytag="TexCoord3Flag" ></a>TexCoord3Flag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw44" doxytag="TexCoord4Flag" ></a>TexCoord4Flag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw46" doxytag="TexCoord5Flag" ></a>TexCoord5Flag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw48" doxytag="TexCoord6Flag" ></a>TexCoord6Flag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw50" doxytag="TexCoord7Flag" ></a>TexCoord7Flag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28" doxytag="PrimaryColorFlag" ></a>PrimaryColorFlag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30" doxytag="SecondaryColorFlag" ></a>SecondaryColorFlag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55" doxytag="WeightFlag" ></a>WeightFlag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24" doxytag="PaletteSkinFlag" ></a>PaletteSkinFlag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw15" doxytag="FogFlag" ></a>FogFlag</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw8" doxytag="EmptyFlag" ></a>EmptyFlag</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00145">145</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+<div class="fragment"><pre>00146 {
+00147 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw26">PositionFlag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw25">Position</a>,
+00148 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw19">Normal</a>,
+00149 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>,
+00150 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw38">TexCoord1Flag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw37">TexCoord1</a>,
+00151 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw40">TexCoord2Flag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw39">TexCoord2</a>,
+00152 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw42">TexCoord3Flag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw41">TexCoord3</a>,
+00153 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw44">TexCoord4Flag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw43">TexCoord4</a>,
+00154 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw46">TexCoord5Flag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw45">TexCoord5</a>,
+00155 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw48">TexCoord6Flag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw47">TexCoord6</a>,
+00156 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw50">TexCoord7Flag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw49">TexCoord7</a>,
+00157 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>,
+00158 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>,
+00159 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>,
+00160 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a> = (1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>)|(1&lt;&lt;Weight),
+00161 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw15">FogFlag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw14">Fog</a>,
+00162 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw8">EmptyFlag</a> = 1&lt;&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw7">Empty</a>,
+00163 };
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferw2" doxytag="NL3D::CVertexBuffer::@37" ></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"> anonymous enum
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Some constants<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_1CVertexBufferw2NL3D_1_1CVertexBufferw17" doxytag="MaxStage" ></a>MaxStage</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw18" doxytag="MaxWeight" ></a>MaxWeight</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00191">191</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+<div class="fragment"><pre>00192 {
+00193 <span class="comment">// Max count of texture coordinates</span>
+00194 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a> = 8,
+00195
+00196 <span class="comment">// Max count of skinning weight</span>
+00197 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw18">MaxWeight</a> = 4,
+00198 };
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffery0" doxytag="NL3D::CVertexBuffer::@38" ></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"> anonymous enum<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Internal flags<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_1CVertexBuffery0NL3D_1_1CVertexBuffery3" doxytag="TouchedVertexFormat" ></a>TouchedVertexFormat</em>&nbsp;</td><td>
+Vertex format touched. </td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery2" doxytag="TouchedNumVertices" ></a>TouchedNumVertices</em>&nbsp;</td><td>
+Num vertices touched. </td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1" doxytag="TouchedAll" ></a>TouchedAll</em>&nbsp;</td><td>
+All touhched. </td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00220">220</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+<div class="fragment"><pre>00221 {
+00223 <a class="code" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery3">TouchedVertexFormat</a> = 1,
+00224
+00226 <a class="code" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery2">TouchedNumVertices</a> = 2,
+00227
+00229 <a class="code" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a> = 0xFFFF
+00230 };
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferw51" doxytag="NL3D::CVertexBuffer::TType" ></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="a03692.html#NL3D_1_1CVertexBufferw51">NL3D::CVertexBuffer::TType</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Value type, there is 13 kind of value type as in DirectX8 and gl_vertex_program used in exteneded mode<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_1CVertexBufferw51NL3D_1_1CVertexBufferw3" doxytag="Double1" ></a>Double1</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10" doxytag="Float1" ></a>Float1</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw31" doxytag="Short1" ></a>Short1</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw4" doxytag="Double2" ></a>Double2</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11" doxytag="Float2" ></a>Float2</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw32" doxytag="Short2" ></a>Short2</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw5" doxytag="Double3" ></a>Double3</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12" doxytag="Float3" ></a>Float3</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw33" doxytag="Short3" ></a>Short3</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw6" doxytag="Double4" ></a>Double4</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13" doxytag="Float4" ></a>Float4</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw34" doxytag="Short4" ></a>Short4</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw53" doxytag="UChar4" ></a>UChar4</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw21" doxytag="NumType" ></a>NumType</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00170">170</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+<div class="fragment"><pre>00171 {
+00172 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw3">Double1</a>=0,
+00173 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>,
+00174 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw31">Short1</a>,
+00175 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw4">Double2</a>,
+00176 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>,
+00177 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw32">Short2</a>,
+00178 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw5">Double3</a>,
+00179 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>,
+00180 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw33">Short3</a>,
+00181 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw6">Double4</a>,
+00182 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>,
+00183 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw34">Short4</a>,
+00184 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw53">UChar4</a>,
+00185 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw21">NumType</a>
+00186 };
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferw52" doxytag="NL3D::CVertexBuffer::TValue" ></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="a03692.html#NL3D_1_1CVertexBufferw52">NL3D::CVertexBuffer::TValue</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Value ID, there is 16 value id<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_1CVertexBufferw52NL3D_1_1CVertexBufferw25" doxytag="Position" ></a>Position</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw19" doxytag="Normal" ></a>Normal</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35" doxytag="TexCoord0" ></a>TexCoord0</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw37" doxytag="TexCoord1" ></a>TexCoord1</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw39" doxytag="TexCoord2" ></a>TexCoord2</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw41" doxytag="TexCoord3" ></a>TexCoord3</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw43" doxytag="TexCoord4" ></a>TexCoord4</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw45" doxytag="TexCoord5" ></a>TexCoord5</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw47" doxytag="TexCoord6" ></a>TexCoord6</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw49" doxytag="TexCoord7" ></a>TexCoord7</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27" doxytag="PrimaryColor" ></a>PrimaryColor</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29" doxytag="SecondaryColor" ></a>SecondaryColor</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54" doxytag="Weight" ></a>Weight</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23" doxytag="PaletteSkin" ></a>PaletteSkin</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw14" doxytag="Fog" ></a>Fog</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw7" doxytag="Empty" ></a>Empty</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22" doxytag="NumValue" ></a>NumValue</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00112">112</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00244">getValueIdByNumberEx()</a>, <a class="el" href="a06710.html#l00883">serialHeader()</a>, <a class="el" href="a06710.html#l01008">serialSubset()</a>, and <a class="el" href="a06710.html#l00169">setVertexFormat()</a>.
+<p>
+<div class="fragment"><pre>00113 {
+00114 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw25">Position</a> =0,
+00115 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw19">Normal</a> =1,
+00116 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a> =2,
+00117 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw37">TexCoord1</a> =3,
+00118 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw39">TexCoord2</a> =4,
+00119 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw41">TexCoord3</a> =5,
+00120 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw43">TexCoord4</a> =6,
+00121 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw45">TexCoord5</a> =7,
+00122 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw47">TexCoord6</a> =8,
+00123 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw49">TexCoord7</a> =9,
+00124 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a> =10,
+00125 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a> =11,
+00126 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a> =12,
+00127 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a> =13,
+00128 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw14">Fog</a> =14,
+00129 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw7">Empty</a> =15,
+00130 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a> =16
+00131 };
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVertexBuffera2" doxytag="NL3D::CVertexBuffer::CVertexBuffer" ></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::CVertexBuffer::CVertexBuffer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&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>
+Default constructor. Make an empty vertex buffer. No value, no vertex.
+<p>
+Definition at line <a class="el" href="a06710.html#l00099">99</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00243">_InternalFlags</a>, <a class="el" href="a06711.html#l00246">_NbVerts</a>, <a class="el" href="a06711.html#l00258">_UVRouting</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00100 {
+00101 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> = 0;
+00102 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr0">_Capacity</a> = 0;
+00103 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a> = 0;
+00104 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a> = 0;
+00105 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a> = 0;
+00106
+00107 <span class="comment">// Default routing</span>
+00108 <a class="code" href="a04558.html#a15">uint</a> i;
+00109 <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>; i++)
+00110 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr7">_UVRouting</a>[i] = i;
+00111 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera1" doxytag="NL3D::CVertexBuffer::CVertexBuffer" ></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::CVertexBuffer::CVertexBuffer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03692.html">CVertexBuffer</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>vb</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>
+Copy constructor. Do not copy DrvInfos, copy all infos and set IDRV_VF_TOUCHED_ALL.
+<p>
+Definition at line <a class="el" href="a06710.html#l00115">115</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00246">_NbVerts</a>, <a class="el" href="a06711.html#l00258">_UVRouting</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>, <a class="el" href="a06710.html#l00139">operator=()</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00116 {
+00117 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> = 0;
+00118 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr0">_Capacity</a> = 0;
+00119 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a> = 0;
+00120 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a> = 0;
+00121 <a class="code" href="a03692.html#NL3D_1_1CVertexBuffera10">operator=</a>(vb);
+00122
+00123 <span class="comment">// Default routing</span>
+00124 <a class="code" href="a04558.html#a15">uint</a> i;
+00125 <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>; i++)
+00126 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr7">_UVRouting</a>[i] = i;
+00127 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera14" doxytag="NL3D::CVertexBuffer::~CVertexBuffer" ></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::CVertexBuffer::~<a class="el" href="a03692.html">CVertexBuffer</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&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>
+Destructor.
+<p>
+Definition at line <a class="el" href="a06710.html#l00131">131</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00264">DrvInfos</a>, and <a class="el" href="a03321.html#NLMISC_1_1CRefPtra3">NLMISC::CRefPtr&lt; IVBDrvInfos &gt;::kill()</a>.
+<p>
+<div class="fragment"><pre>00132 {
+00133 <span class="comment">// Must kill the drv mirror of this VB.</span>
+00134 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1141_2">DrvInfos</a>.<a class="code" href="a03321.html#NLMISC_1_1CRefPtra3">kill</a>();
+00135 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_0" doxytag="NL3D::CVertexBuffer::addValueEx" ></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::CVertexBuffer::addValueEx </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51">TType</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>type</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 a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00338">338</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw14">Fog</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06710.html#l00057">NumComponentsType</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>, <a class="el" href="a05646.html#l00244">type</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="a05989.html#l00172">NL3D::CMeshGeom::build()</a>, <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, <a class="el" href="a06710.html#l00883">serialHeader()</a>, <a class="el" href="a06708.html#l00364">NL3D::CVegetableVBAllocator::setupVBFormat()</a>, <a class="el" href="a05880.html#l00662">NL3D::CLandscapeVBAllocator::setupVBFormatAndVertexProgram()</a>, <a class="el" href="a06741.html#l00274">NL3D::CWaterShape::setupVertexBuffer()</a>, and <a class="el" href="a06710.html#l00169">setVertexFormat()</a>.
+<p>
+<div class="fragment"><pre>00339 {
+00340 <span class="comment">// Reset format flags</span>
+00341 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> |= 1&lt;&lt;valueId;
+00342
+00343 <span class="comment">// Set the type</span>
+00344 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[valueId]=(<a class="code" href="a04558.html#a7">uint8</a>)<a class="code" href="a04223.html#a581">type</a>;
+00345
+00346 <a class="code" href="a04558.html#a15">uint</a> numComp = <a class="code" href="a03692.html#NL3D_1_1CVertexBuffers2">NumComponentsType</a>[<a class="code" href="a04223.html#a581">type</a>];
+00347 <span class="comment">// unfortunately, some vertex program implementations don't allow any type for any value</span>
+00348 <span class="keywordflow">switch</span> (valueId)
+00349 {
+00350 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw25">Position</a>: <a class="code" href="a04199.html#a6">nlassert</a>(numComp &gt;= 2); <span class="keywordflow">break</span>;
+00351 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw19">Normal</a>: <a class="code" href="a04199.html#a6">nlassert</a>(numComp == 3); <span class="keywordflow">break</span>;
+00352 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>: <a class="code" href="a04199.html#a6">nlassert</a>(numComp == 4); <span class="keywordflow">break</span>;
+00353 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>: <a class="code" href="a04199.html#a6">nlassert</a>(numComp == 4); <span class="keywordflow">break</span>;
+00354 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>: <a class="code" href="a04199.html#a6">nlassert</a>(numComp == 4); <span class="keywordflow">break</span>;
+00355 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>: <a class="code" href="a04199.html#a6">nlassert</a>(numComp == 4); <span class="keywordflow">break</span>;
+00356 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw14">Fog</a>: <a class="code" href="a04199.html#a6">nlassert</a>(numComp == 4); <span class="keywordflow">break</span>;
+00357 }
+00358 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera0" doxytag="NL3D::CVertexBuffer::capacity" ></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::CVertexBuffer::capacity </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> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the number of vertices reserved.
+<p>
+Definition at line <a class="el" href="a06711.html#l00468">468</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00468 { <span class="keywordflow">return</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr0">_Capacity</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_1" doxytag="NL3D::CVertexBuffer::clearValueEx" ></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::CVertexBuffer::clearValueEx </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 all value in the vertex buffer. After this call, call addValue for each value you want in your vertex buffer then call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.
+<p>
+Definition at line <a class="el" href="a06710.html#l00271">271</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05989.html#l00172">NL3D::CMeshGeom::build()</a>, <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, <a class="el" href="a06710.html#l00883">serialHeader()</a>, <a class="el" href="a06708.html#l00364">NL3D::CVegetableVBAllocator::setupVBFormat()</a>, <a class="el" href="a05880.html#l00662">NL3D::CLandscapeVBAllocator::setupVBFormatAndVertexProgram()</a>, <a class="el" href="a06741.html#l00274">NL3D::CWaterShape::setupVertexBuffer()</a>, and <a class="el" href="a06710.html#l00169">setVertexFormat()</a>.
+<p>
+<div class="fragment"><pre>00272 {
+00273 <span class="comment">// Reset format flags</span>
+00274 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a>=0;
+00275 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera3" doxytag="NL3D::CVertexBuffer::deleteAllVertices" ></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::CVertexBuffer::deleteAllVertices </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>
+Reset all the vertices from memory (contReset()), so that <a class="el" href="a03692.html#NL3D_1_1CVertexBuffera0">capacity()</a> == <a class="el" href="a03692.html#NL3D_1_1CVertexBuffera4">getNumVertices()</a> == 0.
+<p>
+Definition at line <a class="el" href="a06710.html#l00424">424</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00243">_InternalFlags</a>, <a class="el" href="a06711.html#l00246">_NbVerts</a>, <a class="el" href="a06711.html#l00252">_Verts</a>, and <a class="el" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery2">TouchedNumVertices</a>.
+<p>
+Referenced by <a class="el" href="a06708.html#l00126">NL3D::CVegetableVBAllocator::clear()</a>, and <a class="el" href="a05880.html#l00335">NL3D::CLandscapeVBAllocator::deleteVertexBuffer()</a>.
+<p>
+<div class="fragment"><pre>00425 {
+00426 <span class="comment">// free memory.</span>
+00427 <a class="code" href="a05378.html#a381">contReset</a>(_Verts);
+00428 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr0">_Capacity</a>= 0;
+00429 <span class="keywordflow">if</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a>!=0)
+00430 {
+00431 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a>=0;
+00432 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a> |= <a class="code" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery2">TouchedNumVertices</a>;
+00433 }
+00434 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1148_0" doxytag="NL3D::CVertexBuffer::dumpFormat" ></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::CVertexBuffer::dumpFormat </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> const</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="a06710.html#l00280">280</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw3">Double1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw4">Double2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw5">Double3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw6">Double4</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw14">Fog</a>, <a class="el" href="a05622.html#l00111">nlinfo</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw31">Short1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw32">Short2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw33">Short3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw34">Short4</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw37">TexCoord1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw39">TexCoord2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw41">TexCoord3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw43">TexCoord4</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw45">TexCoord5</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw47">TexCoord6</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw49">TexCoord7</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw53">UChar4</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00281 {
+00282 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> k = 0; k &lt; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>; ++k)
+00283 {
+00284 <span class="keywordflow">if</span> (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; (1 &lt;&lt; k))
+00285 {
+00286 std::string result = <span class="stringliteral">"Component :"</span>;
+00287 <span class="keywordflow">switch</span>(k)
+00288 {
+00289 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw25">Position</a>: result += <span class="stringliteral">"Position"</span>; <span class="keywordflow">break</span>;
+00290 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw19">Normal</a>: result += <span class="stringliteral">"Normal"</span>; <span class="keywordflow">break</span>;
+00291 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>: result += <span class="stringliteral">"TexCoord0"</span>; <span class="keywordflow">break</span>;
+00292 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw37">TexCoord1</a>: result += <span class="stringliteral">"TexCoord1"</span>; <span class="keywordflow">break</span>;
+00293 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw39">TexCoord2</a>: result += <span class="stringliteral">"TexCoord2"</span>; <span class="keywordflow">break</span>;
+00294 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw41">TexCoord3</a>: result += <span class="stringliteral">"TexCoord3"</span>; <span class="keywordflow">break</span>;
+00295 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw43">TexCoord4</a>: result += <span class="stringliteral">"TexCoord4"</span>; <span class="keywordflow">break</span>;
+00296 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw45">TexCoord5</a>: result += <span class="stringliteral">"TexCoord5"</span>; <span class="keywordflow">break</span>;
+00297 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw47">TexCoord6</a>: result += <span class="stringliteral">"TexCoord6"</span>; <span class="keywordflow">break</span>;
+00298 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw49">TexCoord7</a>: result += <span class="stringliteral">"TexCoord7"</span>; <span class="keywordflow">break</span>;
+00299 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>: result += <span class="stringliteral">"PrimaryColor"</span>; <span class="keywordflow">break</span>;
+00300 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>:result += <span class="stringliteral">"SecondaryColor"</span>; <span class="keywordflow">break</span>;
+00301 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>: result += <span class="stringliteral">"Weight"</span>; <span class="keywordflow">break</span>;
+00302 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>: result += <span class="stringliteral">"PaletteSkin"</span>; <span class="keywordflow">break</span>;
+00303 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw14">Fog</a>: result += <span class="stringliteral">"Fog"</span>; <span class="keywordflow">break</span>;
+00304 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw7">Empty</a>: result += <span class="stringliteral">"Empty"</span>; <span class="keywordflow">break</span>;
+00305 <span class="keywordflow">case</span> NumValue: result += <span class="stringliteral">"NumValue"</span>; <span class="keywordflow">break</span>;
+00306 <span class="keywordflow">default</span>:
+00307 result += <span class="stringliteral">"???"</span>;
+00308 <span class="keywordflow">break</span>;
+00309 }
+00310 result += <span class="stringliteral">"; type :"</span>;
+00311 <span class="keywordflow">switch</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[k])
+00312 {
+00313 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw3">Double1</a>: result +=<span class="stringliteral">"Double1"</span>; <span class="keywordflow">break</span>;
+00314 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>: result +=<span class="stringliteral">"Float1"</span>; <span class="keywordflow">break</span>;
+00315 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw31">Short1</a>: result +=<span class="stringliteral">"Short1"</span>; <span class="keywordflow">break</span>;
+00316 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw4">Double2</a>: result +=<span class="stringliteral">"Double2"</span>; <span class="keywordflow">break</span>;
+00317 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>: result +=<span class="stringliteral">"Float2"</span>; <span class="keywordflow">break</span>;
+00318 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw32">Short2</a>: result +=<span class="stringliteral">"Short2"</span>; <span class="keywordflow">break</span>;
+00319 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw5">Double3</a>: result +=<span class="stringliteral">"Double3"</span>; <span class="keywordflow">break</span>;
+00320 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>: result +=<span class="stringliteral">"Float3"</span>; <span class="keywordflow">break</span>;
+00321 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw33">Short3</a>: result +=<span class="stringliteral">"Short3"</span>; <span class="keywordflow">break</span>;
+00322 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw6">Double4</a>: result +=<span class="stringliteral">"Double4"</span>; <span class="keywordflow">break</span>;
+00323 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>: result +=<span class="stringliteral">"Float4"</span>; <span class="keywordflow">break</span>;
+00324 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw34">Short4</a>: result +=<span class="stringliteral">"Short4"</span>; <span class="keywordflow">break</span>;
+00325 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw53">UChar4</a>: result +=<span class="stringliteral">"UChar4"</span>; <span class="keywordflow">break</span>;
+00326 <span class="keywordflow">default</span>:
+00327 result += <span class="stringliteral">"???"</span>;
+00328 <span class="keywordflow">break</span>;
+00329 }
+00330 <a class="code" href="a04199.html#a1">nlinfo</a>(result.c_str());
+00331 }
+00332 }
+00333 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_0" doxytag="NL3D::CVertexBuffer::getColorOff" ></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#a14">sint</a> NL3D::CVertexBuffer::getColorOff </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> const<code> [inline]</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="a06711.html#l00340">340</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+Referenced by <a class="el" href="a06005.html#l00498">NL3D::CMeshMRMGeom::applyGeomorphWithVBHardPtr()</a>, <a class="el" href="a05935.html#l00276">NL3D::CLodCharacterManager::beginRender()</a>, <a class="el" href="a06250.html#l02081">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildVB()</a>, <a class="el" href="a06283.html#l00242">NL3D::CPSTailDot::displayRibbons()</a>, <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, <a class="el" href="a06273.html#l00471">NL3D::CPSRibbon::displayRibbons()</a>, <a class="el" href="a05657.html#l00758">NL3D::CDriverUser::drawQuads()</a>, <a class="el" href="a05570.html#l00119">NL3D::CCoarseMeshManager::getColorOff()</a>, <a class="el" href="a05595.html#l00183">NL3D::CComputedString::render2DClip()</a>, <a class="el" href="a05595.html#l00378">NL3D::CComputedString::render2DUnProjected()</a>, and <a class="el" href="a05882.html#l00073">NL3D::CFarVertexBufferInfo::setupVertexBuffer()</a>.
+<p>
+<div class="fragment"><pre>00340 {<a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; PrimaryColorFlag); <span class="keywordflow">return</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>];}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_1" doxytag="NL3D::CVertexBuffer::getColorPointer" ></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 void * NL3D::CVertexBuffer::getColorPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>idx</em> = 0 </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</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="a06710.html#l00580">580</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00581 {
+00582 <span class="keyword">const</span> <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00583
+00584 <span class="keywordflow">if</span> ( !(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a>) )
+00585 {
+00586 <span class="keywordflow">return</span>(NULL);
+00587 }
+00588 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00589 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>];
+00590 ptr+=idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00591 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00592 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_2" doxytag="NL3D::CVertexBuffer::getColorPointer" ></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::CVertexBuffer::getColorPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>idx</em> = 0 </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>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00465">465</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</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="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, <a class="el" href="a06250.html#l01825">NL3D::CPSConstraintMesh::computeColors()</a>, <a class="el" href="a06226.html#l00052">NL3D::DrawDot()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06103.html#l00207">NL3D::CNoise3d::render()</a>, <a class="el" href="a06103.html#l00138">NL3D::CNoise3d::render2passes()</a>, <a class="el" href="a06103.html#l00271">NL3D::CNoise3d::renderGrid()</a>, <a class="el" href="a06103.html#l00345">NL3D::CNoise3d::renderGrid2passes()</a>, <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>, <a class="el" href="a05882.html#l00073">NL3D::CFarVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a06003.html#l00103">NL3D::CMeshMorpher::update()</a>, <a class="el" href="a06003.html#l00236">NL3D::CMeshMorpher::updateSkinned()</a>, <a class="el" href="a06279.html#l00381">NL3D::CPSShockWave::updateVbColNUVForRender()</a>, and <a class="el" href="a06262.html#l00386">NL3D::CPSQuad::updateVbColNUVForRender()</a>.
+<p>
+<div class="fragment"><pre>00466 {
+00467 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00468
+00469 <span class="keywordflow">if</span> ( !(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a>) )
+00470 {
+00471 <span class="keywordflow">return</span>(NULL);
+00472 }
+00473 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00474 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>];
+00475 ptr+=idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00476 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00477 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_3" doxytag="NL3D::CVertexBuffer::getNormalCoordPointer" ></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 void * NL3D::CVertexBuffer::getNormalCoordPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>idx</em> = 0 </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</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="a06710.html#l00564">564</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00565 {
+00566 <span class="keyword">const</span> <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00567
+00568 <span class="keywordflow">if</span> ( !(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a>) )
+00569 {
+00570 <span class="keywordflow">return</span>(NULL);
+00571 }
+00572 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00573 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw19">Normal</a>];
+00574 ptr+=idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00575 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00576 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_4" doxytag="NL3D::CVertexBuffer::getNormalCoordPointer" ></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::CVertexBuffer::getNormalCoordPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>idx</em> = 0 </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>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00449">449</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</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="a05989.html#l01715">NL3D::CMeshGeom::applySkin()</a>, <a class="el" href="a05989.html#l01615">NL3D::CMeshGeom::bkupOriginalSkinVertices()</a>, <a class="el" href="a06005.html#l02055">NL3D::CMeshMRMGeom::bkupOriginalSkinVerticesSubset()</a>, <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, <a class="el" href="a06011.html#l02088">NL3D::CMeshMRMSkinnedGeom::getVertexBuffer()</a>, <a class="el" href="a06005.html#l02095">NL3D::CMeshMRMGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a05989.html#l01663">NL3D::CMeshGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>, and <a class="el" href="a06003.html#l00103">NL3D::CMeshMorpher::update()</a>.
+<p>
+<div class="fragment"><pre>00450 {
+00451 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00452
+00453 <span class="keywordflow">if</span> ( !(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a>) )
+00454 {
+00455 <span class="keywordflow">return</span>(NULL);
+00456 }
+00457 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00458 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw19">Normal</a>];
+00459 ptr+=idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00460 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00461 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_5" doxytag="NL3D::CVertexBuffer::getNormalOff" ></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#a14">sint</a> NL3D::CVertexBuffer::getNormalOff </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> const<code> [inline]</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="a06711.html#l00338">338</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+Referenced by <a class="el" href="a06698.html#l01036">NL3D::CVegetableManager::addInstance()</a>, <a class="el" href="a06005.html#l00498">NL3D::CMeshMRMGeom::applyGeomorphWithVBHardPtr()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a06250.html#l01531">NL3D::CPSConstraintMesh::makePrerotatedVb()</a>, <a class="el" href="a06005.html#l02131">NL3D::CMeshMRMGeom::restoreOriginalSkinPart()</a>, <a class="el" href="a06698.html#l02354">NL3D::CVegetableManager::updateInstanceLighting()</a>, and <a class="el" href="a06003.html#l00399">NL3D::CMeshMorpher::updateRawSkin()</a>.
+<p>
+<div class="fragment"><pre>00338 {<a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; NormalFlag); <span class="keywordflow">return</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw19">Normal</a>];}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_6" doxytag="NL3D::CVertexBuffer::getNumTexCoordUsed" ></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::CVertexBuffer::getNumTexCoordUsed </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> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the number of texture coordinate stages used by this vertex buffer.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00976">976</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05989.html#l01715">NL3D::CMeshGeom::applySkin()</a>, <a class="el" href="a05989.html#l01615">NL3D::CMeshGeom::bkupOriginalSkinVertices()</a>, <a class="el" href="a06005.html#l02055">NL3D::CMeshMRMGeom::bkupOriginalSkinVerticesSubset()</a>, <a class="el" href="a06005.html#l01146">NL3D::CMeshMRMGeom::renderSkin()</a>, <a class="el" href="a06005.html#l02095">NL3D::CMeshMRMGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a05989.html#l01663">NL3D::CMeshGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a06003.html#l00103">NL3D::CMeshMorpher::update()</a>, and <a class="el" href="a06003.html#l00236">NL3D::CMeshMorpher::updateSkinned()</a>.
+<p>
+<div class="fragment"><pre>00977 {
+00978 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a14">sint</a> k = (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a> - 1); k &gt;= 0; --k)
+00979 {
+00980 <span class="keywordflow">if</span> (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a> &lt;&lt; k)) <span class="keywordflow">return</span> (<a class="code" href="a04558.html#a15">uint</a>) (k + 1);
+00981 }
+00982 <span class="keywordflow">return</span> 0;
+00983 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera4" doxytag="NL3D::CVertexBuffer::getNumVertices" ></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::CVertexBuffer::getNumVertices </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the number of active vertices.
+<p>
+Definition at line <a class="el" href="a06711.html#l00453">453</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00246">_NbVerts</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a05653.html#l00087">NL3D::CDriverGL::activeVertexBuffer()</a>, <a class="el" href="a06698.html#l01036">NL3D::CVegetableManager::addInstance()</a>, <a class="el" href="a06005.html#l02705">NL3D::CMeshMRMGeom::beginMesh()</a>, <a class="el" href="a06005.html#l02045">NL3D::CMeshMRMGeom::bkupOriginalSkinVertices()</a>, <a class="el" href="a05989.html#l01615">NL3D::CMeshGeom::bkupOriginalSkinVertices()</a>, <a class="el" href="a06005.html#l02055">NL3D::CMeshMRMGeom::bkupOriginalSkinVerticesSubset()</a>, <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, <a class="el" href="a06250.html#l02064">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildRdrPassSet()</a>, <a class="el" href="a06250.html#l02081">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildVB()</a>, <a class="el" href="a06005.html#l02554">NL3D::CMeshMRMGeom::compileRunTime()</a>, <a class="el" href="a06250.html#l01825">NL3D::CPSConstraintMesh::computeColors()</a>, <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a06001.html#l00254">NL3D::CMeshInstance::createShadowMap()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a06626.html#l00053">NL3D::UShape::getMeshTriangles()</a>, <a class="el" href="a06005.html#l02802">NL3D::CMeshMRMGeom::getVBHeapInfo()</a>, <a class="el" href="a05989.html#l02114">NL3D::CMeshGeom::getVBHeapInfo()</a>, <a class="el" href="a06273.html#l00695">NL3D::CPSRibbon::getVBnPB()</a>, <a class="el" href="a06016.html#l00740">NL3D::CMeshMultiLod::instanciateCoarseMeshSpace()</a>, <a class="el" href="a06250.html#l01531">NL3D::CPSConstraintMesh::makePrerotatedVb()</a>, <a class="el" href="a06103.html#l00207">NL3D::CNoise3d::render()</a>, <a class="el" href="a06005.html#l00927">NL3D::CMeshMRMGeom::render()</a>, <a class="el" href="a05595.html#l00084">NL3D::CComputedString::render2D()</a>, <a class="el" href="a05595.html#l00183">NL3D::CComputedString::render2DClip()</a>, <a class="el" href="a05595.html#l00378">NL3D::CComputedString::render2DUnProjected()</a>, <a class="el" href="a06103.html#l00138">NL3D::CNoise3d::render2passes()</a>, <a class="el" href="a05595.html#l00151">NL3D::CComputedString::render3D()</a>, <a class="el" href="a06016.html#l00496">NL3D::CMeshMultiLod::renderCoarseMesh()</a>, <a class="el" href="a06103.html#l00271">NL3D::CNoise3d::renderGrid()</a>, <a class="el" href="a06103.html#l00345">NL3D::CNoise3d::renderGrid2passes()</a>, <a class="el" href="a06698.html#l00856">NL3D::CVegetableManager::reserveIgAddInstances()</a>, <a class="el" href="a06005.html#l02095">NL3D::CMeshMRMGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a05989.html#l01663">NL3D::CMeshGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a06702.html#l00186">NL3D::CVegetableShape::serial()</a>, <a class="el" href="a06018.html#l00280">NL3D::CMeshMultiLodInstance::setPosCoarseMesh()</a>, <a class="el" href="a05882.html#l00203">NL3D::CNearVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05882.html#l00073">NL3D::CFarVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05653.html#l01075">NL3D::CVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a06018.html#l00249">NL3D::CMeshMultiLodInstance::setUVCoarseMesh()</a>, <a class="el" href="a05880.html#l00258">NL3D::CLandscapeVBAllocator::synchronizeATIVBHard()</a>, <a class="el" href="a06250.html#l01134">NL3D::CPSConstraintMesh::update()</a>, <a class="el" href="a06003.html#l00103">NL3D::CMeshMorpher::update()</a>, <a class="el" href="a06003.html#l00399">NL3D::CMeshMorpher::updateRawSkin()</a>, <a class="el" href="a06005.html#l03060">NL3D::CMeshMRMGeom::updateRawSkinNormal()</a>, <a class="el" href="a06003.html#l00236">NL3D::CMeshMorpher::updateSkinned()</a>, <a class="el" href="a06005.html#l02224">NL3D::CMeshMRMGeom::updateVertexBufferHard()</a>, and <a class="el" href="a05989.html#l00523">NL3D::CMeshGeom::updateVertexBufferHard()</a>.
+<p>
+<div class="fragment"><pre>00453 { <span class="keywordflow">return</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a>); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera5" doxytag="NL3D::CVertexBuffer::getNumWeight" ></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#a7">uint8</a> NL3D::CVertexBuffer::getNumWeight </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> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return number of weight value in vertices
+<p>
+Definition at line <a class="el" href="a06710.html#l00987">987</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a05653.html#l01075">NL3D::CVertexBufferInfo::setupVertexBuffer()</a>.
+<p>
+<div class="fragment"><pre>00988 {
+00989 <span class="comment">// Num weight</span>
+00990 <span class="keywordflow">switch</span> (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>])
+00991 {
+00992 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>:
+00993 <span class="keywordflow">return</span> 1;
+00994 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>:
+00995 <span class="keywordflow">return</span> 2;
+00996 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>:
+00997 <span class="keywordflow">return</span> 3;
+00998 <span class="keywordflow">case</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>:
+00999 <span class="keywordflow">return</span> 4;
+01000 }
+01001
+01002 <span class="comment">// No weight</span>
+01003 <span class="keywordflow">return</span> 0;
+01004 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_7" doxytag="NL3D::CVertexBuffer::getPaletteSkinOff" ></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#a14">sint</a> NL3D::CVertexBuffer::getPaletteSkinOff </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> const<code> [inline]</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="a06711.html#l00344">344</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00344 {<a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; PaletteSkin); <span class="keywordflow">return</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>];}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_8" doxytag="NL3D::CVertexBuffer::getPaletteSkinPointer" ></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 void * NL3D::CVertexBuffer::getPaletteSkinPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>idx</em> = 0 </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</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="a06710.html#l00644">644</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00645 {
+00646 <span class="keyword">const</span> <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00647
+00648 <span class="keywordflow">if</span> ( (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a>) != CVertexBuffer::PaletteSkinFlag )
+00649 {
+00650 <span class="keywordflow">return</span>(NULL);
+00651 }
+00652 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00653 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>];
+00654 ptr+=idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00655 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00656 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_9" doxytag="NL3D::CVertexBuffer::getPaletteSkinPointer" ></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::CVertexBuffer::getPaletteSkinPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>idx</em> = 0 </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>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00529">529</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</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="a05989.html#l01715">NL3D::CMeshGeom::applySkin()</a>, and <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>.
+<p>
+<div class="fragment"><pre>00530 {
+00531 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00532
+00533 <span class="keywordflow">if</span> ( (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a>) != CVertexBuffer::PaletteSkinFlag )
+00534 {
+00535 <span class="keywordflow">return</span>(NULL);
+00536 }
+00537 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00538 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>];
+00539 ptr+=idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00540 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00541 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypea8" doxytag="NL3D::CVertexBuffer::getRefCount" ></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>&amp; NLMISC::CRefCount::getRefCount </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> const<code> [inline, inherited]</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="a06402.html#l00070">70</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+References <a class="el" href="a06402.html#l00079">NLMISC::CRefCount::crefs</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00071 {
+00072 <span class="keywordflow">return</span> <a class="code" href="a02209.html#NLGEORGES_1_1UTypeo0">crefs</a>;
+00073 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_10" doxytag="NL3D::CVertexBuffer::getSpecularOff" ></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#a14">sint</a> NL3D::CVertexBuffer::getSpecularOff </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> const<code> [inline]</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="a06711.html#l00341">341</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+Referenced by <a class="el" href="a06005.html#l00498">NL3D::CMeshMRMGeom::applyGeomorphWithVBHardPtr()</a>.
+<p>
+<div class="fragment"><pre>00341 {<a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; SecondaryColorFlag); <span class="keywordflow">return</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>];}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_11" doxytag="NL3D::CVertexBuffer::getSpecularPointer" ></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 void * NL3D::CVertexBuffer::getSpecularPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>idx</em> = 0 </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</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="a06710.html#l00596">596</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00597 {
+00598 <span class="keyword">const</span> <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00599
+00600 <span class="keywordflow">if</span> ( !(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a>) )
+00601 {
+00602 <span class="keywordflow">return</span>(NULL);
+00603 }
+00604 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00605 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>];
+00606 ptr+=idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00607 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00608 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_12" doxytag="NL3D::CVertexBuffer::getSpecularPointer" ></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::CVertexBuffer::getSpecularPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>idx</em> = 0 </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>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00481">481</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</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="a06710.html#l00741">serialOldV1Minus()</a>.
+<p>
+<div class="fragment"><pre>00482 {
+00483 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00484
+00485 <span class="keywordflow">if</span> ( !(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a>) )
+00486 {
+00487 <span class="keywordflow">return</span>(NULL);
+00488 }
+00489 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00490 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>];
+00491 ptr+=idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00492 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00493 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_13" doxytag="NL3D::CVertexBuffer::getTexCoordOff" ></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#a14">sint</a> NL3D::CVertexBuffer::getTexCoordOff </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stage</em> = 0 </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</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="a06711.html#l00339">339</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a06698.html#l01036">NL3D::CVegetableManager::addInstance()</a>, <a class="el" href="a06005.html#l00498">NL3D::CMeshMRMGeom::applyGeomorphWithVBHardPtr()</a>, <a class="el" href="a05935.html#l00276">NL3D::CLodCharacterManager::beginRender()</a>, <a class="el" href="a05657.html#l00758">NL3D::CDriverUser::drawQuads()</a>, <a class="el" href="a05570.html#l00118">NL3D::CCoarseMeshManager::getUVOff()</a>, <a class="el" href="a05595.html#l00183">NL3D::CComputedString::render2DClip()</a>, <a class="el" href="a05595.html#l00378">NL3D::CComputedString::render2DUnProjected()</a>, <a class="el" href="a05882.html#l00203">NL3D::CNearVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05882.html#l00073">NL3D::CFarVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a06003.html#l00399">NL3D::CMeshMorpher::updateRawSkin()</a>, and <a class="el" href="a06003.html#l00236">NL3D::CMeshMorpher::updateSkinned()</a>.
+<p>
+<div class="fragment"><pre>00339 {<a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (TexCoord0Flag&lt;&lt;stage)); <span class="keywordflow">return</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>+stage]; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_14" doxytag="NL3D::CVertexBuffer::getTexCoordPointer" ></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 void * NL3D::CVertexBuffer::getTexCoordPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em> = 0, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>stage</em> = 0</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const</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="a06710.html#l00612">612</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00613 {
+00614 <span class="keyword">const</span> <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00615
+00616 <span class="keywordflow">if</span> ( !(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>&lt;&lt;stage)) )
+00617 {
+00618 <span class="keywordflow">return</span>(NULL);
+00619 }
+00620 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00621 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>+stage];
+00622 ptr+=idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00623 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00624 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_15" doxytag="NL3D::CVertexBuffer::getTexCoordPointer" ></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::CVertexBuffer::getTexCoordPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em> = 0, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>stage</em> = 0</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>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00497">497</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</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="a06768.html#l01717">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05989.html#l01715">NL3D::CMeshGeom::applySkin()</a>, <a class="el" href="a05989.html#l01615">NL3D::CMeshGeom::bkupOriginalSkinVertices()</a>, <a class="el" href="a06005.html#l02055">NL3D::CMeshMRMGeom::bkupOriginalSkinVerticesSubset()</a>, <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, <a class="el" href="a05557.html#l00606">NL3D::CCloud::dispBill()</a>, <a class="el" href="a05557.html#l00388">NL3D::CCloud::dispXYZ()</a>, <a class="el" href="a05557.html#l00110">NL3D::CCloud::generate()</a>, <a class="el" href="a06011.html#l02088">NL3D::CMeshMRMSkinnedGeom::getVertexBuffer()</a>, <a class="el" href="a05557.html#l00182">NL3D::CCloud::light()</a>, <a class="el" href="a05567.html#l00430">NL3D::CCoarseMeshBuild::remapCoordinates()</a>, <a class="el" href="a06103.html#l00207">NL3D::CNoise3d::render()</a>, <a class="el" href="a06103.html#l00138">NL3D::CNoise3d::render2passes()</a>, <a class="el" href="a06103.html#l00271">NL3D::CNoise3d::renderGrid()</a>, <a class="el" href="a06103.html#l00345">NL3D::CNoise3d::renderGrid2passes()</a>, <a class="el" href="a06005.html#l02095">NL3D::CMeshMRMGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a05989.html#l01663">NL3D::CMeshGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>, <a class="el" href="a05882.html#l00203">NL3D::CNearVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05882.html#l00073">NL3D::CFarVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a06018.html#l00249">NL3D::CMeshMultiLodInstance::setUVCoarseMesh()</a>, <a class="el" href="a06003.html#l00103">NL3D::CMeshMorpher::update()</a>, <a class="el" href="a06005.html#l03060">NL3D::CMeshMRMGeom::updateRawSkinNormal()</a>, <a class="el" href="a06003.html#l00236">NL3D::CMeshMorpher::updateSkinned()</a>, <a class="el" href="a06279.html#l00381">NL3D::CPSShockWave::updateVbColNUVForRender()</a>, and <a class="el" href="a06262.html#l00386">NL3D::CPSQuad::updateVbColNUVForRender()</a>.
+<p>
+<div class="fragment"><pre>00498 {
+00499 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00500
+00501 <span class="keywordflow">if</span> ( !(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>&lt;&lt;stage)) )
+00502 {
+00503 <span class="keywordflow">return</span>(NULL);
+00504 }
+00505 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00506 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>+stage];
+00507 ptr+=idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00508 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00509 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1141_0" doxytag="NL3D::CVertexBuffer::getTouchFlags" ></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::CVertexBuffer::getTouchFlags </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> const<code> [inline]</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="a06711.html#l00265">265</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00243">_InternalFlags</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05653.html#l00060">NL3D::CDriverGL::setupVertexBuffer()</a>.
+<p>
+<div class="fragment"><pre>00265 { <span class="keywordflow">return</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a>&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1148_1" doxytag="NL3D::CVertexBuffer::getUVRouting" ></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#a7">uint8</a>* NL3D::CVertexBuffer::getUVRouting </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> const<code> [inline]</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="a06711.html#l00504">504</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00258">_UVRouting</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a05880.html#l00368">NL3D::CLandscapeVBAllocator::allocateVertexBuffer()</a>, <a class="el" href="a06708.html#l00306">NL3D::CVegetableVBAllocator::allocateVertexBufferAndFillVBHard()</a>, <a class="el" href="a06250.html#l02081">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildVB()</a>, <a class="el" href="a06720.html#l00056">NL3D::CVertexStreamManager::init()</a>, <a class="el" href="a06714.html#l00056">NL3D::CVertexBufferHeap::init()</a>, <a class="el" href="a05653.html#l01075">NL3D::CVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05880.html#l00258">NL3D::CLandscapeVBAllocator::synchronizeATIVBHard()</a>, <a class="el" href="a06005.html#l02224">NL3D::CMeshMRMGeom::updateVertexBufferHard()</a>, and <a class="el" href="a05989.html#l00523">NL3D::CMeshGeom::updateVertexBufferHard()</a>.
+<p>
+<div class="fragment"><pre>00504 { <span class="keywordflow">return</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr7">_UVRouting</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_2" doxytag="NL3D::CVertexBuffer::getValueEx" ></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 void* NL3D::CVertexBuffer::getValueEx </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em> = 0</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get readable value pointer.
+<p>
+Definition at line <a class="el" href="a06711.html#l00436">436</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a06711.html#l00441">getValueOffEx()</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>00436 { <a class="code" href="a04199.html#a6">nlassert</a> (_Flags &amp; (1&lt;&lt;valueId)); <span class="keywordflow">return</span> (<span class="keywordtype">void</span>*)((&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin()))+idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>+<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_4">getValueOffEx</a> (valueId)); };
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_3" doxytag="NL3D::CVertexBuffer::getValueEx" ></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::CVertexBuffer::getValueEx </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em> = 0</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get writable value pointer.
+<p>
+Definition at line <a class="el" href="a06711.html#l00431">431</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a06711.html#l00441">getValueOffEx()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l01008">serialSubset()</a>, and <a class="el" href="a05653.html#l01075">NL3D::CVertexBufferInfo::setupVertexBuffer()</a>.
+<p>
+<div class="fragment"><pre>00431 { <a class="code" href="a04199.html#a6">nlassert</a> (_Flags &amp; (1&lt;&lt;valueId)); <span class="keywordflow">return</span> (<span class="keywordtype">void</span>*)((&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin()))+idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>+<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_4">getValueOffEx</a> (valueId)); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_22" doxytag="NL3D::CVertexBuffer::getValueIdByNumberEx" ></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="a03692.html#NL3D_1_1CVertexBufferw52">CVertexBuffer::TValue</a> NL3D::CVertexBuffer::getValueIdByNumberEx </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>valueNumber</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the corresponding TValue according to the number of vertex attribute wanted (v[0], v[1] ...) Warning!: (TValue)valueNumber != getValueIdByNumberEx(valueNumber).<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueNumber</em>&nbsp;</td><td>is the value index (0..15) you want to know the valueId.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00244">244</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw14">Fog</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw37">TexCoord1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw39">TexCoord2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw41">TexCoord3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw43">TexCoord4</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw45">TexCoord5</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw47">TexCoord6</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw49">TexCoord7</a>, <a class="el" href="a06711.html#l00112">TValue</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00245 {
+00246 <span class="comment">// See NV_vertex_program spec, or driver_opengl_vertex.cpp:: GLVertexAttribIndex.</span>
+00247 <span class="keyword">static</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a> lut[16]= {
+00248 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw25">Position</a>,
+00249 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>,
+00250 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw19">Normal</a>,
+00251 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>,
+00252 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>,
+00253 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw14">Fog</a>,
+00254 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>,
+00255 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw7">Empty</a>,
+00256 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>,
+00257 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw37">TexCoord1</a>,
+00258 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw39">TexCoord2</a>,
+00259 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw41">TexCoord3</a>,
+00260 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw43">TexCoord4</a>,
+00261 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw45">TexCoord5</a>,
+00262 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw47">TexCoord6</a>,
+00263 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw49">TexCoord7</a>,
+00264 };
+00265
+00266 <span class="keywordflow">return</span> lut[valueNumber];
+00267 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_4" doxytag="NL3D::CVertexBuffer::getValueOffEx" ></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#a14">sint</a> NL3D::CVertexBuffer::getValueOffEx </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>valueId</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get value offset.
+<p>
+Definition at line <a class="el" href="a06711.html#l00441">441</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+Referenced by <a class="el" href="a06698.html#l01036">NL3D::CVegetableManager::addInstance()</a>, <a class="el" href="a06711.html#l00431">getValueEx()</a>, <a class="el" href="a05882.html#l00203">NL3D::CNearVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05882.html#l00073">NL3D::CFarVertexBufferInfo::setupVertexBuffer()</a>, and <a class="el" href="a06698.html#l02354">NL3D::CVegetableManager::updateInstanceLighting()</a>.
+<p>
+<div class="fragment"><pre>00441 { <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;valueId)); <span class="keywordflow">return</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId]; };
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera7" doxytag="NL3D::CVertexBuffer::getValueType" ></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="a03692.html#NL3D_1_1CVertexBufferw51">TType</a> NL3D::CVertexBuffer::getValueType </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>value</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the type of a value
+<p>
+Definition at line <a class="el" href="a06711.html#l00478">478</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05646.html#l01132">value</a>.
+<p>
+Referenced by <a class="el" href="a06005.html#l00498">NL3D::CMeshMRMGeom::applyGeomorphWithVBHardPtr()</a>, and <a class="el" href="a05653.html#l01075">NL3D::CVertexBufferInfo::setupVertexBuffer()</a>.
+<p>
+<div class="fragment"><pre>00478 { <a class="code" href="a04199.html#a6">nlassert</a> (value&lt;NumValue); <span class="keywordflow">return</span>((<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51">TType</a>)<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a04223.html#a658">value</a>]); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera8" doxytag="NL3D::CVertexBuffer::getValueTypePointer" ></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#a7">uint8</a>* NL3D::CVertexBuffer::getValueTypePointer </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> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the type array
+<p>
+Definition at line <a class="el" href="a06711.html#l00483">483</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a05880.html#l00368">NL3D::CLandscapeVBAllocator::allocateVertexBuffer()</a>, <a class="el" href="a06708.html#l00306">NL3D::CVegetableVBAllocator::allocateVertexBufferAndFillVBHard()</a>, <a class="el" href="a06720.html#l00056">NL3D::CVertexStreamManager::init()</a>, <a class="el" href="a06714.html#l00056">NL3D::CVertexBufferHeap::init()</a>, <a class="el" href="a05880.html#l00258">NL3D::CLandscapeVBAllocator::synchronizeATIVBHard()</a>, <a class="el" href="a06005.html#l02224">NL3D::CMeshMRMGeom::updateVertexBufferHard()</a>, and <a class="el" href="a05989.html#l00523">NL3D::CMeshGeom::updateVertexBufferHard()</a>.
+<p>
+<div class="fragment"><pre>00483 { <span class="keywordflow">return</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_16" doxytag="NL3D::CVertexBuffer::getVertexCoordPointer" ></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 void * NL3D::CVertexBuffer::getVertexCoordPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>idx</em> = 0 </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</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="a06710.html#l00553">553</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00554 {
+00555 <span class="keyword">const</span> <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00556
+00557 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00558 ptr+=(idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>);
+00559 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00560 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_17" doxytag="NL3D::CVertexBuffer::getVertexCoordPointer" ></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::CVertexBuffer::getVertexCoordPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>idx</em> = 0 </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>
+NB: the order of those methods follow the order in memory of the elements:<ul>
+<li>VertexCoord</li><li>NormalCoord</li><li>TexCoord</li><li>Color</li><li>Specular</li><li>Weight</li><li>PaletteSkin</li></ul>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00438">438</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</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="a06698.html#l01036">NL3D::CVegetableManager::addInstance()</a>, <a class="el" href="a05569.html#l00084">NL3D::CCoarseMeshManager::addMesh()</a>, <a class="el" href="a06768.html#l01717">NL3D::CZoneLighter::addTriangles()</a>, <a class="el" href="a05824.html#l00179">NL3D::CInstanceLighter::addTriangles()</a>, <a class="el" href="a06708.html#l00306">NL3D::CVegetableVBAllocator::allocateVertexBufferAndFillVBHard()</a>, <a class="el" href="a06005.html#l00498">NL3D::CMeshMRMGeom::applyGeomorphWithVBHardPtr()</a>, <a class="el" href="a06009.html#l00207">NL3D::CMeshMRMGeom::applySkin()</a>, <a class="el" href="a05989.html#l01715">NL3D::CMeshGeom::applySkin()</a>, <a class="el" href="a05989.html#l01615">NL3D::CMeshGeom::bkupOriginalSkinVertices()</a>, <a class="el" href="a06005.html#l02055">NL3D::CMeshMRMGeom::bkupOriginalSkinVerticesSubset()</a>, <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, <a class="el" href="a06250.html#l02081">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildVB()</a>, <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a06001.html#l00254">NL3D::CMeshInstance::createShadowMap()</a>, <a class="el" href="a05557.html#l00606">NL3D::CCloud::dispBill()</a>, <a class="el" href="a06283.html#l00242">NL3D::CPSTailDot::displayRibbons()</a>, <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, <a class="el" href="a06273.html#l00471">NL3D::CPSRibbon::displayRibbons()</a>, <a class="el" href="a05557.html#l00388">NL3D::CCloud::dispXYZ()</a>, <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>, <a class="el" href="a06226.html#l00052">NL3D::DrawDot()</a>, <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a05657.html#l00758">NL3D::CDriverUser::drawQuads()</a>, <a class="el" href="a06279.html#l00069">NL3D::CPSShockWaveHelper::drawShockWave()</a>, <a class="el" href="a05557.html#l00509">NL3D::CCloud::genBill()</a>, <a class="el" href="a05557.html#l00110">NL3D::CCloud::generate()</a>, <a class="el" href="a06626.html#l00053">NL3D::UShape::getMeshTriangles()</a>, <a class="el" href="a06011.html#l02088">NL3D::CMeshMRMSkinnedGeom::getVertexBuffer()</a>, <a class="el" href="a06708.html#l00247">NL3D::CVegetableVBAllocator::getVertexPointer()</a>, <a class="el" href="a06714.html#l00056">NL3D::CVertexBufferHeap::init()</a>, <a class="el" href="a05557.html#l00182">NL3D::CCloud::light()</a>, <a class="el" href="a06720.html#l00155">NL3D::CVertexStreamManager::lock()</a>, <a class="el" href="a06250.html#l01531">NL3D::CPSConstraintMesh::makePrerotatedVb()</a>, <a class="el" href="a06358.html#l00141">NL3D::CSegRemanence::render()</a>, <a class="el" href="a06103.html#l00207">NL3D::CNoise3d::render()</a>, <a class="el" href="a05595.html#l00183">NL3D::CComputedString::render2DClip()</a>, <a class="el" href="a05595.html#l00378">NL3D::CComputedString::render2DUnProjected()</a>, <a class="el" href="a06103.html#l00138">NL3D::CNoise3d::render2passes()</a>, <a class="el" href="a06103.html#l00271">NL3D::CNoise3d::renderGrid()</a>, <a class="el" href="a06103.html#l00345">NL3D::CNoise3d::renderGrid2passes()</a>, <a class="el" href="a05557.html#l00251">NL3D::CCloud::reset()</a>, <a class="el" href="a06005.html#l02131">NL3D::CMeshMRMGeom::restoreOriginalSkinPart()</a>, <a class="el" href="a06005.html#l02095">NL3D::CMeshMRMGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a05989.html#l01663">NL3D::CMeshGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>, <a class="el" href="a06018.html#l00280">NL3D::CMeshMultiLodInstance::setPosCoarseMesh()</a>, <a class="el" href="a05882.html#l00203">NL3D::CNearVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05882.html#l00073">NL3D::CFarVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05880.html#l00258">NL3D::CLandscapeVBAllocator::synchronizeATIVBHard()</a>, <a class="el" href="a06737.html#l00437">NL3D::CWaterModel::traverseRender()</a>, <a class="el" href="a06003.html#l00103">NL3D::CMeshMorpher::update()</a>, <a class="el" href="a06698.html#l02354">NL3D::CVegetableManager::updateInstanceLighting()</a>, <a class="el" href="a06003.html#l00399">NL3D::CMeshMorpher::updateRawSkin()</a>, <a class="el" href="a06003.html#l00236">NL3D::CMeshMorpher::updateSkinned()</a>, <a class="el" href="a06005.html#l02224">NL3D::CMeshMRMGeom::updateVertexBufferHard()</a>, and <a class="el" href="a05989.html#l00523">NL3D::CMeshGeom::updateVertexBufferHard()</a>.
+<p>
+<div class="fragment"><pre>00439 {
+00440 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00441
+00442 ptr=&amp;(*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.begin());
+00443 ptr+=(idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>);
+00444 <span class="keywordflow">return</span>((<span class="keywordtype">void</span>*)ptr);
+00445 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_18" doxytag="NL3D::CVertexBuffer::getVertexFormat" ></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#a9">uint16</a> NL3D::CVertexBuffer::getVertexFormat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the vertex format used by the vertex buffer.<p>
+Return one or several flags between : PositionFlag, WeightFlag, NormalFlag, PrimaryColorFlag, SecondaryColorFlag, FogFlag, TexCoord0Flag, TexCoord1Flag, TexCoord2Flag, TexCoord3Flag, TexCoord4Flag, TexCoord5Flag, TexCoord6Flag, TexCoord7Flag, PaletteSkinFlag<p>
+If WeightFlag is specified, 4 float are used to setup the skinning value on 4 bones.
+<p>
+Definition at line <a class="el" href="a06711.html#l00319">319</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00098">uint16</a>.
+<p>
+Referenced by <a class="el" href="a05653.html#l00087">NL3D::CDriverGL::activeVertexBuffer()</a>, <a class="el" href="a05880.html#l00368">NL3D::CLandscapeVBAllocator::allocateVertexBuffer()</a>, <a class="el" href="a06708.html#l00306">NL3D::CVegetableVBAllocator::allocateVertexBufferAndFillVBHard()</a>, <a class="el" href="a06005.html#l00498">NL3D::CMeshMRMGeom::applyGeomorphWithVBHardPtr()</a>, <a class="el" href="a06009.html#l00207">NL3D::CMeshMRMGeom::applySkin()</a>, <a class="el" href="a05989.html#l01615">NL3D::CMeshGeom::bkupOriginalSkinVertices()</a>, <a class="el" href="a06005.html#l02055">NL3D::CMeshMRMGeom::bkupOriginalSkinVerticesSubset()</a>, <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, <a class="el" href="a06250.html#l02081">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildVB()</a>, <a class="el" href="a06005.html#l02554">NL3D::CMeshMRMGeom::compileRunTime()</a>, <a class="el" href="a06250.html#l01825">NL3D::CPSConstraintMesh::computeColors()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a06005.html#l02802">NL3D::CMeshMRMGeom::getVBHeapInfo()</a>, <a class="el" href="a05989.html#l02114">NL3D::CMeshGeom::getVBHeapInfo()</a>, <a class="el" href="a06720.html#l00056">NL3D::CVertexStreamManager::init()</a>, <a class="el" href="a06714.html#l00056">NL3D::CVertexBufferHeap::init()</a>, <a class="el" href="a06250.html#l01531">NL3D::CPSConstraintMesh::makePrerotatedVb()</a>, <a class="el" href="a06005.html#l02600">NL3D::CMeshMRMGeom::profileSceneRender()</a>, <a class="el" href="a05989.html#l01932">NL3D::CMeshGeom::profileSceneRender()</a>, <a class="el" href="a06005.html#l01146">NL3D::CMeshMRMGeom::renderSkin()</a>, <a class="el" href="a06005.html#l01318">NL3D::CMeshMRMGeom::renderSkinGroupGeom()</a>, <a class="el" href="a06005.html#l02131">NL3D::CMeshMRMGeom::restoreOriginalSkinPart()</a>, <a class="el" href="a06005.html#l02095">NL3D::CMeshMRMGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a05989.html#l01663">NL3D::CMeshGeom::restoreOriginalSkinVertices()</a>, <a class="el" href="a06018.html#l00280">NL3D::CMeshMultiLodInstance::setPosCoarseMesh()</a>, <a class="el" href="a05882.html#l00203">NL3D::CNearVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05882.html#l00073">NL3D::CFarVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05653.html#l01075">NL3D::CVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a06018.html#l00249">NL3D::CMeshMultiLodInstance::setUVCoarseMesh()</a>, <a class="el" href="a05880.html#l00258">NL3D::CLandscapeVBAllocator::synchronizeATIVBHard()</a>, <a class="el" href="a06250.html#l01134">NL3D::CPSConstraintMesh::update()</a>, <a class="el" href="a06003.html#l00103">NL3D::CMeshMorpher::update()</a>, <a class="el" href="a06003.html#l00399">NL3D::CMeshMorpher::updateRawSkin()</a>, <a class="el" href="a06003.html#l00236">NL3D::CMeshMorpher::updateSkinned()</a>, <a class="el" href="a06005.html#l02224">NL3D::CMeshMRMGeom::updateVertexBufferHard()</a>, and <a class="el" href="a05989.html#l00523">NL3D::CMeshGeom::updateVertexBufferHard()</a>.
+<p>
+<div class="fragment"><pre>00319 { <span class="keywordflow">return</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a>); };
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera9" doxytag="NL3D::CVertexBuffer::getVertexSize" ></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#a9">uint16</a> NL3D::CVertexBuffer::getVertexSize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the size of a vertex
+<p>
+Definition at line <a class="el" href="a06711.html#l00473">473</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00098">uint16</a>.
+<p>
+Referenced by <a class="el" href="a05569.html#l00084">NL3D::CCoarseMeshManager::addMesh()</a>, <a class="el" href="a06708.html#l00306">NL3D::CVegetableVBAllocator::allocateVertexBufferAndFillVBHard()</a>, <a class="el" href="a06005.html#l00477">NL3D::CMeshMRMGeom::applyGeomorph()</a>, <a class="el" href="a06005.html#l00498">NL3D::CMeshMRMGeom::applyGeomorphWithVBHardPtr()</a>, <a class="el" href="a06009.html#l00207">NL3D::CMeshMRMGeom::applySkin()</a>, <a class="el" href="a05989.html#l01715">NL3D::CMeshGeom::applySkin()</a>, <a class="el" href="a06250.html#l02081">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildVB()</a>, <a class="el" href="a06250.html#l01825">NL3D::CPSConstraintMesh::computeColors()</a>, <a class="el" href="a06005.html#l02811">NL3D::CMeshMRMGeom::computeMeshVBHeap()</a>, <a class="el" href="a05989.html#l02133">NL3D::CMeshGeom::computeMeshVBHeap()</a>, <a class="el" href="a05557.html#l00606">NL3D::CCloud::dispBill()</a>, <a class="el" href="a06283.html#l00242">NL3D::CPSTailDot::displayRibbons()</a>, <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, <a class="el" href="a06273.html#l00471">NL3D::CPSRibbon::displayRibbons()</a>, <a class="el" href="a05557.html#l00388">NL3D::CCloud::dispXYZ()</a>, <a class="el" href="a06226.html#l00052">NL3D::DrawDot()</a>, <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a05657.html#l00758">NL3D::CDriverUser::drawQuads()</a>, <a class="el" href="a06279.html#l00069">NL3D::CPSShockWaveHelper::drawShockWave()</a>, <a class="el" href="a06708.html#l00253">NL3D::CVegetableVBAllocator::flushVertex()</a>, <a class="el" href="a05557.html#l00509">NL3D::CCloud::genBill()</a>, <a class="el" href="a05557.html#l00110">NL3D::CCloud::generate()</a>, <a class="el" href="a06626.html#l00053">NL3D::UShape::getMeshTriangles()</a>, <a class="el" href="a05570.html#l00117">NL3D::CCoarseMeshManager::getVertexSize()</a>, <a class="el" href="a06720.html#l00056">NL3D::CVertexStreamManager::init()</a>, <a class="el" href="a06714.html#l00056">NL3D::CVertexBufferHeap::init()</a>, <a class="el" href="a05557.html#l00182">NL3D::CCloud::light()</a>, <a class="el" href="a06250.html#l01531">NL3D::CPSConstraintMesh::makePrerotatedVb()</a>, <a class="el" href="a06358.html#l00141">NL3D::CSegRemanence::render()</a>, <a class="el" href="a06103.html#l00207">NL3D::CNoise3d::render()</a>, <a class="el" href="a05595.html#l00183">NL3D::CComputedString::render2DClip()</a>, <a class="el" href="a05595.html#l00378">NL3D::CComputedString::render2DUnProjected()</a>, <a class="el" href="a06103.html#l00138">NL3D::CNoise3d::render2passes()</a>, <a class="el" href="a06103.html#l00271">NL3D::CNoise3d::renderGrid()</a>, <a class="el" href="a06103.html#l00345">NL3D::CNoise3d::renderGrid2passes()</a>, <a class="el" href="a05557.html#l00251">NL3D::CCloud::reset()</a>, <a class="el" href="a06005.html#l02131">NL3D::CMeshMRMGeom::restoreOriginalSkinPart()</a>, <a class="el" href="a06018.html#l00280">NL3D::CMeshMultiLodInstance::setPosCoarseMesh()</a>, <a class="el" href="a05882.html#l00203">NL3D::CNearVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05882.html#l00073">NL3D::CFarVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a05653.html#l01075">NL3D::CVertexBufferInfo::setupVertexBuffer()</a>, <a class="el" href="a06018.html#l00249">NL3D::CMeshMultiLodInstance::setUVCoarseMesh()</a>, <a class="el" href="a06698.html#l01496">NL3D::CVegetableManager::swapIgRdrPassHardMode()</a>, <a class="el" href="a05880.html#l00258">NL3D::CLandscapeVBAllocator::synchronizeATIVBHard()</a>, <a class="el" href="a06737.html#l00437">NL3D::CWaterModel::traverseRender()</a>, <a class="el" href="a06003.html#l00103">NL3D::CMeshMorpher::update()</a>, <a class="el" href="a06003.html#l00399">NL3D::CMeshMorpher::updateRawSkin()</a>, <a class="el" href="a06003.html#l00236">NL3D::CMeshMorpher::updateSkinned()</a>, <a class="el" href="a06279.html#l00381">NL3D::CPSShockWave::updateVbColNUVForRender()</a>, <a class="el" href="a06262.html#l00386">NL3D::CPSQuad::updateVbColNUVForRender()</a>, <a class="el" href="a06005.html#l02224">NL3D::CMeshMRMGeom::updateVertexBufferHard()</a>, and <a class="el" href="a05989.html#l00523">NL3D::CMeshGeom::updateVertexBufferHard()</a>.
+<p>
+<div class="fragment"><pre>00473 { <span class="keywordflow">return</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_19" doxytag="NL3D::CVertexBuffer::getWeightOff" ></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#a14">sint</a> NL3D::CVertexBuffer::getWeightOff </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>wgt</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+NB: it is ensured that WeightOff(i)==WeightOff(0)+i*sizeof(float).
+<p>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00343">343</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>.
+<p>
+<div class="fragment"><pre>00343 {<a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; WeightFlag); <span class="keywordflow">return</span> <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]+(wgt*<span class="keyword">sizeof</span>(<span class="keywordtype">float</span>));}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_20" doxytag="NL3D::CVertexBuffer::getWeightPointer" ></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 void * NL3D::CVertexBuffer::getWeightPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em> = 0, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>wgt</em> = 0</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const</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="a06710.html#l00628">628</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw18">MaxWeight</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>.
+<p>
+<div class="fragment"><pre>00629 {
+00630 <span class="keyword">const</span> <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00631
+00632 <a class="code" href="a04199.html#a6">nlassert</a>(wgt&lt;MaxWeight);
+00633 <span class="keywordflow">if</span>( !(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>))
+00634 <span class="keywordflow">return</span> NULL;
+00635
+00636 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00637 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]+wgt*<span class="keyword">sizeof</span>(<span class="keywordtype">float</span>);
+00638
+00639 <span class="keywordflow">return</span> ptr;
+00640 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_21" doxytag="NL3D::CVertexBuffer::getWeightPointer" ></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::CVertexBuffer::getWeightPointer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em> = 0, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>wgt</em> = 0</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>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00513">513</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw18">MaxWeight</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>.
+<p>
+Referenced by <a class="el" href="a05989.html#l01715">NL3D::CMeshGeom::applySkin()</a>, and <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>.
+<p>
+<div class="fragment"><pre>00514 {
+00515 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00516
+00517 <a class="code" href="a04199.html#a6">nlassert</a>(wgt&lt;MaxWeight);
+00518 <span class="keywordflow">if</span>( !(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>))
+00519 <span class="keywordflow">return</span> NULL;
+00520
+00521 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00522 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]+wgt*<span class="keyword">sizeof</span>(<span class="keywordtype">float</span>);
+00523
+00524 <span class="keywordflow">return</span> ptr;
+00525 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_5" doxytag="NL3D::CVertexBuffer::hasValueEx" ></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::CVertexBuffer::hasValueEx </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>valueId</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Test if the given value is present in the vertex buffer.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00362">362</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+<div class="fragment"><pre>00363 {
+00364 <span class="keywordflow">return</span> (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; (1 &lt;&lt; valueId)) != 0;
+00365 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_6" doxytag="NL3D::CVertexBuffer::initEx" ></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::CVertexBuffer::initEx </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>
+Init the vertex buffer in extended mode.
+<p>
+Definition at line <a class="el" href="a06710.html#l00369">369</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00243">_InternalFlags</a>, <a class="el" href="a06711.html#l00246">_NbVerts</a>, <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a06710.html#l00039">SizeType</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05646.html#l01132">value</a>.
+<p>
+Referenced by <a class="el" href="a05989.html#l00172">NL3D::CMeshGeom::build()</a>, <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, <a class="el" href="a06710.html#l00883">serialHeader()</a>, <a class="el" href="a06708.html#l00364">NL3D::CVegetableVBAllocator::setupVBFormat()</a>, <a class="el" href="a05880.html#l00662">NL3D::CLandscapeVBAllocator::setupVBFormatAndVertexProgram()</a>, <a class="el" href="a06741.html#l00274">NL3D::CWaterShape::setupVertexBuffer()</a>, and <a class="el" href="a06710.html#l00169">setVertexFormat()</a>.
+<p>
+<div class="fragment"><pre>00370 {
+00371 <span class="comment">// Reset internal flag</span>
+00372 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a>=<a class="code" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>;
+00373
+00374 <span class="comment">// Calc vertex size and set value's offset</span>
+00375 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>=0;
+00376 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a658">value</a>=0; <a class="code" href="a04223.html#a658">value</a>&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>; <a class="code" href="a04223.html#a658">value</a>++)
+00377 {
+00378 <span class="comment">// Value used ?</span>
+00379 <span class="keywordflow">if</span> (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a>&amp;(1&lt;&lt;<a class="code" href="a04223.html#a658">value</a>))
+00380 {
+00381 <span class="comment">// Set offset</span>
+00382 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a04223.html#a658">value</a>]=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00383
+00384 <span class="comment">// New size</span>
+00385 _VertexSize+=<a class="code" href="a03692.html#NL3D_1_1CVertexBuffers3">SizeType</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a04223.html#a658">value</a>]];
+00386 }
+00387 }
+00388
+00389 <span class="comment">// Reset number of vertices</span>
+00390 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a>=0;
+00391
+00392 <span class="comment">// Compute new capacity</span>
+00393 <span class="keywordflow">if</span> (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>)
+00394 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr0">_Capacity</a> = <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.size()/<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>;
+00395 <span class="keywordflow">else</span>
+00396 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr0">_Capacity</a> = 0;
+00397 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera10" doxytag="NL3D::CVertexBuffer::operator=" ></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="a03692.html">CVertexBuffer</a> &amp; NL3D::CVertexBuffer::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03692.html">CVertexBuffer</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>vb</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>
+Copy operator. Do not copy DrvInfos, copy all infos and set IDRV_VF_TOUCHED_ALL.
+<p>
+Definition at line <a class="el" href="a06710.html#l00139">139</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00249">_Capacity</a>, <a class="el" href="a06711.html#l00240">_Flags</a>, <a class="el" href="a06711.html#l00243">_InternalFlags</a>, <a class="el" href="a06711.html#l00246">_NbVerts</a>, <a class="el" href="a06711.html#l00255">_Offset</a>, <a class="el" href="a06711.html#l00233">_Type</a>, <a class="el" href="a06711.html#l00258">_UVRouting</a>, <a class="el" href="a06711.html#l00237">_VertexSize</a>, <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05646.html#l01132">value</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00115">CVertexBuffer()</a>.
+<p>
+<div class="fragment"><pre>00140 {
+00141 <span class="comment">// Single value</span>
+00142 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a> = vb._VertexSize;
+00143 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> = vb._Flags;
+00144 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a> = vb._InternalFlags;
+00145 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a> = vb._NbVerts;
+00146 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr0">_Capacity</a> = vb._Capacity;
+00147 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a> = vb._Verts;
+00148
+00149 <span class="comment">// Arraies</span>
+00150 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a658">value</a>=0; <a class="code" href="a04223.html#a658">value</a>&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>; <a class="code" href="a04223.html#a658">value</a>++)
+00151 {
+00152 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a04223.html#a658">value</a>]= vb._Offset[<a class="code" href="a04223.html#a658">value</a>];
+00153 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a04223.html#a658">value</a>]= vb._Type[<a class="code" href="a04223.html#a658">value</a>];
+00154 }
+00155
+00156 <span class="comment">// Copy the routing</span>
+00157 <a class="code" href="a04558.html#a15">uint</a> i;
+00158 <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>; i++)
+00159 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr7">_UVRouting</a>[i] = vb._UVRouting[i];
+00160
+00161 <span class="comment">// Set touch flags</span>
+00162 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a> |= <a class="code" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>;
+00163
+00164 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00165 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1148_3" doxytag="NL3D::CVertexBuffer::remapV2Flags" ></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#a9">uint16</a> NL3D::CVertexBuffer::remapV2Flags </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>oldFlags</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> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>weightCount</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Translate old flags.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00660">660</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw26">PositionFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw38">TexCoord1Flag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw40">TexCoord2Flag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw42">TexCoord3Flag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw44">TexCoord4Flag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw46">TexCoord5Flag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw48">TexCoord6Flag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw50">TexCoord7Flag</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00883">serialHeader()</a>, and <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>.
+<p>
+<div class="fragment"><pre>00661 {
+00662 <span class="comment">// Old flags</span>
+00663 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_XYZ = 0x00000001;
+00664 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_W0 = 0x00000002;
+00665 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_W1 = 0x00000004;
+00666 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_W2 = 0x00000008;
+00667 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_W3 = 0x00000010;
+00668 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_NORMAL = 0x00000020;
+00669 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_COLOR = 0x00000040;
+00670 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_SPECULAR = 0x00000080;
+00671 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_UV0 = 0x00000100;
+00672 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_UV1 = 0x00000200;
+00673 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_UV2 = 0x00000400;
+00674 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_UV3 = 0x00000800;
+00675 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_UV4 = 0x00001000;
+00676 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_UV5 = 0x00002000;
+00677 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_UV6 = 0x00004000;
+00678 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_UV7 = 0x00008000;
+00679 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> OLD_IDRV_VF_PALETTE_SKIN = 0x00010000 | OLD_IDRV_VF_W0 | OLD_IDRV_VF_W1 | OLD_IDRV_VF_W2 | OLD_IDRV_VF_W3;
+00680
+00681 <span class="comment">// Old Flags</span>
+00682 <a class="code" href="a04558.html#a9">uint16</a> newFlags=0;
+00683
+00684 <span class="comment">// Number of weight values</span>
+00685 weightCount=0;
+00686
+00687 <span class="comment">// Remap the flags</span>
+00688 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_XYZ)
+00689 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw26">PositionFlag</a>;
+00690 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_NORMAL)
+00691 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a>;
+00692 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_COLOR)
+00693 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a>;
+00694 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_SPECULAR)
+00695 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a>;
+00696 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_UV0)
+00697 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>;
+00698 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_UV1)
+00699 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw38">TexCoord1Flag</a>;
+00700 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_UV2)
+00701 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw40">TexCoord2Flag</a>;
+00702 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_UV3)
+00703 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw42">TexCoord3Flag</a>;
+00704 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_UV4)
+00705 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw44">TexCoord4Flag</a>;
+00706 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_UV5)
+00707 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw46">TexCoord5Flag</a>;
+00708 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_UV6)
+00709 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw48">TexCoord6Flag</a>;
+00710 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_UV7)
+00711 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw50">TexCoord7Flag</a>;
+00712 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_W0)
+00713 {
+00714 weightCount=1;
+00715 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>;
+00716 }
+00717 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_W1)
+00718 {
+00719 weightCount=2;
+00720 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>;
+00721 }
+00722 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_W2)
+00723 {
+00724 weightCount=3;
+00725 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>;
+00726 }
+00727 <span class="keywordflow">if</span> (oldFlags&amp;OLD_IDRV_VF_W3)
+00728 {
+00729 weightCount=4;
+00730 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>;
+00731 }
+00732 <span class="keywordflow">if</span> (oldFlags&amp;(OLD_IDRV_VF_PALETTE_SKIN))
+00733 newFlags|=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a>;
+00734
+00735 <span class="comment">// Return the new flags</span>
+00736 <span class="keywordflow">return</span> newFlags;
+00737 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera11" doxytag="NL3D::CVertexBuffer::reserve" ></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::CVertexBuffer::reserve </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>nVerts</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>
+Reserve space for nVerts vertices. You are allowed to write your vertices on this space.
+<p>
+Definition at line <a class="el" href="a06710.html#l00401">401</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a06005.html#l00246">NL3D::CMeshMRMGeom::build()</a>, <a class="el" href="a05989.html#l00172">NL3D::CMeshGeom::build()</a>, <a class="el" href="a06710.html#l00883">serialHeader()</a>, <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>, and <a class="el" href="a06710.html#l00409">setNumVertices()</a>.
+<p>
+<div class="fragment"><pre>00402 {
+00403 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>.resize(n*_VertexSize);
+00404 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr0">_Capacity</a>= n;
+00405 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1141_1" doxytag="NL3D::CVertexBuffer::resetTouchFlags" ></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::CVertexBuffer::resetTouchFlags </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> [inline]</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="a06711.html#l00266">266</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00243">_InternalFlags</a>, and <a class="el" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>.
+<p>
+Referenced by <a class="el" href="a05653.html#l00060">NL3D::CDriverGL::setupVertexBuffer()</a>.
+<p>
+<div class="fragment"><pre>00266 {<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a> &amp;= ~<a class="code" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera12" doxytag="NL3D::CVertexBuffer::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::CVertexBuffer::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>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00854">854</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00246">_NbVerts</a>, <a class="el" href="a06710.html#l00883">serialHeader()</a>, <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>, <a class="el" href="a06710.html#l01008">serialSubset()</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>00855 {
+00856 <span class="comment">/*</span>
+00857 <span class="comment"> Version 2:</span>
+00858 <span class="comment"> - cut to use serialHeader() serialSubset().</span>
+00859 <span class="comment"> Version 1:</span>
+00860 <span class="comment"> - PaletteSkin version.</span>
+00861 <span class="comment"> Version 0:</span>
+00862 <span class="comment"> - base verison.</span>
+00863 <span class="comment"> */</span>
+00864 <a class="code" href="a04558.html#a14">sint</a> ver= f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(2);
+00865
+00866 <span class="keywordflow">if</span> (ver&lt;2)
+00867 {
+00868 <span class="comment">// old serial method</span>
+00869 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1148_4">serialOldV1Minus</a>(f, ver);
+00870 }
+00871 <span class="keywordflow">else</span>
+00872 {
+00873 <span class="comment">// read write the header of the VBuffer.</span>
+00874 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1147_0">serialHeader</a>(f);
+00875
+00876 <span class="comment">// read write the entire subset.</span>
+00877 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1147_1">serialSubset</a>(f, 0, _NbVerts);
+00878 }
+00879 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1147_0" doxytag="NL3D::CVertexBuffer::serialHeader" ></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::CVertexBuffer::serialHeader </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>
+just read/write the VertexFormat of the VB, number of vertices .... If read, VB is resized to numVertices.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00883">883</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00246">_NbVerts</a>, <a class="el" href="a06710.html#l00338">addValueEx()</a>, <a class="el" href="a06710.html#l00271">clearValueEx()</a>, <a class="el" href="a06710.html#l00077">DefaultValueType</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>, <a class="el" href="a06710.html#l00369">initEx()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a06710.html#l00660">remapV2Flags()</a>, <a class="el" href="a06710.html#l00401">reserve()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>, <a class="el" href="a06710.html#l00409">setNumVertices()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a06711.html#l00112">TValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00854">serial()</a>.
+<p>
+<div class="fragment"><pre>00884 {
+00885 <span class="comment">/*</span>
+00886 <span class="comment"> Version 1:</span>
+00887 <span class="comment"> - Extended vertex format management.</span>
+00888 <span class="comment"> Version 0:</span>
+00889 <span class="comment"> - base verison of the header serialisation.</span>
+00890 <span class="comment"> */</span>
+00891 <a class="code" href="a04558.html#a14">sint</a> ver= f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1);
+00892
+00893 <span class="comment">// Serial VBuffers format/size.</span>
+00894 <span class="comment">//=============================</span>
+00895
+00896 <span class="comment">// Flags</span>
+00897 <a class="code" href="a04558.html#a9">uint16</a> flags=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a>;
+00898
+00899 <span class="keywordflow">if</span> (ver&lt;1)
+00900 {
+00901 <span class="comment">// Must be reading</span>
+00902 <a class="code" href="a04199.html#a6">nlassert</a> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>());
+00903
+00904 <span class="comment">// Serial old flags</span>
+00905 <a class="code" href="a04558.html#a11">uint32</a> oldFlags;
+00906 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(oldFlags);
+00907
+00908 <span class="comment">// Remap flags</span>
+00909 <a class="code" href="a04558.html#a15">uint</a> weightCount;
+00910 flags=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1148_3">remapV2Flags</a> (oldFlags, weightCount);
+00911
+00912 <span class="comment">// Set default value type</span>
+00913 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i=0; i&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>; i++)
+00914 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[i]=<a class="code" href="a03692.html#NL3D_1_1CVertexBuffers0">DefaultValueType</a>[i];
+00915
+00916 <span class="comment">// weight count ?</span>
+00917 <span class="keywordflow">switch</span> (weightCount)
+00918 {
+00919 <span class="keywordflow">case</span> 1:
+00920 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>;
+00921 <span class="keywordflow">break</span>;
+00922 <span class="keywordflow">case</span> 2:
+00923 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>;
+00924 <span class="keywordflow">break</span>;
+00925 <span class="keywordflow">case</span> 3:
+00926 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>;
+00927 <span class="keywordflow">break</span>;
+00928 <span class="keywordflow">case</span> 4:
+00929 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>;
+00930 <span class="keywordflow">break</span>;
+00931 }
+00932 }
+00933 <span class="keywordflow">else</span>
+00934 {
+00935 <span class="comment">// Serial new vertex flags</span>
+00936 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(flags);
+00937
+00938 <span class="comment">// Serial type of values</span>
+00939 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i=0; i&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>; i++)
+00940 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_Type[i]);
+00941 }
+00942
+00943 <span class="comment">// Serial nb vertices</span>
+00944 <a class="code" href="a04558.html#a11">uint32</a> nbVerts=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a>;
+00945 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(nbVerts);
+00946
+00947 <span class="keywordflow">if</span>(f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
+00948 {
+00949 <a class="code" href="a03692.html#NL3D_1_1CVertexBuffera11">reserve</a>(0);
+00950
+00951 <span class="comment">// Init vertex format setup</span>
+00952 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_1">clearValueEx</a> ();
+00953
+00954 <span class="comment">// Init vertex format</span>
+00955 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i=0; i&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>; i++)
+00956 {
+00957 <span class="comment">// Setup this value ?</span>
+00958 <span class="keywordflow">if</span> (flags&amp;(1&lt;&lt;i))
+00959 {
+00960 <span class="comment">// Add a value</span>
+00961 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_0">addValueEx</a> ((TValue)i, (TType)_Type[i]);
+00962 }
+00963 }
+00964
+00965 <span class="comment">// Build final vertex format</span>
+00966 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx</a> ();
+00967
+00968 <span class="comment">// Set num of vertices</span>
+00969 <a class="code" href="a03692.html#NL3D_1_1CVertexBuffera13">setNumVertices</a>(nbVerts);
+00970 }
+00971 <span class="comment">// All other infos (but _Verts) are computed by initEx() and setNumVertices().</span>
+00972 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1148_4" doxytag="NL3D::CVertexBuffer::serialOldV1Minus" ></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::CVertexBuffer::serialOldV1Minus </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="mdname" nowrap> <em>f</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>ver</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Old version serialisation. V0 and V1.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06710.html#l00741">741</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00243">_InternalFlags</a>, <a class="el" href="a06711.html#l00246">_NbVerts</a>, <a class="el" href="a06710.html#l00077">DefaultValueType</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>, <a class="el" href="a06710.html#l00465">getColorPointer()</a>, <a class="el" href="a06710.html#l00449">getNormalCoordPointer()</a>, <a class="el" href="a06710.html#l00529">getPaletteSkinPointer()</a>, <a class="el" href="a06710.html#l00481">getSpecularPointer()</a>, <a class="el" href="a06710.html#l00497">getTexCoordPointer()</a>, <a class="el" href="a06710.html#l00438">getVertexCoordPointer()</a>, <a class="el" href="a06710.html#l00513">getWeightPointer()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw26">PositionFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a>, <a class="el" href="a06710.html#l00660">remapV2Flags()</a>, <a class="el" href="a06710.html#l00401">reserve()</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06710.html#l00409">setNumVertices()</a>, <a class="el" href="a06710.html#l00169">setVertexFormat()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05646.html#l00236">w</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00854">serial()</a>.
+<p>
+<div class="fragment"><pre>00742 {
+00743 <span class="comment">/*</span>
+00744 <span class="comment"> Version 1:</span>
+00745 <span class="comment"> - PaletteSkin version.</span>
+00746 <span class="comment"> Version 0:</span>
+00747 <span class="comment"> - base verison.</span>
+00748 <span class="comment"> */</span>
+00749
+00750 <span class="comment">// old Flags</span>
+00751 <a class="code" href="a04558.html#a11">uint32</a> oldFlags;
+00752
+00753 <span class="comment">// Serial VBuffers format/size.</span>
+00754 <span class="comment">//=============================</span>
+00755 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(oldFlags);
+00756
+00757 <span class="comment">// Remap the flags</span>
+00758 <a class="code" href="a04558.html#a15">uint</a> weightCount;
+00759 <a class="code" href="a04558.html#a9">uint16</a> newFlags=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1148_3">remapV2Flags</a> (oldFlags, weightCount);
+00760
+00761 <span class="comment">// Must be reading</span>
+00762 <a class="code" href="a04199.html#a6">nlassert</a> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>());
+00763
+00764 <span class="comment">// Set default value type</span>
+00765 <a class="code" href="a04558.html#a15">uint</a> i;
+00766 <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>; i++)
+00767 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[i]=<a class="code" href="a03692.html#NL3D_1_1CVertexBuffers0">DefaultValueType</a>[i];
+00768
+00769 <a class="code" href="a04558.html#a11">uint32</a> nbVert; <span class="comment">// Read only</span>
+00770 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(nbVert);
+00771 <a class="code" href="a03692.html#NL3D_1_1CVertexBuffera11">reserve</a>(0);
+00772 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1143_30">setVertexFormat</a>(newFlags);
+00773 <a class="code" href="a03692.html#NL3D_1_1CVertexBuffera13">setNumVertices</a>(nbVert);
+00774 <span class="comment">// All other infos (but _Verts) are computed by setVertexFormat() and setNumVertices().</span>
+00775
+00776 <span class="comment">// Weight count ?</span>
+00777 <span class="keywordflow">switch</span> (weightCount)
+00778 {
+00779 <span class="keywordflow">case</span> 1:
+00780 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>;
+00781 <span class="keywordflow">break</span>;
+00782 <span class="keywordflow">case</span> 2:
+00783 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>;
+00784 <span class="keywordflow">break</span>;
+00785 <span class="keywordflow">case</span> 3:
+00786 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>;
+00787 <span class="keywordflow">break</span>;
+00788 <span class="keywordflow">case</span> 4:
+00789 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr6">_Type</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>;
+00790 <span class="keywordflow">break</span>;
+00791 }
+00792
+00793 <span class="comment">// Serial VBuffers components.</span>
+00794 <span class="comment">//============================</span>
+00795 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a14">sint</a> <span class="keywordtype">id</span>=0;<span class="keywordtype">id</span>&lt;(<a class="code" href="a04558.html#a14">sint</a>)<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a>;<span class="keywordtype">id</span>++)
+00796 {
+00797 <span class="comment">// XYZ.</span>
+00798 <span class="keywordflow">if</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw26">PositionFlag</a>)
+00799 {
+00800 CVector &amp;vert= *(CVector*)<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1143_17">getVertexCoordPointer</a>(<span class="keywordtype">id</span>);
+00801 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(vert);
+00802 }
+00803 <span class="comment">// Normal</span>
+00804 <span class="keywordflow">if</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a>)
+00805 {
+00806 CVector &amp;norm= *(CVector*)<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1143_4">getNormalCoordPointer</a>(<span class="keywordtype">id</span>);
+00807 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(norm);
+00808 }
+00809 <span class="comment">// Uvs.</span>
+00810 <span class="keywordflow">for</span>(i=0;i&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>;i++)
+00811 {
+00812 <span class="keywordflow">if</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>&lt;&lt;i))
+00813 {
+00814 <a class="code" href="a03640.html">CUV</a> &amp;uv= *(<a class="code" href="a03640.html">CUV</a>*)<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1143_15">getTexCoordPointer</a>(<span class="keywordtype">id</span>, i);
+00815 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(uv);
+00816 }
+00817 }
+00818 <span class="comment">// Color.</span>
+00819 <span class="keywordflow">if</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a>)
+00820 {
+00821 <a class="code" href="a03337.html">CRGBA</a> &amp;col= *(<a class="code" href="a03337.html">CRGBA</a>*)<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1143_2">getColorPointer</a>(<span class="keywordtype">id</span>);
+00822 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(col);
+00823 }
+00824 <span class="comment">// Specular.</span>
+00825 <span class="keywordflow">if</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a>)
+00826 {
+00827 <a class="code" href="a03337.html">CRGBA</a> &amp;col= *(<a class="code" href="a03337.html">CRGBA</a>*)<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1143_12">getSpecularPointer</a>(<span class="keywordtype">id</span>);
+00828 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(col);
+00829 }
+00830 <span class="comment">// Weights</span>
+00831 <span class="keywordflow">for</span>(i=0;i&lt;weightCount;i++)
+00832 {
+00833 <span class="comment">// Weight channel available ?</span>
+00834 <span class="keywordtype">float</span> &amp;<a class="code" href="a04223.html#a575">w</a>= *(<span class="keywordtype">float</span>*)<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1143_21">getWeightPointer</a>(<span class="keywordtype">id</span>, i);
+00835 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(w);
+00836 }
+00837 <span class="comment">// CPaletteSkin (version 1+ only).</span>
+00838 <span class="keywordflow">if</span>((ver&gt;=1) &amp;&amp; ((<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a> &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a>) == CVertexBuffer::PaletteSkinFlag) )
+00839 {
+00840 CPaletteSkin &amp;ps= *(CPaletteSkin*)<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1143_9">getPaletteSkinPointer</a>(<span class="keywordtype">id</span>);
+00841 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(ps);
+00842 }
+00843
+00844 }
+00845
+00846 <span class="comment">// Set touch flags</span>
+00847 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a> = 0;
+00848 <span class="keywordflow">if</span>(f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
+00849 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a> |= <a class="code" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>;
+00850 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1147_1" doxytag="NL3D::CVertexBuffer::serialSubset" ></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::CVertexBuffer::serialSubset </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="mdname" nowrap> <em>f</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>vertexStart</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>vertexEnd</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>
+just read/write a subset of the vertex buffer. NB: because a version is serialised by subset, you must read same subset of vertices you have saved. (can't write 0-10, 10-20, and after load 0-5, 5-20).
+<p>
+Definition at line <a class="el" href="a06710.html#l01008">1008</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00243">_InternalFlags</a>, <a class="el" href="a06711.html#l00246">_NbVerts</a>, <a class="el" href="a06711.html#l00258">_UVRouting</a>, <a class="el" href="a06711.html#l00431">getValueEx()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a02270.html#NLMISC_1_1IStreamz2041_1">NLMISC::IStream::serialBuffer()</a>, <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a06710.html#l00039">SizeType</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>, <a class="el" href="a06711.html#l00112">TValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a05646.html#l01132">value</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00854">serial()</a>, and <a class="el" href="a06005.html#l01918">NL3D::CMeshMRMGeom::serialLodVertexData()</a>.
+<p>
+<div class="fragment"><pre>01009 {
+01010 <span class="comment">/*</span>
+01011 <span class="comment"> Version 1:</span>
+01012 <span class="comment"> - weight is 4 float in standard format.</span>
+01013 <span class="comment"> Version 0:</span>
+01014 <span class="comment"> - base verison of a vbuffer subset serialisation.</span>
+01015 <span class="comment"> */</span>
+01016 <a class="code" href="a04558.html#a14">sint</a> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(2);
+01017
+01018
+01019 <span class="comment">// Serial VBuffers components.</span>
+01020 <span class="comment">//============================</span>
+01021 <a class="code" href="a04199.html#a6">nlassert</a>(vertexStart&lt;_NbVerts || _NbVerts==0);
+01022 <a class="code" href="a04199.html#a6">nlassert</a>(vertexEnd&lt;=_NbVerts);
+01023 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> <span class="keywordtype">id</span>=vertexStart; <span class="keywordtype">id</span>&lt;vertexEnd; <span class="keywordtype">id</span>++)
+01024 {
+01025 <span class="comment">// For each value</span>
+01026 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a658">value</a>=0; <a class="code" href="a04223.html#a658">value</a>&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>; <a class="code" href="a04223.html#a658">value</a>++)
+01027 {
+01028 <span class="comment">// Value used ?</span>
+01029 <span class="keywordflow">if</span> (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr1">_Flags</a>&amp;(1&lt;&lt;<a class="code" href="a04223.html#a658">value</a>))
+01030 {
+01031 <span class="comment">// Get the pointer on it</span>
+01032 <span class="keywordtype">void</span> *ptr=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_3">getValueEx</a> ((TValue)value, <span class="keywordtype">id</span>);
+01033 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2041_1">serialBuffer</a> ((<a class="code" href="a04558.html#a7">uint8</a>*)ptr, SizeType[_Type[value]]);
+01034 }
+01035 }
+01036 }
+01037
+01038 <span class="comment">// Serial the UV Routing table</span>
+01039 <span class="comment">//============================</span>
+01040 <span class="keywordflow">if</span> (ver&gt;=2)
+01041 {
+01042 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2041_1">serialBuffer</a> (_UVRouting, <span class="keyword">sizeof</span>(<a class="code" href="a04558.html#a7">uint8</a>)*MaxStage);
+01043 }
+01044 <span class="keywordflow">else</span>
+01045 {
+01046 <span class="comment">// Reset the table</span>
+01047 <a class="code" href="a04558.html#a15">uint</a> i;
+01048 <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>; i++)
+01049 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr7">_UVRouting</a>[i] = i;
+01050 }
+01051
+01052 <span class="comment">// Set touch flags</span>
+01053 <span class="keywordflow">if</span>(f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
+01054 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a> |= <a class="code" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery1">TouchedAll</a>;
+01055 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_22" doxytag="NL3D::CVertexBuffer::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"> void NL3D::CVertexBuffer::setColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03337.html">CRGBA</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>rgba</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</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="a06711.html#l00568">568</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw53">UChar4</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="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, <a class="el" href="a05657.html#l00519">NL3D::CDriverUser::drawLine()</a>, <a class="el" href="a05660.html#l00424">NL3D::CDRU::drawQuad()</a>, <a class="el" href="a05657.html#l00671">NL3D::CDriverUser::drawQuad()</a>, <a class="el" href="a05657.html#l00591">NL3D::CDriverUser::drawTriangle()</a>, <a class="el" href="a05990.html#l00733">NL3D::CMeshGeom::findVBId()</a>, <a class="el" href="a06235.html#l00459">NL3D::CPSFanLight::getVBnIB()</a>, <a class="el" href="a06283.html#l00374">NL3D::CPSTailDot::getVBnPB()</a>, and <a class="el" href="a06273.html#l00695">NL3D::CPSRibbon::getVBnPB()</a>.
+<p>
+<div class="fragment"><pre>00569 {
+00570 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00571 <a class="code" href="a03337.html">CRGBA</a> *pCol;
+00572
+00573 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; PrimaryColorFlag);
+00574 <a class="code" href="a04199.html#a6">nlassert</a> (_Type[PrimaryColor]==UChar4);
+00575
+00576 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00577 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>];
+00578 pCol= (<a class="code" href="a03337.html">CRGBA</a>*)ptr;
+00579 *pCol= rgba;
+00580 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_23" doxytag="NL3D::CVertexBuffer::setNormalCoord" ></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::CVertexBuffer::setNormalCoord </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>v</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</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="a06711.html#l00554">554</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a05646.html#l00237">v</a>.
+<p>
+Referenced by <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, and <a class="el" href="a05990.html#l00733">NL3D::CMeshGeom::findVBId()</a>.
+<p>
+<div class="fragment"><pre>00555 {
+00556 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00557
+00558 <a class="code" href="a04199.html#a6">nlassert</a> (_Flags &amp; NormalFlag);
+00559 <a class="code" href="a04199.html#a6">nlassert</a> (_Type[Normal]==Float3);
+00560
+00561 ptr=&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>];
+00562 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw19">Normal</a>];
+00563 memcpy(ptr, &amp;(<a class="code" href="a04223.html#a576">v</a>.x), 3*<span class="keyword">sizeof</span>(<span class="keywordtype">float</span>));
+00564 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffera13" doxytag="NL3D::CVertexBuffer::setNumVertices" ></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::CVertexBuffer::setNumVertices </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>n</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>
+Set the number of active vertices. It enlarge capacity, if needed.
+<p>
+Definition at line <a class="el" href="a06710.html#l00409">409</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06711.html#l00243">_InternalFlags</a>, <a class="el" href="a06711.html#l00246">_NbVerts</a>, <a class="el" href="a06710.html#l00401">reserve()</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery2">TouchedNumVertices</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a06374.html#l00134">NL3D::CShadowPolyReceiver::allocateVertex()</a>, <a class="el" href="a05880.html#l00368">NL3D::CLandscapeVBAllocator::allocateVertexBuffer()</a>, <a class="el" href="a06708.html#l00306">NL3D::CVegetableVBAllocator::allocateVertexBufferAndFillVBHard()</a>, <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, <a class="el" href="a06005.html#l00246">NL3D::CMeshMRMGeom::build()</a>, <a class="el" href="a05989.html#l00172">NL3D::CMeshGeom::build()</a>, <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, <a class="el" href="a06250.html#l02081">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildVB()</a>, <a class="el" href="a05559.html#l00217">NL3D::CCloudScape::CCloudScape()</a>, <a class="el" href="a05657.html#l00127">NL3D::CDriverUser::CDriverUser()</a>, <a class="el" href="a05722.html#l00088">NL3D::CFontManager::computeString()</a>, <a class="el" href="a06001.html#l00254">NL3D::CMeshInstance::createShadowMap()</a>, <a class="el" href="a06372.html#l00059">NL3D::CShadowMapManager::CShadowMapManager()</a>, <a class="el" href="a06285.html#l00169">NL3D::CPSUtil::displayArrow()</a>, <a class="el" href="a06285.html#l00118">NL3D::CPSUtil::displayBBox()</a>, <a class="el" href="a06350.html#l01224">NL3D::CInstanceGroup::displayDebugClusters()</a>, <a class="el" href="a05623.html#l00085">NL3D::CDeform2d::doDeform()</a>, <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>, <a class="el" href="a05660.html#l00136">NL3D::CDRU::drawBitmap()</a>, <a class="el" href="a05660.html#l00173">NL3D::CDRU::drawLine()</a>, <a class="el" href="a05660.html#l00377">NL3D::CDRU::drawLinesUnlit()</a>, <a class="el" href="a05660.html#l00241">NL3D::CDRU::drawQuad()</a>, <a class="el" href="a05657.html#l00758">NL3D::CDriverUser::drawQuads()</a>, <a class="el" href="a05660.html#l00206">NL3D::CDRU::drawTriangle()</a>, <a class="el" href="a05660.html#l00341">NL3D::CDRU::drawTrianglesUnlit()</a>, <a class="el" href="a06372.html#l00669">NL3D::CShadowMapManager::fillBlackBorder()</a>, <a class="el" href="a05990.html#l00733">NL3D::CMeshGeom::findVBId()</a>, <a class="el" href="a06235.html#l00459">NL3D::CPSFanLight::getVBnIB()</a>, <a class="el" href="a06283.html#l00374">NL3D::CPSTailDot::getVBnPB()</a>, <a class="el" href="a06279.html#l00479">NL3D::CPSShockWave::getVBnPB()</a>, <a class="el" href="a06277.html#l00546">NL3D::CPSRibbonLookAt::getVBnPB()</a>, <a class="el" href="a06273.html#l00695">NL3D::CPSRibbon::getVBnPB()</a>, <a class="el" href="a06011.html#l02088">NL3D::CMeshMRMSkinnedGeom::getVertexBuffer()</a>, <a class="el" href="a06720.html#l00056">NL3D::CVertexStreamManager::init()</a>, <a class="el" href="a06714.html#l00056">NL3D::CVertexBufferHeap::init()</a>, <a class="el" href="a06250.html#l02021">NL3D::CPSConstraintMesh::initPrerotVB()</a>, <a class="el" href="a06262.html#l00115">NL3D::CPSQuad::initVertexBuffers()</a>, <a class="el" href="a06226.html#l00208">NL3D::CPSDot::initVertexBuffers()</a>, <a class="el" href="a06040.html#l00062">NL3D::CMotionBlur::performMotionBlur()</a>, <a class="el" href="a06103.html#l00207">NL3D::CNoise3d::render()</a>, <a class="el" href="a05595.html#l00183">NL3D::CComputedString::render2DClip()</a>, <a class="el" href="a05595.html#l00378">NL3D::CComputedString::render2DUnProjected()</a>, <a class="el" href="a06103.html#l00138">NL3D::CNoise3d::render2passes()</a>, <a class="el" href="a06103.html#l00271">NL3D::CNoise3d::renderGrid()</a>, <a class="el" href="a06103.html#l00345">NL3D::CNoise3d::renderGrid2passes()</a>, <a class="el" href="a06710.html#l00883">serialHeader()</a>, <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>, <a class="el" href="a06360.html#l00183">NL3D::CSegRemanenceShape::setupVBnPB()</a>, <a class="el" href="a06741.html#l00274">NL3D::CWaterShape::setupVertexBuffer()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, <a class="el" href="a05642.html#l01536">NL3D::CDriverGL::swapBuffers()</a>, and <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>.
+<p>
+<div class="fragment"><pre>00410 {
+00411 <span class="keywordflow">if</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr0">_Capacity</a>&lt;n)
+00412 {
+00413 <a class="code" href="a03692.html#NL3D_1_1CVertexBuffera11">reserve</a>(n);
+00414 }
+00415 <span class="keywordflow">if</span>(<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a> != n)
+00416 {
+00417 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr2">_InternalFlags</a> |= <a class="code" href="a03692.html#NL3D_1_1CVertexBuffery0NL3D_1_1CVertexBuffery2">TouchedNumVertices</a>;
+00418 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr3">_NbVerts</a>=n;
+00419 }
+00420 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_24" doxytag="NL3D::CVertexBuffer::setPaletteSkin" ></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::CVertexBuffer::setPaletteSkin </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03038.html">CPaletteSkin</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>ps</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</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="a06711.html#l00653">653</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw53">UChar4</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="a05990.html#l00733">NL3D::CMeshGeom::findVBId()</a>.
+<p>
+<div class="fragment"><pre>00654 {
+00655 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00656 CPaletteSkin *pPalSkin;
+00657
+00658 <a class="code" href="a04199.html#a6">nlassert</a> ( (_Flags &amp; PaletteSkinFlag) == CVertexBuffer::PaletteSkinFlag);
+00659 <a class="code" href="a04199.html#a6">nlassert</a> (_Type[PaletteSkin]==UChar4);
+00660
+00661 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00662 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>];
+00663 pPalSkin= (CPaletteSkin*)ptr;
+00664 *pPalSkin= ps;
+00665 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_25" doxytag="NL3D::CVertexBuffer::setSpecular" ></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::CVertexBuffer::setSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03337.html">CRGBA</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>rgba</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</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="a06711.html#l00584">584</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw53">UChar4</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="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, and <a class="el" href="a05990.html#l00733">NL3D::CMeshGeom::findVBId()</a>.
+<p>
+<div class="fragment"><pre>00585 {
+00586 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00587 <a class="code" href="a03337.html">CRGBA</a> *pCol;
+00588
+00589 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; SecondaryColorFlag);
+00590 <a class="code" href="a04199.html#a6">nlassert</a> (_Type[SecondaryColor]==UChar4);
+00591
+00592 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00593 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>];
+00594 pCol= (<a class="code" href="a03337.html">CRGBA</a>*)ptr;
+00595 *pCol= rgba;
+00596 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_26" doxytag="NL3D::CVertexBuffer::setTexCoord" ></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::CVertexBuffer::setTexCoord </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03640.html">CUV</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>uv</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</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="a06711.html#l00619">619</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00620 {
+00621 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00622 <a class="code" href="a03640.html">CUV</a>* ptruv;
+00623
+00624 <a class="code" href="a04199.html#a6">nlassert</a>(stage&lt;MaxStage);
+00625 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (TexCoord0Flag&lt;&lt;stage));
+00626 <a class="code" href="a04199.html#a6">nlassert</a> (_Type[TexCoord0+stage]==Float2);
+00627
+00628 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00629 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>+stage];
+00630 ptruv=(<a class="code" href="a03640.html">CUV</a>*)ptr;
+00631 *ptruv=uv;
+00632 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_27" doxytag="NL3D::CVertexBuffer::setTexCoord" ></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::CVertexBuffer::setTexCoord </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>u</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>v</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</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="a06711.html#l00600">600</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a05646.html#l00237">v</a>.
+<p>
+Referenced by <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, <a class="el" href="a05722.html#l00088">NL3D::CFontManager::computeString()</a>, <a class="el" href="a05557.html#l00328">NL3D::CCloud::disp()</a>, <a class="el" href="a05623.html#l00085">NL3D::CDeform2d::doDeform()</a>, <a class="el" href="a05660.html#l00136">NL3D::CDRU::drawBitmap()</a>, <a class="el" href="a05657.html#l00536">NL3D::CDriverUser::drawLine()</a>, <a class="el" href="a05657.html#l00692">NL3D::CDriverUser::drawQuad()</a>, <a class="el" href="a05657.html#l00610">NL3D::CDriverUser::drawTriangle()</a>, <a class="el" href="a05660.html#l00341">NL3D::CDRU::drawTrianglesUnlit()</a>, <a class="el" href="a05990.html#l00733">NL3D::CMeshGeom::findVBId()</a>, <a class="el" href="a06235.html#l00459">NL3D::CPSFanLight::getVBnIB()</a>, <a class="el" href="a06283.html#l00374">NL3D::CPSTailDot::getVBnPB()</a>, <a class="el" href="a06279.html#l00479">NL3D::CPSShockWave::getVBnPB()</a>, <a class="el" href="a06277.html#l00546">NL3D::CPSRibbonLookAt::getVBnPB()</a>, <a class="el" href="a06273.html#l00695">NL3D::CPSRibbon::getVBnPB()</a>, <a class="el" href="a06040.html#l00062">NL3D::CMotionBlur::performMotionBlur()</a>, <a class="el" href="a06372.html#l00826">NL3D::CShadowMapManager::setBlurQuadFakeGaussian()</a>, <a class="el" href="a06262.html#l00098">NL3D::SetupQuadVBTexCoords()</a>, <a class="el" href="a06360.html#l00183">NL3D::CSegRemanenceShape::setupVBnPB()</a>, and <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>.
+<p>
+<div class="fragment"><pre>00601 {
+00602 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00603 <span class="keywordtype">float</span>* ptrf;
+00604
+00605 <a class="code" href="a04199.html#a6">nlassert</a>(stage&lt;MaxStage);
+00606 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (TexCoord0Flag&lt;&lt;stage));
+00607 <a class="code" href="a04199.html#a6">nlassert</a> (_Type[TexCoord0+stage]==Float2);
+00608
+00609 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00610 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>+stage];
+00611 ptrf=(<span class="keywordtype">float</span>*)ptr;
+00612 *ptrf=u;
+00613 ptrf++;
+00614 *ptrf=<a class="code" href="a04223.html#a576">v</a>;
+00615 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1148_2" doxytag="NL3D::CVertexBuffer::setUVRouting" ></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::CVertexBuffer::setUVRouting </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>uvChannel</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>newUVRouting</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</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="a06711.html#l00505">505</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00258">_UVRouting</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="a05989.html#l00172">NL3D::CMeshGeom::build()</a>, <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, <a class="el" href="a06250.html#l02081">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildVB()</a>, and <a class="el" href="a06720.html#l00056">NL3D::CVertexStreamManager::init()</a>.
+<p>
+<div class="fragment"><pre>00505 { <a class="code" href="a03692.html#NL3D_1_1CVertexBufferr7">_UVRouting</a>[uvChannel] = newUVRouting; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_7" doxytag="NL3D::CVertexBuffer::setValueDouble1Ex" ></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::CVertexBuffer::setValueDouble1Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>value</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Setup values. nlassert are raised if wrong value type is setuped.
+<p>
+Definition at line <a class="el" href="a06711.html#l00669">669</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw3">Double1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw4">Double2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw5">Double3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw6">Double4</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a05646.html#l01132">value</a>.
+<p>
+<div class="fragment"><pre>00670 {
+00671 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00672 <span class="keywordtype">double</span>* ptrd;
+00673
+00674 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00675 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00676 <a class="code" href="a04199.html#a6">nlassert</a>((_Type[valueId]==Double4)||(_Type[valueId]==Double3)||(_Type[valueId]==Double2)||(_Type[valueId]==Double1));
+00677
+00678 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00679 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00680 ptrd=(<span class="keywordtype">double</span>*)ptr;
+00681 *ptrd=<a class="code" href="a04223.html#a658">value</a>;
+00682 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_8" doxytag="NL3D::CVertexBuffer::setValueDouble2Ex" ></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::CVertexBuffer::setValueDouble2Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00686">686</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw4">Double2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw5">Double3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw6">Double4</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00687 {
+00688 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00689 <span class="keywordtype">double</span>* ptrd;
+00690
+00691 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00692 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00693 <a class="code" href="a04199.html#a6">nlassert</a>((_Type[valueId]==Double4)||(_Type[valueId]==Double3)||(_Type[valueId]==Double2));
+00694
+00695 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00696 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00697 ptrd=(<span class="keywordtype">double</span>*)ptr;
+00698 ptrd[0]=<a class="code" href="a04223.html#a572">x</a>;
+00699 ptrd[1]=<a class="code" href="a04223.html#a573">y</a>;
+00700 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_9" doxytag="NL3D::CVertexBuffer::setValueDouble3Ex" ></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::CVertexBuffer::setValueDouble3Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03664.html">CVectorD</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>vector</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00723">723</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw5">Double3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw6">Double4</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00724 {
+00725 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00726 <span class="keywordtype">double</span>* ptrd;
+00727
+00728 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00729 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00730 <a class="code" href="a04199.html#a6">nlassert</a>((_Type[valueId]==Double4)||(_Type[valueId]==Double3));
+00731
+00732 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00733 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00734 ptrd=(<span class="keywordtype">double</span>*)ptr;
+00735 memcpy (ptrd, &amp;vector, <span class="keyword">sizeof</span>(<span class="keywordtype">double</span>)*3);
+00736 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_10" doxytag="NL3D::CVertexBuffer::setValueDouble3Ex" ></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::CVertexBuffer::setValueDouble3Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>z</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00704">704</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw5">Double3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw6">Double4</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l00236">x</a>, <a class="el" href="a05646.html#l00236">y</a>, and <a class="el" href="a05646.html#l00236">z</a>.
+<p>
+<div class="fragment"><pre>00705 {
+00706 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00707 <span class="keywordtype">double</span>* ptrd;
+00708
+00709 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00710 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00711 <a class="code" href="a04199.html#a6">nlassert</a>((_Type[valueId]==Double4)||(_Type[valueId]==Double3));
+00712
+00713 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00714 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00715 ptrd=(<span class="keywordtype">double</span>*)ptr;
+00716 ptrd[0]=<a class="code" href="a04223.html#a572">x</a>;
+00717 ptrd[1]=<a class="code" href="a04223.html#a573">y</a>;
+00718 ptrd[2]=<a class="code" href="a04223.html#a574">z</a>;
+00719 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_11" doxytag="NL3D::CVertexBuffer::setValueDouble4Ex" ></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::CVertexBuffer::setValueDouble4Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>z</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>double&nbsp;</td>
+ <td class="mdname" nowrap> <em>w</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00740">740</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw6">Double4</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l00236">w</a>, <a class="el" href="a05646.html#l00236">x</a>, <a class="el" href="a05646.html#l00236">y</a>, and <a class="el" href="a05646.html#l00236">z</a>.
+<p>
+<div class="fragment"><pre>00741 {
+00742 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00743 <span class="keywordtype">double</span>* ptrd;
+00744
+00745 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00746 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00747 <a class="code" href="a04199.html#a6">nlassert</a>(_Type[valueId]==Double4);
+00748
+00749 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00750 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00751 ptrd=(<span class="keywordtype">double</span>*)ptr;
+00752 ptrd[0]=<a class="code" href="a04223.html#a572">x</a>;
+00753 ptrd[1]=<a class="code" href="a04223.html#a573">y</a>;
+00754 ptrd[2]=<a class="code" href="a04223.html#a574">z</a>;
+00755 ptrd[3]=<a class="code" href="a04223.html#a575">w</a>;
+00756 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_12" doxytag="NL3D::CVertexBuffer::setValueFloat1Ex" ></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::CVertexBuffer::setValueFloat1Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>value</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00760">760</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a05646.html#l01132">value</a>.
+<p>
+<div class="fragment"><pre>00761 {
+00762 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00763 <span class="keywordtype">float</span>* ptrf;
+00764
+00765 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00766 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00767 <a class="code" href="a04199.html#a6">nlassert</a>((_Type[valueId]==Float4)||(_Type[valueId]==Float3)||(_Type[valueId]==Float2)||(_Type[valueId]==Float1));
+00768
+00769 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00770 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00771 ptrf=(<span class="keywordtype">float</span>*)ptr;
+00772 *ptrf=<a class="code" href="a04223.html#a658">value</a>;
+00773 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_13" doxytag="NL3D::CVertexBuffer::setValueFloat2Ex" ></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::CVertexBuffer::setValueFloat2Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00777">777</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+Referenced by <a class="el" href="a06737.html#l00387">NL3D::DrawPoly2D()</a>.
+<p>
+<div class="fragment"><pre>00778 {
+00779 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00780 <span class="keywordtype">float</span>* ptrf;
+00781
+00782 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00783 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00784 <a class="code" href="a04199.html#a6">nlassert</a>((_Type[valueId]==Float4)||(_Type[valueId]==Float3)||(_Type[valueId]==Float2));
+00785
+00786 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00787 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00788 ptrf=(<span class="keywordtype">float</span>*)ptr;
+00789 ptrf[0]=<a class="code" href="a04223.html#a572">x</a>;
+00790 ptrf[1]=<a class="code" href="a04223.html#a573">y</a>;
+00791 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_14" doxytag="NL3D::CVertexBuffer::setValueFloat3Ex" ></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::CVertexBuffer::setValueFloat3Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>vector</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00814">814</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00815 {
+00816 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00817 <span class="keywordtype">float</span>* ptrf;
+00818
+00819 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00820 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00821 <a class="code" href="a04199.html#a6">nlassert</a>((_Type[valueId]==Float4)||(_Type[valueId]==Float3));
+00822
+00823 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00824 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00825 ptrf=(<span class="keywordtype">float</span>*)ptr;
+00826 memcpy (ptrf, &amp;vector, <span class="keyword">sizeof</span>(<span class="keywordtype">float</span>)*3);
+00827 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_15" doxytag="NL3D::CVertexBuffer::setValueFloat3Ex" ></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::CVertexBuffer::setValueFloat3Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>z</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00795">795</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l00236">x</a>, <a class="el" href="a05646.html#l00236">y</a>, and <a class="el" href="a05646.html#l00236">z</a>.
+<p>
+Referenced by <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, <a class="el" href="a06737.html#l00387">NL3D::DrawPoly2D()</a>, and <a class="el" href="a05990.html#l00733">NL3D::CMeshGeom::findVBId()</a>.
+<p>
+<div class="fragment"><pre>00796 {
+00797 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00798 <span class="keywordtype">float</span>* ptrf;
+00799
+00800 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00801 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00802 <a class="code" href="a04199.html#a6">nlassert</a>((_Type[valueId]==Float4)||(_Type[valueId]==Float3));
+00803
+00804 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00805 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00806 ptrf=(<span class="keywordtype">float</span>*)ptr;
+00807 ptrf[0]=<a class="code" href="a04223.html#a572">x</a>;
+00808 ptrf[1]=<a class="code" href="a04223.html#a573">y</a>;
+00809 ptrf[2]=<a class="code" href="a04223.html#a574">z</a>;
+00810 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_16" doxytag="NL3D::CVertexBuffer::setValueFloat4Ex" ></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::CVertexBuffer::setValueFloat4Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>z</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>w</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00831">831</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l00236">w</a>, <a class="el" href="a05646.html#l00236">x</a>, <a class="el" href="a05646.html#l00236">y</a>, and <a class="el" href="a05646.html#l00236">z</a>.
+<p>
+<div class="fragment"><pre>00832 {
+00833 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00834 <span class="keywordtype">float</span>* ptrf;
+00835
+00836 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00837 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00838 <a class="code" href="a04199.html#a6">nlassert</a>(_Type[valueId]==Float4);
+00839
+00840 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00841 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00842 ptrf=(<span class="keywordtype">float</span>*)ptr;
+00843 ptrf[0]=<a class="code" href="a04223.html#a572">x</a>;
+00844 ptrf[1]=<a class="code" href="a04223.html#a573">y</a>;
+00845 ptrf[2]=<a class="code" href="a04223.html#a574">z</a>;
+00846 ptrf[3]=<a class="code" href="a04223.html#a575">w</a>;
+00847 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_17" doxytag="NL3D::CVertexBuffer::setValueShort1Ex" ></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::CVertexBuffer::setValueShort1Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>value</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00851">851</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw31">Short1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw32">Short2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw33">Short3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw34">Short4</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a05646.html#l01132">value</a>.
+<p>
+<div class="fragment"><pre>00852 {
+00853 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00854 <a class="code" href="a04558.html#a9">uint16</a>* ptri;
+00855
+00856 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00857 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00858 <a class="code" href="a04199.html#a6">nlassert</a>((_Type[valueId]==Short4)||(_Type[valueId]==Short3)||(_Type[valueId]==Short2)||(_Type[valueId]==Short1));
+00859
+00860 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00861 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00862 ptri=(<a class="code" href="a04558.html#a9">uint16</a>*)ptr;
+00863 *ptri=<a class="code" href="a04223.html#a658">value</a>;
+00864 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_18" doxytag="NL3D::CVertexBuffer::setValueShort2Ex" ></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::CVertexBuffer::setValueShort2Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00868">868</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw32">Short2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw33">Short3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw34">Short4</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>.
+<p>
+<div class="fragment"><pre>00869 {
+00870 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00871 <a class="code" href="a04558.html#a9">uint16</a>* ptri;
+00872
+00873 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00874 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00875 <a class="code" href="a04199.html#a6">nlassert</a>((_Type[valueId]==Short4)||(_Type[valueId]==Short3)||(_Type[valueId]==Short2));
+00876
+00877 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00878 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00879 ptri=(<a class="code" href="a04558.html#a9">uint16</a>*)ptr;
+00880 ptri[0]=<a class="code" href="a04223.html#a572">x</a>;
+00881 ptri[1]=<a class="code" href="a04223.html#a573">y</a>;
+00882 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_19" doxytag="NL3D::CVertexBuffer::setValueShort3Ex" ></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::CVertexBuffer::setValueShort3Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>z</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00886">886</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw33">Short3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw34">Short4</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l00236">x</a>, <a class="el" href="a05646.html#l00236">y</a>, and <a class="el" href="a05646.html#l00236">z</a>.
+<p>
+<div class="fragment"><pre>00887 {
+00888 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00889 <a class="code" href="a04558.html#a9">uint16</a>* ptri;
+00890
+00891 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00892 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00893 <a class="code" href="a04199.html#a6">nlassert</a>((_Type[valueId]==Short4)||(_Type[valueId]==Short3));
+00894
+00895 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00896 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00897 ptri=(<a class="code" href="a04558.html#a9">uint16</a>*)ptr;
+00898 ptri[0]=<a class="code" href="a04223.html#a572">x</a>;
+00899 ptri[1]=<a class="code" href="a04223.html#a573">y</a>;
+00900 ptri[2]=<a class="code" href="a04223.html#a574">z</a>;
+00901 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_20" doxytag="NL3D::CVertexBuffer::setValueShort4Ex" ></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::CVertexBuffer::setValueShort4Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>z</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>w</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00905">905</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw34">Short4</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l00236">w</a>, <a class="el" href="a05646.html#l00236">x</a>, <a class="el" href="a05646.html#l00236">y</a>, and <a class="el" href="a05646.html#l00236">z</a>.
+<p>
+<div class="fragment"><pre>00906 {
+00907 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00908 <a class="code" href="a04558.html#a9">uint16</a>* ptri;
+00909
+00910 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00911 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00912 <a class="code" href="a04199.html#a6">nlassert</a>(_Type[valueId]==Short4);
+00913
+00914 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00915 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00916 ptri=(<a class="code" href="a04558.html#a9">uint16</a>*)ptr;
+00917 ptri[0]=<a class="code" href="a04223.html#a572">x</a>;
+00918 ptri[1]=<a class="code" href="a04223.html#a573">y</a>;
+00919 ptri[2]=<a class="code" href="a04223.html#a574">z</a>;
+00920 ptri[3]=<a class="code" href="a04223.html#a575">w</a>;
+00921 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1145_21" doxytag="NL3D::CVertexBuffer::setValueUChar4Ex" ></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::CVertexBuffer::setValueUChar4Ex </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52">TValue</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>valueId</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>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03337.html">CRGBA</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>rgba</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a value in the vertex buffer. After this call, call <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx()</a> to init the vertex buffer.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>valueId</em>&nbsp;</td><td>is the value id to setup. </td></tr>
+ <tr><td valign=top><em>type</em>&nbsp;</td><td>is the type used for this value.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06711.html#l00925">925</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw22">NumValue</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw53">UChar4</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00926 {
+00927 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00928 <a class="code" href="a03337.html">CRGBA</a>* ptrr;
+00929
+00930 <a class="code" href="a04199.html#a6">nlassert</a>(valueId&lt;NumValue);
+00931 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (1&lt;&lt;(<a class="code" href="a04558.html#a15">uint</a>)valueId));
+00932 <a class="code" href="a04199.html#a6">nlassert</a>(_Type[valueId]==UChar4);
+00933
+00934 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00935 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[valueId];
+00936 ptrr=(<a class="code" href="a03337.html">CRGBA</a>*)ptr;
+00937 *ptrr=rgba;
+00938 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_28" doxytag="NL3D::CVertexBuffer::setVertexCoord" ></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::CVertexBuffer::setVertexCoord </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>v</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</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="a06711.html#l00541">541</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw26">PositionFlag</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a05646.html#l00237">v</a>.
+<p>
+<div class="fragment"><pre>00542 {
+00543 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00544
+00545 <a class="code" href="a04199.html#a6">nlassert</a> (_Flags &amp; PositionFlag);
+00546 <a class="code" href="a04199.html#a6">nlassert</a> (_Type[Position]==Float3);
+00547
+00548 ptr=&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>];
+00549 memcpy(ptr, &amp;(<a class="code" href="a04223.html#a576">v</a>.x), 3*<span class="keyword">sizeof</span>(<span class="keywordtype">float</span>));
+00550 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_29" doxytag="NL3D::CVertexBuffer::setVertexCoord" ></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::CVertexBuffer::setVertexCoord </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>x</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>y</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>z</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</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="a06711.html#l00524">524</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw26">PositionFlag</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05646.html#l00236">x</a>, <a class="el" href="a05646.html#l00236">y</a>, and <a class="el" href="a05646.html#l00236">z</a>.
+<p>
+Referenced by <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, <a class="el" href="a05722.html#l00088">NL3D::CFontManager::computeString()</a>, <a class="el" href="a06001.html#l00254">NL3D::CMeshInstance::createShadowMap()</a>, <a class="el" href="a05557.html#l00328">NL3D::CCloud::disp()</a>, <a class="el" href="a06285.html#l00169">NL3D::CPSUtil::displayArrow()</a>, <a class="el" href="a06285.html#l00118">NL3D::CPSUtil::displayBBox()</a>, <a class="el" href="a06350.html#l01224">NL3D::CInstanceGroup::displayDebugClusters()</a>, <a class="el" href="a05623.html#l00085">NL3D::CDeform2d::doDeform()</a>, <a class="el" href="a05660.html#l00136">NL3D::CDRU::drawBitmap()</a>, <a class="el" href="a05660.html#l00173">NL3D::CDRU::drawLine()</a>, <a class="el" href="a05657.html#l00504">NL3D::CDriverUser::drawLine()</a>, <a class="el" href="a05660.html#l00377">NL3D::CDRU::drawLinesUnlit()</a>, <a class="el" href="a05660.html#l00241">NL3D::CDRU::drawQuad()</a>, <a class="el" href="a05657.html#l00654">NL3D::CDriverUser::drawQuad()</a>, <a class="el" href="a05660.html#l00206">NL3D::CDRU::drawTriangle()</a>, <a class="el" href="a05657.html#l00575">NL3D::CDriverUser::drawTriangle()</a>, <a class="el" href="a05660.html#l00341">NL3D::CDRU::drawTrianglesUnlit()</a>, <a class="el" href="a05990.html#l00733">NL3D::CMeshGeom::findVBId()</a>, <a class="el" href="a06040.html#l00062">NL3D::CMotionBlur::performMotionBlur()</a>, <a class="el" href="a06374.html#l00192">NL3D::CShadowPolyReceiver::render()</a>, <a class="el" href="a06372.html#l00731">NL3D::CShadowMapManager::setBlackQuad()</a>, <a class="el" href="a06372.html#l00826">NL3D::CShadowMapManager::setBlurQuadFakeGaussian()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, and <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>.
+<p>
+<div class="fragment"><pre>00525 {
+00526 <span class="keywordtype">float</span>* ptr;
+00527
+00528 <a class="code" href="a04199.html#a6">nlassert</a> (_Flags &amp; PositionFlag);
+00529 <a class="code" href="a04199.html#a6">nlassert</a> (_Type[Position]==Float3);
+00530
+00531 ptr=(<span class="keywordtype">float</span>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00532 *ptr=<a class="code" href="a04223.html#a572">x</a>;
+00533 ptr++;
+00534 *ptr=<a class="code" href="a04223.html#a573">y</a>;
+00535 ptr++;
+00536 *ptr=<a class="code" href="a04223.html#a574">z</a>;
+00537 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_30" doxytag="NL3D::CVertexBuffer::setVertexFormat" ></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::CVertexBuffer::setVertexFormat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>Flags</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>
+Setup the vertex format using standard values. Do it before any other standard methods.<p>
+Use one or several flag between : PositionFlag, WeightFlag, NormalFlag, PrimaryColorFlag, SecondaryColorFlag, FogFlag, TexCoord0Flag, TexCoord1Flag, TexCoord2Flag, TexCoord3Flag, TexCoord4Flag, TexCoord5Flag, TexCoord6Flag, TexCoord7Flag, PaletteSkinFlag<p>
+If WeightFlag is specified, 4 float are used to setup the skinning value on 4 bones.
+<p>
+Definition at line <a class="el" href="a06710.html#l00169">169</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+References <a class="el" href="a06710.html#l00338">addValueEx()</a>, <a class="el" href="a06710.html#l00271">clearValueEx()</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw14">Fog</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw15">FogFlag</a>, <a class="el" href="a06710.html#l00369">initEx()</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw23">PaletteSkin</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw26">PositionFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw27">PrimaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw29">SecondaryColor</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw35">TexCoord0</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>, <a class="el" href="a06711.html#l00112">TValue</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw53">UChar4</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>.
+<p>
+Referenced by <a class="el" href="a05935.html#l00276">NL3D::CLodCharacterManager::beginRender()</a>, <a class="el" href="a06702.html#l00052">NL3D::CVegetableShape::build()</a>, <a class="el" href="a05989.html#l00172">NL3D::CMeshGeom::build()</a>, <a class="el" href="a06055.html#l01918">NL3D::CMRMBuilder::buildMeshBuildMrm()</a>, <a class="el" href="a06250.html#l02081">NL3D::CPSConstraintMesh::CMeshDisplayShare::buildVB()</a>, <a class="el" href="a05559.html#l00217">NL3D::CCloudScape::CCloudScape()</a>, <a class="el" href="a05596.html#l00130">NL3D::CComputedString::CComputedString()</a>, <a class="el" href="a05657.html#l00127">NL3D::CDriverUser::CDriverUser()</a>, <a class="el" href="a06001.html#l00254">NL3D::CMeshInstance::createShadowMap()</a>, <a class="el" href="a05595.html#l00590">NL3D::CRenderStringBuffer::CRenderStringBuffer()</a>, <a class="el" href="a06372.html#l00059">NL3D::CShadowMapManager::CShadowMapManager()</a>, <a class="el" href="a06374.html#l00043">NL3D::CShadowPolyReceiver::CShadowPolyReceiver()</a>, <a class="el" href="a06285.html#l00169">NL3D::CPSUtil::displayArrow()</a>, <a class="el" href="a06285.html#l00118">NL3D::CPSUtil::displayBBox()</a>, <a class="el" href="a06350.html#l01224">NL3D::CInstanceGroup::displayDebugClusters()</a>, <a class="el" href="a05623.html#l00085">NL3D::CDeform2d::doDeform()</a>, <a class="el" href="a06737.html#l01170">NL3D::CWaterModel::doSimpleRender()</a>, <a class="el" href="a05660.html#l00136">NL3D::CDRU::drawBitmap()</a>, <a class="el" href="a05660.html#l00173">NL3D::CDRU::drawLine()</a>, <a class="el" href="a05660.html#l00377">NL3D::CDRU::drawLinesUnlit()</a>, <a class="el" href="a05660.html#l00241">NL3D::CDRU::drawQuad()</a>, <a class="el" href="a05660.html#l00206">NL3D::CDRU::drawTriangle()</a>, <a class="el" href="a05660.html#l00341">NL3D::CDRU::drawTrianglesUnlit()</a>, <a class="el" href="a06235.html#l00459">NL3D::CPSFanLight::getVBnIB()</a>, <a class="el" href="a06283.html#l00374">NL3D::CPSTailDot::getVBnPB()</a>, <a class="el" href="a06279.html#l00479">NL3D::CPSShockWave::getVBnPB()</a>, <a class="el" href="a06277.html#l00546">NL3D::CPSRibbonLookAt::getVBnPB()</a>, <a class="el" href="a06273.html#l00695">NL3D::CPSRibbon::getVBnPB()</a>, <a class="el" href="a06011.html#l02088">NL3D::CMeshMRMSkinnedGeom::getVertexBuffer()</a>, <a class="el" href="a06720.html#l00056">NL3D::CVertexStreamManager::init()</a>, <a class="el" href="a06714.html#l00056">NL3D::CVertexBufferHeap::init()</a>, <a class="el" href="a06103.html#l00055">NL3D::CNoise3d::init()</a>, <a class="el" href="a06250.html#l02021">NL3D::CPSConstraintMesh::initPrerotVB()</a>, <a class="el" href="a06262.html#l00115">NL3D::CPSQuad::initVertexBuffers()</a>, <a class="el" href="a06226.html#l00208">NL3D::CPSDot::initVertexBuffers()</a>, <a class="el" href="a06040.html#l00062">NL3D::CMotionBlur::performMotionBlur()</a>, <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>, <a class="el" href="a05880.html#l00662">NL3D::CLandscapeVBAllocator::setupVBFormatAndVertexProgram()</a>, <a class="el" href="a06360.html#l00183">NL3D::CSegRemanenceShape::setupVBnPB()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, <a class="el" href="a05642.html#l01536">NL3D::CDriverGL::swapBuffers()</a>, and <a class="el" href="a05712.html#l00063">NL3D::CFlareModel::traverseRender()</a>.
+<p>
+<div class="fragment"><pre>00170 {
+00171 <a class="code" href="a04558.html#a15">uint</a> i;
+00172
+00173 <span class="comment">// Clear extended values </span>
+00174 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_1">clearValueEx</a> ();
+00175
+00176 <span class="comment">// Position ?</span>
+00177 <span class="keywordflow">if</span> (flags &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw26">PositionFlag</a>)
+00178 {
+00179 <span class="comment">// Add a standard position value</span>
+00180 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_0">addValueEx</a> (Position, Float3);
+00181 }
+00182
+00183 <span class="comment">// Normal ?</span>
+00184 <span class="keywordflow">if</span> (flags &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw20">NormalFlag</a>)
+00185 {
+00186 <span class="comment">// Add a standard normal value</span>
+00187 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_0">addValueEx</a> (Normal, Float3);
+00188 }
+00189
+00190 <span class="comment">// For each uv values</span>
+00191 <span class="keywordflow">for</span>(i=0 ; i&lt;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw17">MaxStage</a> ; i++)
+00192 {
+00193 <span class="comment">// UV ?</span>
+00194 <span class="keywordflow">if</span> (flags &amp; (<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw36">TexCoord0Flag</a>&lt;&lt;i))
+00195 {
+00196 <span class="comment">// Add a standard uv value</span>
+00197 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_0">addValueEx</a> ((TValue)(TexCoord0+i), Float2);
+00198 }
+00199 }
+00200
+00201 <span class="comment">// Fog ?</span>
+00202 <span class="keywordflow">if</span> (flags &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw15">FogFlag</a>)
+00203 {
+00204 <span class="comment">// Add a standard primary color value</span>
+00205 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_0">addValueEx</a> (Fog, Float1);
+00206 }
+00207
+00208 <span class="comment">// Primary color ?</span>
+00209 <span class="keywordflow">if</span> (flags &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw28">PrimaryColorFlag</a>)
+00210 {
+00211 <span class="comment">// Add a standard primary color value</span>
+00212 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_0">addValueEx</a> (PrimaryColor, UChar4);
+00213 }
+00214
+00215 <span class="comment">// Secondary color ?</span>
+00216 <span class="keywordflow">if</span> (flags &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw30">SecondaryColorFlag</a>)
+00217 {
+00218 <span class="comment">// Add a standard primary color value</span>
+00219 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_0">addValueEx</a> (SecondaryColor, UChar4);
+00220 }
+00221
+00222 <span class="comment">// Weight ?</span>
+00223 <span class="keywordflow">if</span> (flags &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>)
+00224 {
+00225 <span class="comment">// Add a standard primary color value</span>
+00226 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_0">addValueEx</a> (Weight, Float4);
+00227 }
+00228
+00229 <span class="comment">// Palette skin ?</span>
+00230 <span class="keywordflow">if</span> ((flags &amp; <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw24">PaletteSkinFlag</a>)==CVertexBuffer::PaletteSkinFlag)
+00231 {
+00232 <span class="comment">// Add a standard primary color value</span>
+00233 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_0">addValueEx</a> (PaletteSkin, UChar4);
+00234 }
+00235
+00236 <span class="comment">// Compute the vertex buffer</span>
+00237 <a class="code" href="a03692.html#NL3D_1_1CVertexBufferz1145_6">initEx</a> ();
+00238
+00239 <span class="keywordflow">return</span> (<span class="keyword">true</span>);
+00240 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1143_31" doxytag="NL3D::CVertexBuffer::setWeight" ></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::CVertexBuffer::setWeight </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>idx</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>wgt</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>w</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</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="a06711.html#l00637">637</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+References <a class="el" href="a06711.html#l00252">_Verts</a>, <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw2NL3D_1_1CVertexBufferw18">MaxWeight</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00096">uint8</a>, <a class="el" href="a05646.html#l00236">w</a>, and <a class="el" href="a03692.html#NL3D_1_1CVertexBufferw1NL3D_1_1CVertexBufferw55">WeightFlag</a>.
+<p>
+Referenced by <a class="el" href="a05990.html#l00733">NL3D::CMeshGeom::findVBId()</a>.
+<p>
+<div class="fragment"><pre>00638 {
+00639 <a class="code" href="a04558.html#a7">uint8</a>* ptr;
+00640 <span class="keywordtype">float</span>* ptrf;
+00641
+00642 <a class="code" href="a04199.html#a6">nlassert</a>(wgt&lt;MaxWeight);
+00643 <a class="code" href="a04199.html#a6">nlassert</a>(_Flags &amp; (WeightFlag));
+00644
+00645 ptr=(<a class="code" href="a04558.html#a7">uint8</a>*)(&amp;<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr9">_Verts</a>[idx*<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr8">_VertexSize</a>]);
+00646 ptr+=<a class="code" href="a03692.html#NL3D_1_1CVertexBufferr4">_Offset</a>[<a class="code" href="a03692.html#NL3D_1_1CVertexBufferw52NL3D_1_1CVertexBufferw54">Weight</a>]+<span class="keyword">sizeof</span>(<span class="keywordtype">float</span>)*wgt;
+00647 ptrf=(<span class="keywordtype">float</span>*)ptr;
+00648 *ptrf=<a class="code" href="a04223.html#a575">w</a>;
+00649 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" name="NLGEORGES_1_1UTypen0" doxytag="NL3D::CVertexBuffer::CPtrInfo" ></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 struct CPtrInfo<code> [friend, inherited]</code>
+ </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="a06402.html#l00067">67</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CVertexBufferr0" doxytag="NL3D::CVertexBuffer::_Capacity" ></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> <a class="el" href="a03692.html#NL3D_1_1CVertexBufferr0">NL3D::CVertexBuffer::_Capacity</a><code> [private]</code>
+ </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="a06711.html#l00249">249</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00139">operator=()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferr1" doxytag="NL3D::CVertexBuffer::_Flags" ></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#a9">uint16</a> <a class="el" href="a03692.html#NL3D_1_1CVertexBufferr1">NL3D::CVertexBuffer::_Flags</a><code> [private]</code>
+ </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="a06711.html#l00240">240</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00139">operator=()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferr2" doxytag="NL3D::CVertexBuffer::_InternalFlags" ></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#a9">uint16</a> <a class="el" href="a03692.html#NL3D_1_1CVertexBufferr2">NL3D::CVertexBuffer::_InternalFlags</a><code> [private]</code>
+ </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="a06711.html#l00243">243</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00099">CVertexBuffer()</a>, <a class="el" href="a06710.html#l00424">deleteAllVertices()</a>, <a class="el" href="a06711.html#l00265">getTouchFlags()</a>, <a class="el" href="a06710.html#l00369">initEx()</a>, <a class="el" href="a06710.html#l00139">operator=()</a>, <a class="el" href="a06711.html#l00266">resetTouchFlags()</a>, <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>, <a class="el" href="a06710.html#l01008">serialSubset()</a>, and <a class="el" href="a06710.html#l00409">setNumVertices()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferr3" doxytag="NL3D::CVertexBuffer::_NbVerts" ></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> <a class="el" href="a03692.html#NL3D_1_1CVertexBufferr3">NL3D::CVertexBuffer::_NbVerts</a><code> [private]</code>
+ </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="a06711.html#l00246">246</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00099">CVertexBuffer()</a>, <a class="el" href="a06710.html#l00424">deleteAllVertices()</a>, <a class="el" href="a06711.html#l00453">getNumVertices()</a>, <a class="el" href="a06710.html#l00369">initEx()</a>, <a class="el" href="a06710.html#l00139">operator=()</a>, <a class="el" href="a06710.html#l00854">serial()</a>, <a class="el" href="a06710.html#l00883">serialHeader()</a>, <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>, <a class="el" href="a06710.html#l01008">serialSubset()</a>, and <a class="el" href="a06710.html#l00409">setNumVertices()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferr4" doxytag="NL3D::CVertexBuffer::_Offset" ></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#a9">uint16</a> <a class="el" href="a03692.html#NL3D_1_1CVertexBufferr4">NL3D::CVertexBuffer::_Offset</a>[NumValue]<code> [private]</code>
+ </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="a06711.html#l00255">255</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00139">operator=()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferr5" doxytag="NL3D::CVertexBuffer::_Pad" ></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#a7">uint8</a> <a class="el" href="a03692.html#NL3D_1_1CVertexBufferr5">NL3D::CVertexBuffer::_Pad</a><code> [private]</code>
+ </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="a06711.html#l00234">234</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferr6" doxytag="NL3D::CVertexBuffer::_Type" ></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#a7">uint8</a> <a class="el" href="a03692.html#NL3D_1_1CVertexBufferr6">NL3D::CVertexBuffer::_Type</a>[NumValue]<code> [private]</code>
+ </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="a06711.html#l00233">233</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00139">operator=()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferr7" doxytag="NL3D::CVertexBuffer::_UVRouting" ></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#a7">uint8</a> <a class="el" href="a03692.html#NL3D_1_1CVertexBufferr7">NL3D::CVertexBuffer::_UVRouting</a>[MaxStage]<code> [private]</code>
+ </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="a06711.html#l00258">258</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00099">CVertexBuffer()</a>, <a class="el" href="a06711.html#l00504">getUVRouting()</a>, <a class="el" href="a06710.html#l00139">operator=()</a>, <a class="el" href="a06710.html#l01008">serialSubset()</a>, and <a class="el" href="a06711.html#l00505">setUVRouting()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferr8" doxytag="NL3D::CVertexBuffer::_VertexSize" ></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#a9">uint16</a> <a class="el" href="a03692.html#NL3D_1_1CVertexBufferr8">NL3D::CVertexBuffer::_VertexSize</a><code> [private]</code>
+ </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="a06711.html#l00237">237</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00139">operator=()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferr9" doxytag="NL3D::CVertexBuffer::_Verts" ></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="a03692.html#NL3D_1_1CVertexBufferr9">NL3D::CVertexBuffer::_Verts</a><code> [private]</code>
+ </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="a06711.html#l00252">252</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00424">deleteAllVertices()</a>, <a class="el" href="a06710.html#l00465">getColorPointer()</a>, <a class="el" href="a06710.html#l00449">getNormalCoordPointer()</a>, <a class="el" href="a06710.html#l00529">getPaletteSkinPointer()</a>, <a class="el" href="a06710.html#l00481">getSpecularPointer()</a>, <a class="el" href="a06710.html#l00497">getTexCoordPointer()</a>, <a class="el" href="a06711.html#l00431">getValueEx()</a>, <a class="el" href="a06710.html#l00438">getVertexCoordPointer()</a>, <a class="el" href="a06710.html#l00513">getWeightPointer()</a>, <a class="el" href="a06710.html#l00369">initEx()</a>, <a class="el" href="a06710.html#l00139">operator=()</a>, <a class="el" href="a06710.html#l00401">reserve()</a>, <a class="el" href="a06711.html#l00568">setColor()</a>, <a class="el" href="a06711.html#l00554">setNormalCoord()</a>, <a class="el" href="a06711.html#l00653">setPaletteSkin()</a>, <a class="el" href="a06711.html#l00584">setSpecular()</a>, <a class="el" href="a06711.html#l00600">setTexCoord()</a>, <a class="el" href="a06711.html#l00669">setValueDouble1Ex()</a>, <a class="el" href="a06711.html#l00686">setValueDouble2Ex()</a>, <a class="el" href="a06711.html#l00704">setValueDouble3Ex()</a>, <a class="el" href="a06711.html#l00740">setValueDouble4Ex()</a>, <a class="el" href="a06711.html#l00760">setValueFloat1Ex()</a>, <a class="el" href="a06711.html#l00777">setValueFloat2Ex()</a>, <a class="el" href="a06711.html#l00795">setValueFloat3Ex()</a>, <a class="el" href="a06711.html#l00831">setValueFloat4Ex()</a>, <a class="el" href="a06711.html#l00851">setValueShort1Ex()</a>, <a class="el" href="a06711.html#l00868">setValueShort2Ex()</a>, <a class="el" href="a06711.html#l00886">setValueShort3Ex()</a>, <a class="el" href="a06711.html#l00905">setValueShort4Ex()</a>, <a class="el" href="a06711.html#l00925">setValueUChar4Ex()</a>, <a class="el" href="a06711.html#l00524">setVertexCoord()</a>, and <a class="el" href="a06711.html#l00637">setWeight()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypeo0" doxytag="NL3D::CVertexBuffer::crefs" ></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#a14">sint</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo0">NLMISC::CRefCount::crefs</a><code> [mutable, inherited]</code>
+ </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="a06402.html#l00079">79</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, <a class="el" href="a06402.html#l00070">NLMISC::CRefCount::getRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffers0" doxytag="NL3D::CVertexBuffer::DefaultValueType" ></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="a03692.html#NL3D_1_1CVertexBufferw51">CVertexBuffer::TType</a> <a class="el" href="a03692.html#NL3D_1_1CVertexBuffers0">NL3D::CVertexBuffer::DefaultValueType</a><code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<b>Initial value:</b><div class="fragment"><pre>
+{
+ <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>,
+ <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw12">Float3</a>,
+ <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw11">Float2</a>,
+ Float2,
+ Float2,
+ Float2,
+ Float2,
+ Float2,
+ Float2,
+ Float2,
+ <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw53">UChar4</a>,
+ UChar4,
+ <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw13">Float4</a>,
+ UChar4,
+ <a class="code" href="a03692.html#NL3D_1_1CVertexBufferw51NL3D_1_1CVertexBufferw10">Float1</a>,
+ Float1,
+}
+</pre></div>Static array with the standard type of each value
+<p>
+Definition at line <a class="el" href="a06710.html#l00077">77</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00883">serialHeader()</a>, and <a class="el" href="a06710.html#l00741">serialOldV1Minus()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBufferz1141_2" doxytag="NL3D::CVertexBuffer::DrvInfos" ></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="a03321.html">CRefPtr</a>&lt;<a class="el" href="a03883.html">IVBDrvInfos</a>&gt; <a class="el" href="a03692.html#NL3D_1_1CVertexBufferz1141_2">NL3D::CVertexBuffer::DrvInfos</a>
+ </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="a06711.html#l00264">264</a> of file <a class="el" href="a06711.html">vertex_buffer.h</a>.
+<p>
+Referenced by <a class="el" href="a05653.html#l00060">NL3D::CDriverGL::setupVertexBuffer()</a>, and <a class="el" href="a06710.html#l00131">~CVertexBuffer()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypes0" doxytag="NL3D::CVertexBuffer::NullPtrInfo" ></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="a03320.html">CRefCount::CPtrInfo</a> <a class="el" href="a02209.html#NLGEORGES_1_1UTypes0">NLMISC::CRefCount::NullPtrInfo</a><code> [static, inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffers2" doxytag="NL3D::CVertexBuffer::NumComponentsType" ></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#a15">uint</a> <a class="el" href="a03692.html#NL3D_1_1CVertexBuffers2">NL3D::CVertexBuffer::NumComponentsType</a><code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<b>Initial value:</b><div class="fragment"><pre>
+{
+ 1,
+ 1,
+ 1,
+ 2,
+ 2,
+ 2,
+ 3,
+ 3,
+ 3,
+ 4,
+ 4,
+ 4,
+ 4
+}
+</pre></div>Static array with the number of component of each value type
+<p>
+Definition at line <a class="el" href="a06710.html#l00057">57</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00338">addValueEx()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLGEORGES_1_1UTypeo1" doxytag="NL3D::CVertexBuffer::pinfo" ></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"> CPtrInfo* <a class="el" href="a02209.html#NLGEORGES_1_1UTypeo1">NLMISC::CRefCount::pinfo</a><code> [mutable, inherited]</code>
+ </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="a06402.html#l00080">80</a> of file <a class="el" href="a06402.html">smart_ptr.h</a>.
+<p>
+Referenced by <a class="el" href="a06402.html#l00085">NLMISC::CRefCount::CRefCount()</a>, and <a class="el" href="a06403.html#l00044">NLMISC::CRefCount::~CRefCount()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CVertexBuffers3" doxytag="NL3D::CVertexBuffer::SizeType" ></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#a15">uint</a> <a class="el" href="a03692.html#NL3D_1_1CVertexBuffers3">NL3D::CVertexBuffer::SizeType</a><code> [static]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<b>Initial value:</b><div class="fragment"><pre>
+{
+ 1*<span class="keyword">sizeof</span>(<span class="keywordtype">double</span>),
+ 1*<span class="keyword">sizeof</span>(<span class="keywordtype">float</span>),
+ 1*<span class="keyword">sizeof</span>(<span class="keywordtype">short</span>),
+ 2*<span class="keyword">sizeof</span>(<span class="keywordtype">double</span>),
+ 2*<span class="keyword">sizeof</span>(<span class="keywordtype">float</span>),
+ 2*<span class="keyword">sizeof</span>(<span class="keywordtype">short</span>),
+ 3*<span class="keyword">sizeof</span>(<span class="keywordtype">double</span>),
+ 3*<span class="keyword">sizeof</span>(<span class="keywordtype">float</span>),
+ 3*<span class="keyword">sizeof</span>(<span class="keywordtype">short</span>),
+ 4*<span class="keyword">sizeof</span>(<span class="keywordtype">double</span>),
+ 4*<span class="keyword">sizeof</span>(<span class="keywordtype">float</span>),
+ 4*<span class="keyword">sizeof</span>(<span class="keywordtype">short</span>),
+ 4*<span class="keyword">sizeof</span>(<span class="keywordtype">char</span>),
+}
+</pre></div>Static array with the size in byte of each value type
+<p>
+Definition at line <a class="el" href="a06710.html#l00039">39</a> of file <a class="el" href="a06710.html">vertex_buffer.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06710.html#l00369">initEx()</a>, and <a class="el" href="a06710.html#l01008">serialSubset()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a06711.html">vertex_buffer.h</a><li><a class="el" href="a06710.html">vertex_buffer.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:24:25 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>