aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1CMeshGeom.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CMeshGeom.html')
-rw-r--r--docs/doxygen/nel/classNL3D_1_1CMeshGeom.html2850
1 files changed, 2850 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CMeshGeom.html b/docs/doxygen/nel/classNL3D_1_1CMeshGeom.html
new file mode 100644
index 00000000..ffeecebc
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1CMeshGeom.html
@@ -0,0 +1,2850 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NL3D::CMeshGeom Class Reference</h1>A mesh geometry.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="mesh_8h-source.html">mesh.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CMeshGeom:
+<p><center><img src="classNL3D_1_1CMeshGeom.gif" usemap="#NL3D::CMeshGeom_map" border="0"></center>
+<map name="NL3D::CMeshGeom_map">
+<area href="classNL3D_1_1IMeshGeom.html" alt="NL3D::IMeshGeom" shape="rect" coords="0,112,131,136">
+<area href="classNLMISC_1_1IStreamable.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,131,80">
+<area href="classNLMISC_1_1IClassable.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,131,24">
+</map>
+<a href="classNL3D_1_1CMeshGeom-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Skinning</h2></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z570_0">TSkinType</a> { <a class="el" href="classNL3D_1_1CMeshGeom.html#z570_0u4">SkinPosOnly</a> = 0,
+<a class="el" href="classNL3D_1_1CMeshGeom.html#z570_0u5">SkinWithNormal</a>,
+<a class="el" href="classNL3D_1_1CMeshGeom.html#z570_0u6">SkinWithTgSpace</a>
+ }</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z570_1">buildSkin</a> (<a class="el" href="structNL3D_1_1CMesh_1_1CMeshBuild.html">CMesh::CMeshBuild</a> &amp;m, std::vector&lt; <a class="el" href="structNL3D_1_1CMeshGeom_1_1CFaceTmp.html">CFaceTmp</a> &gt; &amp;tmpFaces)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z570_2">buildBoneUsageVer3</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z570_3">bkupOriginalSkinVertices</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z570_4">restoreOriginalSkinVertices</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z570_5">applySkin</a> (<a class="el" href="classNL3D_1_1CSkeletonModel.html">CSkeletonModel</a> *skeleton)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z570_6">flagSkinVerticesForMatrixBlock</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> *skinFlags, <a class="el" href="classNL3D_1_1CMeshGeom_1_1CMatrixBlock.html">CMatrixBlock</a> &amp;mb)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z570_7">computeSkinMatrixes</a> (<a class="el" href="classNL3D_1_1CSkeletonModel.html">CSkeletonModel</a> *skeleton, <a class="el" href="classNL3D_1_1CMatrix3x4.html">CMatrix3x4</a> *matrixes, <a class="el" href="classNL3D_1_1CMeshGeom_1_1CMatrixBlock.html">CMatrixBlock</a> *prevBlock, <a class="el" href="classNL3D_1_1CMeshGeom_1_1CMatrixBlock.html">CMatrixBlock</a> &amp;curBlock)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z570_8">computeSoftwarePointSkinning</a> (<a class="el" href="classNL3D_1_1CMatrix3x4.html">CMatrix3x4</a> *matrixes, CVector *srcVector, <a class="el" href="structNL3D_1_1CPaletteSkin.html">CPaletteSkin</a> *srcPal, float *srcWgt, CVector *dstVector)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z570_9">computeSoftwareVectorSkinning</a> (<a class="el" href="classNL3D_1_1CMatrix3x4.html">CMatrix3x4</a> *matrixes, CVector *srcVector, <a class="el" href="structNL3D_1_1CPaletteSkin.html">CPaletteSkin</a> *srcPal, float *srcWgt, CVector *dstVector)</td></tr>
+<tr><td colspan=2><br><h2>VBufferHard mgt.</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z568_0">updateVertexBufferHard</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *drv)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>update the VertexBufferHard if NULL (ie not created or deleted by driver) or if VertexBufferDirty.</em> <a href="#z568_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CRefPtr&lt; <a class="el" href="classNL3D_1_1IVertexBufferHard.html">IVertexBufferHard</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z568_1">_VertexBufferHard</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The only one VBufferHard of the mesh. NULL by default.</em> <a href="#z568_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>CRefPtr&lt; <a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z568_2">_Driver</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This is the driver used to setup the vbuffer hard. error if a mesh has not the same driver in his life.</em> <a href="#z568_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z568_3">_VertexBufferHardDirty</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This tells if the VBuffer has changed since the last time or not.</em> <a href="#z568_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#a0">CMeshGeom</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#a1">~CMeshGeom</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#a2">build</a> (<a class="el" href="structNL3D_1_1CMesh_1_1CMeshBuild.html">CMesh::CMeshBuild</a> &amp;mbuild, <a class="el" href="memory__common_8h.html#a15">uint</a> numMaxMaterial)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Build a meshGeom.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#a3">setBlendShapes</a> (std::vector&lt; <a class="el" href="classNL3D_1_1CBlendShape.html">CBlendShape</a> &gt; &amp;bs)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>If all texture coordinates are of dimension 2, we can setup the flags as before.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#a4">applyMaterialRemap</a> (const std::vector&lt; <a class="el" href="memory__common_8h.html#a14">sint</a> &gt; &amp;remap)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>change materials Ids (called from <a class="el" href="classNL3D_1_1CMesh.html#a6">CMesh::optimizeMaterialUsage</a>()).</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#a5">renderSimpleWithMaterial</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *drv, const CMatrix &amp;worldMatrix, <a class="el" href="classNL3D_1_1CMaterial.html">CMaterial</a> &amp;mat)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>render the mesh geometry with a single material.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">From IMeshGeom</div></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z564_0">initInstance</a> (<a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> *mbi)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Init instance info.</em> <a href="#z564_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z564_1">clip</a> (const std::vector&lt; CPlane &gt; &amp;pyramid, const CMatrix &amp;worldMatrix)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>clip this mesh.</em> <a href="#z564_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z564_2">render</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *drv, <a class="el" href="classNL3D_1_1CTransformShape.html">CTransformShape</a> *trans, float polygonCount, <a class="el" href="memory__common_8h.html#a11">uint32</a> rdrFlags, float globalAlpha)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classNL3D_1_1CMeshGeom.html#z564_2">render</a>() this mesh in a driver.</em> <a href="#z564_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z564_3">renderSkin</a> (<a class="el" href="classNL3D_1_1CTransformShape.html">CTransformShape</a> *trans, float alphaMRM)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classNL3D_1_1CMeshGeom.html#z564_2">render</a>() this mesh as a skin.</em> <a href="#z564_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z564_4">getNumTriangles</a> (float distance)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get an approximation of the number of triangles this instance will render for a fixed distance.</em> <a href="#z564_4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z564_5">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>serial this mesh.</em> <a href="#z564_5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z564_6">NLMISC_DECLARE_CLASS</a> (CMeshGeom)</td></tr>
+<tr><td colspan="2"><div class="groupHeader">Geometry accessors</div></td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="classNLMISC_1_1CAABBoxExt.html">NLMISC::CAABBoxExt</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z565_0">getBoundingBox</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the extended axis aligned bounding box of the mesh.</em> <a href="#z565_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="classNL3D_1_1CVertexBuffer.html">CVertexBuffer</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z565_1">getVertexBuffer</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the vertex buffer used by the mesh.</em> <a href="#z565_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z565_2">getNbMatrixBlock</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the number of matrix block.</em> <a href="#z565_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z565_3">getNbRdrPass</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> matrixBlockIndex) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the number of rendering pass for a given matrix block.</em> <a href="#z565_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const <a class="el" href="classNL3D_1_1CPrimitiveBlock.html">CPrimitiveBlock</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z565_4">getRdrPassPrimitiveBlock</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> matrixBlockIndex, <a class="el" href="memory__common_8h.html#a15">uint</a> renderingPassIndex) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the primitive block associated with a rendering pass of a matrix block.</em> <a href="#z565_4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z565_5">getRdrPassMaterial</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> matrixBlockIndex, <a class="el" href="memory__common_8h.html#a15">uint</a> renderingPassIndex) const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the material ID associated with a rendering pass of a matrix block.</em> <a href="#z565_5">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Skinning Behavior</div></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z566_0">isSkinned</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Return true if the mesh is skinned, else return false.</em> <a href="#z566_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z566_1">computeBonesId</a> (<a class="el" href="classNL3D_1_1CSkeletonModel.html">CSkeletonModel</a> *skeleton)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Compute skinning id.</em> <a href="#z566_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z566_2">updateSkeletonUsage</a> (<a class="el" href="classNL3D_1_1CSkeletonModel.html">CSkeletonModel</a> *sm, bool increment)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>update Skeleton Usage. increment or decrement. computeBonesId must has been called before.</em> <a href="#z566_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>const std::vector&lt; <a class="el" href="memory__common_8h.html#a10">sint32</a> &gt; &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z566_3">getSkinBoneUsage</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>return array of bones used by the skin. computeBonesId must has been called before.</em> <a href="#z566_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Mesh Block Render Implementation</div></td></tr>
+<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z567_0">supportMeshBlockRendering</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>true if this meshGeom support meshBlock rendering.</em> <a href="#z567_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z567_1">sortPerMaterial</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>true if the sort criterion must be by material.</em> <a href="#z567_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z567_2">getNumRdrPasses</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>return the number of renderPasses for this mesh.</em> <a href="#z567_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z567_3">beginMesh</a> (<a class="el" href="classNL3D_1_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a> &amp;rdrCtx)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The framework call this method when he will render instances of this meshGeom soon.</em> <a href="#z567_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z567_4">activeInstance</a> (<a class="el" href="classNL3D_1_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a> &amp;rdrCtx, <a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> *inst, float polygonCount)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The framework call this method any time a change of instance occurs.</em> <a href="#z567_4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z567_5">renderPass</a> (<a class="el" href="classNL3D_1_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a> &amp;rdrCtx, <a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> *inst, float polygonCount, <a class="el" href="memory__common_8h.html#a15">uint</a> rdrPass)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The framework call this method to render the current renderPass, with the current instance NB: if the material is blended, DON'T render it!!</em> <a href="#z567_5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z567_6">endMesh</a> (<a class="el" href="classNL3D_1_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a> &amp;rdrCtx)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The framework call this method when it has done with this meshGeom.</em> <a href="#z567_6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z567_7">getVBHeapInfo</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> &amp;vertexFormat, <a class="el" href="memory__common_8h.html#a15">uint</a> &amp;numVertices)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The framework call this method to know if the mesh can fit in VBHeap.</em> <a href="#z567_7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z567_8">computeMeshVBHeap</a> (void *dst, <a class="el" href="memory__common_8h.html#a15">uint</a> indexStart)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>When the framework succes to allocate a VBHeap space, it call this method to fill this space and compute shifted Primitive block.</em> <a href="#z567_8">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="memory__common_8h.html#a15">uint</a>, <a class="el" href="structNL3D_1_1CMeshGeom_1_1CBoneTmp.html">CBoneTmp</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#u0">TBoneMap</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Just for build process.</em> <a href="#u0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>typedef TBoneMap::iterator&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#u1">ItBoneMap</a></td></tr>
+<tr><td nowrap align=right valign=top>typedef std::set&lt; <a class="el" href="structNL3D_1_1CMeshGeom_1_1CCornerTmp.html">CCornerTmp</a> *,<br>
+ <a class="el" href="classNL3D_1_1CMeshGeom_1_1CCornerPred.html">CCornerPred</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#u2">TCornerSet</a></td></tr>
+<tr><td nowrap align=right valign=top>typedef TCornerSet::iterator&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#u3">ItCornerSet</a></td></tr>
+<tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#c0">findVBId</a> (<a class="el" href="classNL3D_1_1CMeshGeom.html#u2">TCornerSet</a> &amp;corners, const <a class="el" href="structNL3D_1_1CMeshGeom_1_1CCornerTmp.html">CCornerTmp</a> *corn, <a class="el" href="memory__common_8h.html#a14">sint</a> &amp;currentVBIndex, const CVector &amp;vert, const <a class="el" href="structNL3D_1_1CMesh_1_1CMeshBuild.html">CMesh::CMeshBuild</a> &amp;mb)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#c1">optimizeTriangleOrder</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#c2">compileRunTime</a> ()</td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; CVector &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o0">_OriginalSkinVertices</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Skinning: this is the list of vertices (mirror of VBuffer), at the bind Pos.</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; CVector &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o1">_OriginalSkinNormals</a></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; CVector &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o2">_OriginalTGSpace</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVertexBuffer.html">CVertexBuffer</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o3">_VBuffer</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>VBuffer of the mesh (potentially modified by the mesh morpher and skinning).</em> <a href="#o3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVertexBuffer.html">CVertexBuffer</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o4">_VBufferOri</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The original VBuffer of the mesh used only if there are blend shapes.</em> <a href="#o4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="classNL3D_1_1CMeshGeom_1_1CMatrixBlock.html">CMatrixBlock</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o5">_MatrixBlocks</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The matrix blocks.</em> <a href="#o5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CAABBoxExt.html">NLMISC::CAABBoxExt</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o6">_BBox</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>For clipping.</em> <a href="#o6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o7">_Skinned</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This tells if the mesh is correctly skinned.</em> <a href="#o7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o8">_OriginalSkinRestored</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This tells if the mesh VBuffer has coorect BindPos vertices.</em> <a href="#o8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o9">_BoneIdComputed</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This boolean is true if the bones id have been passed in the skeleton.</em> <a href="#o9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o10">_BoneIdExtended</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>true if the _BonesIdExt have been computed (for bone Usage).</em> <a href="#o10">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; std::string &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o11">_BonesName</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This array give the name of the local bones used.</em> <a href="#o11">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="memory__common_8h.html#a10">sint32</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o12">_BonesId</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This array give the index in the skeleton of the local bones used. computed at first computeBoneId().</em> <a href="#o12">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="memory__common_8h.html#a10">sint32</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o13">_BonesIdExt</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Same as _BonesId but with parent of bones added. (used for bone usage).</em> <a href="#o13">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o14">_PreciseClipping</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Estimate if we must do a Precise clipping (ie with bboxes).</em> <a href="#o14">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMeshMorpher.html">CMeshMorpher</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o15">_MeshMorpher</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CSmartPtr.html">NLMISC::CSmartPtr</a>&lt; <a class="el" href="classNL3D_1_1IMeshVertexProgram.html">IMeshVertexProgram</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#o16">_MeshVertexProgram</a></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Mesh Block Render Implementation</div></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshGeom.html#z569_0">_SupportMeshBlockRendering</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>setuped at compileRunTime.</em> <a href="#z569_0">More...</a><em></em></font><br><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A mesh geometry.
+<p>
+Skinning support: support only palette skinning. <dl compact><dt><b>
+Author: </b><dd>
+Lionel Berenguier , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2000 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00328">328</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.<hr><h2>Member Typedef Documentation</h2>
+<a name="u1" doxytag="NL3D::CMeshGeom::ItBoneMap"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> typedef TBoneMap::iterator NL3D::CMeshGeom::ItBoneMap<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="mesh_8h-source.html#l00590">590</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01080">buildSkin</a>. </td>
+ </tr>
+</table>
+<a name="u3" doxytag="NL3D::CMeshGeom::ItCornerSet"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> typedef TCornerSet::iterator NL3D::CMeshGeom::ItCornerSet<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="mesh_8h-source.html#l00707">707</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8h-source.html#l00710">findVBId</a>. </td>
+ </tr>
+</table>
+<a name="u0" doxytag="NL3D::CMeshGeom::TBoneMap"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="memory__common_8h.html#a15">uint</a>, <a class="el" href="structNL3D_1_1CMeshGeom_1_1CBoneTmp.html">CBoneTmp</a>&gt; NL3D::CMeshGeom::TBoneMap<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Just for build process.
+<p>
+A map of Bone.
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00589">589</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01080">buildSkin</a>. </td>
+ </tr>
+</table>
+<a name="u2" doxytag="NL3D::CMeshGeom::TCornerSet"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> typedef std::set&lt;<a class="el" href="structNL3D_1_1CMeshGeom_1_1CCornerTmp.html">CCornerTmp</a>*, <a class="el" href="classNL3D_1_1CMeshGeom_1_1CCornerPred.html">CCornerPred</a>&gt; NL3D::CMeshGeom::TCornerSet<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="mesh_8h-source.html#l00706">706</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, and <a class="el" href="mesh_8h-source.html#l00710">findVBId</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a name="z570_0" doxytag="NL3D::CMeshGeom::TSkinType"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum NL3D::CMeshGeom::TSkinType<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="z570_0u4" doxytag="SkinPosOnly"></a><em>SkinPosOnly</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z570_0u5" doxytag="SkinWithNormal"></a><em>SkinWithNormal</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="z570_0u6" doxytag="SkinWithTgSpace"></a><em>SkinWithTgSpace</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00776">776</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NL3D::CMeshGeom::CMeshGeom"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CMeshGeom::CMeshGeom </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00123">123</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00653">_BoneIdComputed</a>, <a class="el" href="mesh_8h-source.html#l00655">_BoneIdExtended</a>, <a class="el" href="mesh_8h-source.html#l00689">_MeshMorpher</a>, <a class="el" href="mesh_8h-source.html#l00650">_OriginalSkinRestored</a>, <a class="el" href="mesh_8h-source.html#l00686">_PreciseClipping</a>, <a class="el" href="mesh_8h-source.html#l00648">_Skinned</a>, and <a class="el" href="mesh_8h-source.html#l00672">_VertexBufferHardDirty</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NL3D::CMeshGeom::~CMeshGeom"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CMeshGeom::~CMeshGeom </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</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="mesh_8cpp-source.html#l00136">136</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00670">_Driver</a>, <a class="el" href="mesh_8h-source.html#l00689">_MeshMorpher</a>, <a class="el" href="mesh_8h-source.html#l00668">_VertexBufferHard</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="z567_4" doxytag="NL3D::CMeshGeom::activeInstance"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::activeInstance </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>rdrCtx</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>inst</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>polygonCount</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The framework call this method any time a change of instance occurs.
+<p>
+
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#z586_4">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01956">1956</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NL3D::CMeshGeom::applyMaterialRemap"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::applyMaterialRemap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::vector&lt; <a class="el" href="memory__common_8h.html#a14">sint</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>remap</em> </td>
+ <td class="md" valign="top">)&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>
+change materials Ids (called from <a class="el" href="classNL3D_1_1CMesh.html#a6">CMesh::optimizeMaterialUsage</a>()).
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00455">455</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>, <a class="el" href="mesh_8h-source.html#l00383">getNbMatrixBlock</a>, <a class="el" href="mesh_8h-source.html#l00388">getNbRdrPass</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z570_5" doxytag="NL3D::CMeshGeom::applySkin"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::applySkin </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CSkeletonModel.html">CSkeletonModel</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>skeleton</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01690">1690</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>, <a class="el" href="mesh_8h-source.html#l00636">_OriginalSkinNormals</a>, <a class="el" href="mesh_8h-source.html#l00650">_OriginalSkinRestored</a>, <a class="el" href="mesh_8h-source.html#l00635">_OriginalSkinVertices</a>, <a class="el" href="mesh_8h-source.html#l00637">_OriginalTGSpace</a>, <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>, <a class="el" href="mesh_8cpp-source.html#l01889">computeSkinMatrixes</a>, <a class="el" href="mesh_8cpp-source.html#l01845">computeSoftwarePointSkinning</a>, <a class="el" href="mesh_8cpp-source.html#l01867">computeSoftwareVectorSkinning</a>, <a class="el" href="mesh_8cpp-source.html#l01811">flagSkinVerticesForMatrixBlock</a>, <a class="el" href="mesh_8cpp-source.html#l01683">NL3D_SOFTSKIN_VCOMPUTED</a>, <a class="el" href="mesh_8cpp-source.html#l01682">NL3D_SOFTSKIN_VMUSTCOMPUTE</a>, <a class="el" href="mesh_8cpp-source.html#l01681">NL3D_SOFTSKIN_VNEEDCOMPUTE</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="classNL3D_1_1CMeshGeom.html#z570_0u4">SkinPosOnly</a>, <a class="el" href="classNL3D_1_1CMeshGeom.html#z570_0u5">SkinWithNormal</a>, <a class="el" href="classNL3D_1_1CMeshGeom.html#z570_0u6">SkinWithTgSpace</a>, and <a class="el" href="mesh_8h-source.html#l00776">TSkinType</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>. </td>
+ </tr>
+</table>
+<a name="z567_3" doxytag="NL3D::CMeshGeom::beginMesh"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::beginMesh </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>rdrCtx</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The framework call this method when he will render instances of this meshGeom soon.
+<p>
+
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#z586_3">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01930">1930</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>, <a class="el" href="mesh_8h-source.html#l00668">_VertexBufferHard</a>, and <a class="el" href="mesh_8cpp-source.html#l00520">updateVertexBufferHard</a>. </td>
+ </tr>
+</table>
+<a name="z570_3" doxytag="NL3D::CMeshGeom::bkupOriginalSkinVertices"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::bkupOriginalSkinVertices </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01590">1590</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00693">_MeshVertexProgram</a>, <a class="el" href="mesh_8h-source.html#l00636">_OriginalSkinNormals</a>, <a class="el" href="mesh_8h-source.html#l00635">_OriginalSkinVertices</a>, <a class="el" href="mesh_8h-source.html#l00637">_OriginalTGSpace</a>, <a class="el" href="mesh_8h-source.html#l00648">_Skinned</a>, <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01049">compileRunTime</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NL3D::CMeshGeom::build"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::build </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structNL3D_1_1CMesh_1_1CMeshBuild.html">CMesh::CMeshBuild</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>mbuild</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>numMaxMaterial</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>
+Build a meshGeom.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00172">172</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00646">_BBox</a>, <a class="el" href="mesh_8h-source.html#l00653">_BoneIdComputed</a>, <a class="el" href="mesh_8h-source.html#l00655">_BoneIdExtended</a>, <a class="el" href="mesh_8h-source.html#l00658">_BonesName</a>, <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>, <a class="el" href="mesh_8h-source.html#l00689">_MeshMorpher</a>, <a class="el" href="mesh_8h-source.html#l00693">_MeshVertexProgram</a>, <a class="el" href="mesh_8h-source.html#l00648">_Skinned</a>, <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>, <a class="el" href="mesh_8h-source.html#l00672">_VertexBufferHardDirty</a>, <a class="el" href="mesh_8cpp-source.html#l01080">buildSkin</a>, <a class="el" href="mesh_8cpp-source.html#l01049">compileRunTime</a>, <a class="el" href="mesh_8h-source.html#l00710">findVBId</a>, <a class="el" href="mesh_8cpp-source.html#l00058">NL3D::makeBBox</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00240">matrix</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="mesh_8cpp-source.html#l00153">optimizeTriangleOrder</a>, <a class="el" href="aabbox_8h-source.html#l00181">NLMISC::CAABBoxExt::setCenter</a>, <a class="el" href="aabbox_8h-source.html#l00183">NLMISC::CAABBoxExt::setSize</a>, and <a class="el" href="mesh_8h-source.html#l00706">TCornerSet</a>. </td>
+ </tr>
+</table>
+<a name="z570_2" doxytag="NL3D::CMeshGeom::buildBoneUsageVer3"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::buildBoneUsageVer3 </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01524">1524</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00660">_BonesId</a>, <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00240">matrix</a>. </td>
+ </tr>
+</table>
+<a name="z570_1" doxytag="NL3D::CMeshGeom::buildSkin"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::buildSkin </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structNL3D_1_1CMesh_1_1CMeshBuild.html">CMesh::CMeshBuild</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>m</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>std::vector&lt; <a class="el" href="structNL3D_1_1CMeshGeom_1_1CFaceTmp.html">CFaceTmp</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>tmpFaces</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>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01080">1080</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>, <a class="el" href="mesh_8h-source.html#l00590">ItBoneMap</a>, <a class="el" href="mesh_8h-source.html#l00062">NL3D_MESH_SKINNING_MAX_MATRIX</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="mesh_8h-source.html#l00589">TBoneMap</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00172">build</a>. </td>
+ </tr>
+</table>
+<a name="z564_1" doxytag="NL3D::CMeshGeom::clip"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::clip </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::vector&lt; CPlane &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>pyramid</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CMatrix &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>worldMatrix</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+clip this mesh.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNL3D_1_1IMeshGeom.html#a3">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00479">479</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00646">_BBox</a>, <a class="el" href="aabbox_8cpp-source.html#l00264">NLMISC::CAABBoxExt::clipBack</a>, <a class="el" href="aabbox_8h-source.html#l00199">NLMISC::CAABBoxExt::getCenter</a>, and <a class="el" href="aabbox_8h-source.html#l00204">NLMISC::CAABBoxExt::getRadius</a>. </td>
+ </tr>
+</table>
+<a name="c2" doxytag="NL3D::CMeshGeom::compileRunTime"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::compileRunTime </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01049">1049</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00646">_BBox</a>, <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>, <a class="el" href="mesh_8h-source.html#l00689">_MeshMorpher</a>, <a class="el" href="mesh_8h-source.html#l00693">_MeshVertexProgram</a>, <a class="el" href="mesh_8h-source.html#l00686">_PreciseClipping</a>, <a class="el" href="mesh_8h-source.html#l00648">_Skinned</a>, <a class="el" href="mesh_8h-source.html#l00682">_SupportMeshBlockRendering</a>, <a class="el" href="mesh_8cpp-source.html#l01590">bkupOriginalSkinVertices</a>, <a class="el" href="aabbox_8h-source.html#l00204">NLMISC::CAABBoxExt::getRadius</a>, and <a class="el" href="mesh_8h-source.html#l00065">NL3D_MESH_PRECISE_CLIP_THRESHOLD</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, and <a class="el" href="mesh_8cpp-source.html#l00446">setBlendShapes</a>. </td>
+ </tr>
+</table>
+<a name="z566_1" doxytag="NL3D::CMeshGeom::computeBonesId"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::computeBonesId </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CSkeletonModel.html">CSkeletonModel</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>skeleton</em> </td>
+ <td class="md" valign="top">)&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>
+Compute skinning id.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01431">1431</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00653">_BoneIdComputed</a>, <a class="el" href="mesh_8h-source.html#l00655">_BoneIdExtended</a>, <a class="el" href="mesh_8h-source.html#l00660">_BonesId</a>, <a class="el" href="mesh_8h-source.html#l00662">_BonesIdExt</a>, <a class="el" href="mesh_8h-source.html#l00658">_BonesName</a>, <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00240">matrix</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td>
+ </tr>
+</table>
+<a name="z567_8" doxytag="NL3D::CMeshGeom::computeMeshVBHeap"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::computeMeshVBHeap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>dst</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>indexStart</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+When the framework succes to allocate a VBHeap space, it call this method to fill this space and compute shifted Primitive block.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>the</em>&nbsp;</td><td>
+dest VertexBuffer. NB: start to fill at dst[0] </td></tr>
+<tr><td valign=top><em>indexStart</em>&nbsp;</td><td>
+used to shift primitive block. </td></tr>
+</table>
+</dl>
+<p>
+Reimplemented from <a class="el" href="classNL3D_1_1IMeshGeom.html#z586_8">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l02002">2002</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>, <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z570_7" doxytag="NL3D::CMeshGeom::computeSkinMatrixes"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::computeSkinMatrixes </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CSkeletonModel.html">CSkeletonModel</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>skeleton</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMatrix3x4.html">CMatrix3x4</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>matrixes</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMeshGeom_1_1CMatrixBlock.html">CMatrixBlock</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>prevBlock</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMeshGeom_1_1CMatrixBlock.html">CMatrixBlock</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>curBlock</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>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01889">1889</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>. </td>
+ </tr>
+</table>
+<a name="z570_8" doxytag="NL3D::CMeshGeom::computeSoftwarePointSkinning"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::computeSoftwarePointSkinning </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMatrix3x4.html">CMatrix3x4</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>matrixes</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CVector *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcVector</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="structNL3D_1_1CPaletteSkin.html">CPaletteSkin</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcPal</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcWgt</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CVector *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>dstVector</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>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01845">1845</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>. </td>
+ </tr>
+</table>
+<a name="z570_9" doxytag="NL3D::CMeshGeom::computeSoftwareVectorSkinning"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::computeSoftwareVectorSkinning </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMatrix3x4.html">CMatrix3x4</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>matrixes</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CVector *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcVector</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="structNL3D_1_1CPaletteSkin.html">CPaletteSkin</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcPal</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcWgt</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CVector *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>dstVector</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>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01867">1867</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>. </td>
+ </tr>
+</table>
+<a name="z567_6" doxytag="NL3D::CMeshGeom::endMesh"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::endMesh </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>rdrCtx</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The framework call this method when it has done with this meshGeom.
+<p>
+
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#z586_6">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01986">1986</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>. </td>
+ </tr>
+</table>
+<a name="c0" doxytag="NL3D::CMeshGeom::findVBId"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::findVBId </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMeshGeom.html#u2">TCornerSet</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>corners</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="structNL3D_1_1CMeshGeom_1_1CCornerTmp.html">CCornerTmp</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>corn</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>currentVBIndex</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CVector &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>vert</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="structNL3D_1_1CMesh_1_1CMeshBuild.html">CMesh::CMeshBuild</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>mb</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline, private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00710">710</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, <a class="el" href="mesh_8h-source.html#l00707">ItCornerSet</a>, <a class="el" href="mesh_8h-source.html#l00062">NL3D_MESH_SKINNING_MAX_MATRIX</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="mesh_8h-source.html#l00706">TCornerSet</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00172">build</a>. </td>
+ </tr>
+</table>
+<a name="z570_6" doxytag="NL3D::CMeshGeom::flagSkinVerticesForMatrixBlock"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::flagSkinVerticesForMatrixBlock </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>skinFlags</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMeshGeom_1_1CMatrixBlock.html">CMatrixBlock</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>mb</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>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01811">1811</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8cpp-source.html#l01682">NL3D_SOFTSKIN_VMUSTCOMPUTE</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>. </td>
+ </tr>
+</table>
+<a name="z565_0" doxytag="NL3D::CMeshGeom::getBoundingBox"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="classNLMISC_1_1CAABBoxExt.html">NLMISC::CAABBoxExt</a>&amp; NL3D::CMeshGeom::getBoundingBox </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the extended axis aligned bounding box of the mesh.
+<p>
+
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#z585_1">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00374">374</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00646">_BBox</a>. </td>
+ </tr>
+</table>
+<a name="z565_2" doxytag="NL3D::CMeshGeom::getNbMatrixBlock"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NL3D::CMeshGeom::getNbMatrixBlock </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 matrix block.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00383">383</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00455">applyMaterialRemap</a>. </td>
+ </tr>
+</table>
+<a name="z565_3" doxytag="NL3D::CMeshGeom::getNbRdrPass"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NL3D::CMeshGeom::getNbRdrPass </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>matrixBlockIndex</em> </td>
+ <td class="md" valign="top">)&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 rendering pass for a given matrix block.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>matrixBlockIndex</em>&nbsp;</td><td>
+the index of the matrix block the rendering passes belong to </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00388">388</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00455">applyMaterialRemap</a>. </td>
+ </tr>
+</table>
+<a name="z567_2" doxytag="NL3D::CMeshGeom::getNumRdrPasses"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NL3D::CMeshGeom::getNumRdrPasses </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return the number of renderPasses for this mesh.
+<p>
+
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#z586_2">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01925">1925</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>. </td>
+ </tr>
+</table>
+<a name="z564_4" doxytag="NL3D::CMeshGeom::getNumTriangles"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CMeshGeom::getNumTriangles </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>distance</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get an approximation of the number of triangles this instance will render for a fixed distance.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>distance</em>&nbsp;</td><td>
+is the distance of the shape from the eye. </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+the approximate number of triangles this instance will render at this distance. This number can be a float. The function MUST be decreasing or constant with the distance but don't have to be continus. </dl>
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#z585_0">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01404">1404</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>. </td>
+ </tr>
+</table>
+<a name="z565_5" doxytag="NL3D::CMeshGeom::getRdrPassMaterial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::CMeshGeom::getRdrPassMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>matrixBlockIndex</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>renderingPassIndex</em></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 the material ID associated with a rendering pass of a matrix block.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>matrixBlockIndex</em>&nbsp;</td><td>
+the index of the matrix block the renderin pass belong to </td></tr>
+<tr><td valign=top><em>renderingPassIndex</em>&nbsp;</td><td>
+the index of the rendering pass in the matrix block </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00403">403</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>. </td>
+ </tr>
+</table>
+<a name="z565_4" doxytag="NL3D::CMeshGeom::getRdrPassPrimitiveBlock"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="classNL3D_1_1CPrimitiveBlock.html">CPrimitiveBlock</a>&amp; NL3D::CMeshGeom::getRdrPassPrimitiveBlock </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>matrixBlockIndex</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>renderingPassIndex</em></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 the primitive block associated with a rendering pass of a matrix block.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>matrixBlockIndex</em>&nbsp;</td><td>
+the index of the matrix block the renderin pass belong to </td></tr>
+<tr><td valign=top><em>renderingPassIndex</em>&nbsp;</td><td>
+the index of the rendering pass in the matrix block </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00394">394</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>. </td>
+ </tr>
+</table>
+<a name="z566_3" doxytag="NL3D::CMeshGeom::getSkinBoneUsage"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const std::vector&lt;<a class="el" href="memory__common_8h.html#a10">sint32</a>&gt;&amp; NL3D::CMeshGeom::getSkinBoneUsage </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 array of bones used by the skin. computeBonesId must has been called before.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00427">427</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00660">_BonesId</a>. </td>
+ </tr>
+</table>
+<a name="z567_7" doxytag="NL3D::CMeshGeom::getVBHeapInfo"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::getVBHeapInfo </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>vertexFormat</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>numVertices</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The framework call this method to know if the mesh can fit in VBHeap.
+<p>
+if yes, deriver must return mesh vertexFormat and num of vertices.
+<p>
+Reimplemented from <a class="el" href="classNL3D_1_1IMeshGeom.html#z586_7">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01993">1993</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00682">_SupportMeshBlockRendering</a>, and <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>. </td>
+ </tr>
+</table>
+<a name="z565_1" doxytag="NL3D::CMeshGeom::getVertexBuffer"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="classNL3D_1_1CVertexBuffer.html">CVertexBuffer</a>&amp; NL3D::CMeshGeom::getVertexBuffer </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 vertex buffer used by the mesh.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00380">380</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>. </td>
+ </tr>
+</table>
+<a name="z564_0" doxytag="NL3D::CMeshGeom::initInstance"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::initInstance </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>mbi</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Init instance info.
+<p>
+
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#a2">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00471">471</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00693">_MeshVertexProgram</a>. </td>
+ </tr>
+</table>
+<a name="z566_0" doxytag="NL3D::CMeshGeom::isSkinned"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::isSkinned </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 true if the mesh is skinned, else return false.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00415">415</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00648">_Skinned</a>. </td>
+ </tr>
+</table>
+<a name="z564_6" doxytag="NL3D::CMeshGeom::NLMISC_DECLARE_CLASS"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NL3D::CMeshGeom::NLMISC_DECLARE_CLASS </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CMeshGeom&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+ </td>
+ </tr>
+</table>
+<a name="c1" doxytag="NL3D::CMeshGeom::optimizeTriangleOrder"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::optimizeTriangleOrder </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00153">153</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00172">build</a>. </td>
+ </tr>
+</table>
+<a name="z564_2" doxytag="NL3D::CMeshGeom::render"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::render </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>drv</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CTransformShape.html">CTransformShape</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>trans</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>polygonCount</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>rdrFlags</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>globalAlpha</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classNL3D_1_1CMeshGeom.html#z564_2">render</a>() this mesh in a driver.
+<p>
+
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#a4">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00589">589</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>, <a class="el" href="mesh_8h-source.html#l00689">_MeshMorpher</a>, <a class="el" href="mesh_8h-source.html#l00693">_MeshVertexProgram</a>, <a class="el" href="mesh_8h-source.html#l00636">_OriginalSkinNormals</a>, <a class="el" href="mesh_8h-source.html#l00650">_OriginalSkinRestored</a>, <a class="el" href="mesh_8h-source.html#l00635">_OriginalSkinVertices</a>, <a class="el" href="mesh_8h-source.html#l00637">_OriginalTGSpace</a>, <a class="el" href="mesh_8h-source.html#l00648">_Skinned</a>, <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>, <a class="el" href="mesh_8h-source.html#l00642">_VBufferOri</a>, <a class="el" href="mesh_8h-source.html#l00668">_VertexBufferHard</a>, <a class="el" href="hierarchical__timer_8h-source.html#l00054">H_AUTO</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="fast__floor_8h-source.html#l00125">NL3D::OptFastFloor</a>, <a class="el" href="mesh_8cpp-source.html#l01638">restoreOriginalSkinVertices</a>, and <a class="el" href="mesh_8cpp-source.html#l00520">updateVertexBufferHard</a>. </td>
+ </tr>
+</table>
+<a name="z567_5" doxytag="NL3D::CMeshGeom::renderPass"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::renderPass </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>rdrCtx</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>inst</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>polygonCount</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>rdrPass</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The framework call this method to render the current renderPass, with the current instance NB: if the material is blended, DON'T render it!!
+<p>
+
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#z586_5">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01967">1967</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NL3D::CMeshGeom::renderSimpleWithMaterial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::renderSimpleWithMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>drv</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CMatrix &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>worldMatrix</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CMaterial.html">CMaterial</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>mat</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>
+render the mesh geometry with a single material.
+<p>
+Render is said "Simple" because no special features are used:<ul>
+<li>mesh is rendered without VertexProgram (if it has one).<li>mesh is rendered without Skinning.<li>mesh is rendered without use of VertexBufferHard.<li>mesh is rendered without MeshMorpher.<li>..... </ul>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00907">907</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>, <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="z564_3" doxytag="NL3D::CMeshGeom::renderSkin"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::renderSkin </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CTransformShape.html">CTransformShape</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>trans</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>alphaMRM</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classNL3D_1_1CMeshGeom.html#z564_2">render</a>() this mesh as a skin.
+<p>
+
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#a5">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00780">780</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00644">_MatrixBlocks</a>, <a class="el" href="mesh_8h-source.html#l00689">_MeshMorpher</a>, <a class="el" href="mesh_8h-source.html#l00693">_MeshVertexProgram</a>, <a class="el" href="mesh_8h-source.html#l00636">_OriginalSkinNormals</a>, <a class="el" href="mesh_8h-source.html#l00635">_OriginalSkinVertices</a>, <a class="el" href="mesh_8h-source.html#l00637">_OriginalTGSpace</a>, <a class="el" href="mesh_8h-source.html#l00648">_Skinned</a>, <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>, <a class="el" href="mesh_8h-source.html#l00642">_VBufferOri</a>, <a class="el" href="mesh_8h-source.html#l00668">_VertexBufferHard</a>, <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>, <a class="el" href="hierarchical__timer_8h-source.html#l00054">H_AUTO</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="mesh_8cpp-source.html#l00520">updateVertexBufferHard</a>. </td>
+ </tr>
+</table>
+<a name="z570_4" doxytag="NL3D::CMeshGeom::restoreOriginalSkinVertices"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::restoreOriginalSkinVertices </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01638">1638</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00693">_MeshVertexProgram</a>, <a class="el" href="mesh_8h-source.html#l00636">_OriginalSkinNormals</a>, <a class="el" href="mesh_8h-source.html#l00650">_OriginalSkinRestored</a>, <a class="el" href="mesh_8h-source.html#l00635">_OriginalSkinVertices</a>, <a class="el" href="mesh_8h-source.html#l00637">_OriginalTGSpace</a>, <a class="el" href="mesh_8h-source.html#l00648">_Skinned</a>, <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00589">render</a>. </td>
+ </tr>
+</table>
+<a name="z564_5" doxytag="NL3D::CMeshGeom::serial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>f</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="structNLMISC_1_1EStream.html">NLMISC::EStream</a>)<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+serial this mesh.
+<p>
+
+<p>
+Implements <a class="el" href="classNLMISC_1_1IStreamable.html#a0">NLMISC::IStreamable</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00938">938</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::CMeshGeom::setBlendShapes"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::setBlendShapes </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::vector&lt; <a class="el" href="classNL3D_1_1CBlendShape.html">CBlendShape</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>bs</em> </td>
+ <td class="md" valign="top">)&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>
+If all texture coordinates are of dimension 2, we can setup the flags as before.
+<p>
+If this isn't the case, we must setup a custom format
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00446">446</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00689">_MeshMorpher</a>, and <a class="el" href="mesh_8cpp-source.html#l01049">compileRunTime</a>. </td>
+ </tr>
+</table>
+<a name="z567_1" doxytag="NL3D::CMeshGeom::sortPerMaterial"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::sortPerMaterial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+true if the sort criterion must be by material.
+<p>
+Else, sort per instance.
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#z586_1">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01920">1920</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>. </td>
+ </tr>
+</table>
+<a name="z567_0" doxytag="NL3D::CMeshGeom::supportMeshBlockRendering"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::supportMeshBlockRendering </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+true if this meshGeom support meshBlock rendering.
+<p>
+return false if skinned/meshMorphed.
+<p>
+Implements <a class="el" href="classNL3D_1_1IMeshGeom.html#z586_0">NL3D::IMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01914">1914</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00682">_SupportMeshBlockRendering</a>. </td>
+ </tr>
+</table>
+<a name="z566_2" doxytag="NL3D::CMeshGeom::updateSkeletonUsage"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::updateSkeletonUsage </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CSkeletonModel.html">CSkeletonModel</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>sm</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>increment</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>
+update Skeleton Usage. increment or decrement. computeBonesId must has been called before.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l01571">1571</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00662">_BonesIdExt</a>, and <a class="el" href="debug_8h-source.html#l00133">nlerror</a>. </td>
+ </tr>
+</table>
+<a name="z568_0" doxytag="NL3D::CMeshGeom::updateVertexBufferHard"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CMeshGeom::updateVertexBufferHard </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>drv</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+update the VertexBufferHard if NULL (ie not created or deleted by driver) or if VertexBufferDirty.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8cpp-source.html#l00520">520</a> of file <a class="el" href="mesh_8cpp-source.html">mesh.cpp</a>.
+<p>
+References <a class="el" href="mesh_8h-source.html#l00670">_Driver</a>, <a class="el" href="mesh_8h-source.html#l00689">_MeshMorpher</a>, <a class="el" href="mesh_8h-source.html#l00648">_Skinned</a>, <a class="el" href="mesh_8h-source.html#l00640">_VBuffer</a>, <a class="el" href="mesh_8h-source.html#l00668">_VertexBufferHard</a>, <a class="el" href="mesh_8h-source.html#l00672">_VertexBufferHardDirty</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01930">beginMesh</a>, <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, and <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o6" doxytag="NL3D::CMeshGeom::_BBox"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CAABBoxExt.html">NLMISC::CAABBoxExt</a> NL3D::CMeshGeom::_BBox<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+For clipping.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00646">646</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, <a class="el" href="mesh_8cpp-source.html#l00479">clip</a>, <a class="el" href="mesh_8cpp-source.html#l01049">compileRunTime</a>, and <a class="el" href="mesh_8h-source.html#l00374">getBoundingBox</a>. </td>
+ </tr>
+</table>
+<a name="o9" doxytag="NL3D::CMeshGeom::_BoneIdComputed"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::_BoneIdComputed<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This boolean is true if the bones id have been passed in the skeleton.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00653">653</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, <a class="el" href="mesh_8cpp-source.html#l00123">CMeshGeom</a>, and <a class="el" href="mesh_8cpp-source.html#l01431">computeBonesId</a>. </td>
+ </tr>
+</table>
+<a name="o10" doxytag="NL3D::CMeshGeom::_BoneIdExtended"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::_BoneIdExtended<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+true if the _BonesIdExt have been computed (for bone Usage).
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00655">655</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, <a class="el" href="mesh_8cpp-source.html#l00123">CMeshGeom</a>, and <a class="el" href="mesh_8cpp-source.html#l01431">computeBonesId</a>. </td>
+ </tr>
+</table>
+<a name="o12" doxytag="NL3D::CMeshGeom::_BonesId"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt;<a class="el" href="memory__common_8h.html#a10">sint32</a>&gt; NL3D::CMeshGeom::_BonesId<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This array give the index in the skeleton of the local bones used. computed at first computeBoneId().
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00660">660</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01524">buildBoneUsageVer3</a>, <a class="el" href="mesh_8cpp-source.html#l01431">computeBonesId</a>, and <a class="el" href="mesh_8h-source.html#l00427">getSkinBoneUsage</a>. </td>
+ </tr>
+</table>
+<a name="o13" doxytag="NL3D::CMeshGeom::_BonesIdExt"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt;<a class="el" href="memory__common_8h.html#a10">sint32</a>&gt; NL3D::CMeshGeom::_BonesIdExt<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Same as _BonesId but with parent of bones added. (used for bone usage).
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00662">662</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01431">computeBonesId</a>, and <a class="el" href="mesh_8cpp-source.html#l01571">updateSkeletonUsage</a>. </td>
+ </tr>
+</table>
+<a name="o11" doxytag="NL3D::CMeshGeom::_BonesName"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt;std::string&gt; NL3D::CMeshGeom::_BonesName<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This array give the name of the local bones used.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00658">658</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, and <a class="el" href="mesh_8cpp-source.html#l01431">computeBonesId</a>. </td>
+ </tr>
+</table>
+<a name="z568_2" doxytag="NL3D::CMeshGeom::_Driver"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRefPtr&lt;<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a>&gt; NL3D::CMeshGeom::_Driver<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This is the driver used to setup the vbuffer hard. error if a mesh has not the same driver in his life.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00670">670</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00520">updateVertexBufferHard</a>, and <a class="el" href="mesh_8cpp-source.html#l00136">~CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="o5" doxytag="NL3D::CMeshGeom::_MatrixBlocks"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt;<a class="el" href="classNL3D_1_1CMeshGeom_1_1CMatrixBlock.html">CMatrixBlock</a>&gt; NL3D::CMeshGeom::_MatrixBlocks<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The matrix blocks.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00644">644</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00455">applyMaterialRemap</a>, <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>, <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, <a class="el" href="mesh_8cpp-source.html#l01524">buildBoneUsageVer3</a>, <a class="el" href="mesh_8cpp-source.html#l01080">buildSkin</a>, <a class="el" href="mesh_8cpp-source.html#l01049">compileRunTime</a>, <a class="el" href="mesh_8cpp-source.html#l01431">computeBonesId</a>, <a class="el" href="mesh_8cpp-source.html#l02002">computeMeshVBHeap</a>, <a class="el" href="mesh_8h-source.html#l00383">getNbMatrixBlock</a>, <a class="el" href="mesh_8h-source.html#l00388">getNbRdrPass</a>, <a class="el" href="mesh_8cpp-source.html#l01925">getNumRdrPasses</a>, <a class="el" href="mesh_8cpp-source.html#l01404">getNumTriangles</a>, <a class="el" href="mesh_8h-source.html#l00403">getRdrPassMaterial</a>, <a class="el" href="mesh_8h-source.html#l00394">getRdrPassPrimitiveBlock</a>, <a class="el" href="mesh_8cpp-source.html#l00153">optimizeTriangleOrder</a>, <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, <a class="el" href="mesh_8cpp-source.html#l01967">renderPass</a>, <a class="el" href="mesh_8cpp-source.html#l00907">renderSimpleWithMaterial</a>, and <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>. </td>
+ </tr>
+</table>
+<a name="o15" doxytag="NL3D::CMeshGeom::_MeshMorpher"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CMeshMorpher.html">CMeshMorpher</a>* NL3D::CMeshGeom::_MeshMorpher<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="mesh_8h-source.html#l00689">689</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, <a class="el" href="mesh_8cpp-source.html#l00123">CMeshGeom</a>, <a class="el" href="mesh_8cpp-source.html#l01049">compileRunTime</a>, <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>, <a class="el" href="mesh_8cpp-source.html#l00446">setBlendShapes</a>, <a class="el" href="mesh_8cpp-source.html#l00520">updateVertexBufferHard</a>, and <a class="el" href="mesh_8cpp-source.html#l00136">~CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="o16" doxytag="NL3D::CMeshGeom::_MeshVertexProgram"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CSmartPtr.html">NLMISC::CSmartPtr</a>&lt;<a class="el" href="classNL3D_1_1IMeshVertexProgram.html">IMeshVertexProgram</a>&gt; NL3D::CMeshGeom::_MeshVertexProgram<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="mesh_8h-source.html#l00693">693</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01590">bkupOriginalSkinVertices</a>, <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, <a class="el" href="mesh_8cpp-source.html#l01049">compileRunTime</a>, <a class="el" href="mesh_8cpp-source.html#l00471">initInstance</a>, <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>, and <a class="el" href="mesh_8cpp-source.html#l01638">restoreOriginalSkinVertices</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NL3D::CMeshGeom::_OriginalSkinNormals"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt;CVector&gt; NL3D::CMeshGeom::_OriginalSkinNormals<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="mesh_8h-source.html#l00636">636</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>, <a class="el" href="mesh_8cpp-source.html#l01590">bkupOriginalSkinVertices</a>, <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>, and <a class="el" href="mesh_8cpp-source.html#l01638">restoreOriginalSkinVertices</a>. </td>
+ </tr>
+</table>
+<a name="o8" doxytag="NL3D::CMeshGeom::_OriginalSkinRestored"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::_OriginalSkinRestored<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This tells if the mesh VBuffer has coorect BindPos vertices.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00650">650</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>, <a class="el" href="mesh_8cpp-source.html#l00123">CMeshGeom</a>, <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, and <a class="el" href="mesh_8cpp-source.html#l01638">restoreOriginalSkinVertices</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NL3D::CMeshGeom::_OriginalSkinVertices"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt;CVector&gt; NL3D::CMeshGeom::_OriginalSkinVertices<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Skinning: this is the list of vertices (mirror of VBuffer), at the bind Pos.
+<p>
+Potentially modified by the mesh morpher
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00635">635</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>, <a class="el" href="mesh_8cpp-source.html#l01590">bkupOriginalSkinVertices</a>, <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>, and <a class="el" href="mesh_8cpp-source.html#l01638">restoreOriginalSkinVertices</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NL3D::CMeshGeom::_OriginalTGSpace"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt;CVector&gt; NL3D::CMeshGeom::_OriginalTGSpace<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="mesh_8h-source.html#l00637">637</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>, <a class="el" href="mesh_8cpp-source.html#l01590">bkupOriginalSkinVertices</a>, <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>, and <a class="el" href="mesh_8cpp-source.html#l01638">restoreOriginalSkinVertices</a>. </td>
+ </tr>
+</table>
+<a name="o14" doxytag="NL3D::CMeshGeom::_PreciseClipping"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::_PreciseClipping<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Estimate if we must do a Precise clipping (ie with bboxes).
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00686">686</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00123">CMeshGeom</a>, and <a class="el" href="mesh_8cpp-source.html#l01049">compileRunTime</a>. </td>
+ </tr>
+</table>
+<a name="o7" doxytag="NL3D::CMeshGeom::_Skinned"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::_Skinned<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This tells if the mesh is correctly skinned.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00648">648</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01590">bkupOriginalSkinVertices</a>, <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, <a class="el" href="mesh_8cpp-source.html#l00123">CMeshGeom</a>, <a class="el" href="mesh_8cpp-source.html#l01049">compileRunTime</a>, <a class="el" href="mesh_8h-source.html#l00415">isSkinned</a>, <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>, <a class="el" href="mesh_8cpp-source.html#l01638">restoreOriginalSkinVertices</a>, and <a class="el" href="mesh_8cpp-source.html#l00520">updateVertexBufferHard</a>. </td>
+ </tr>
+</table>
+<a name="z569_0" doxytag="NL3D::CMeshGeom::_SupportMeshBlockRendering"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::_SupportMeshBlockRendering<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setuped at compileRunTime.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00682">682</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01049">compileRunTime</a>, <a class="el" href="mesh_8cpp-source.html#l01993">getVBHeapInfo</a>, and <a class="el" href="mesh_8cpp-source.html#l01914">supportMeshBlockRendering</a>. </td>
+ </tr>
+</table>
+<a name="o3" doxytag="NL3D::CMeshGeom::_VBuffer"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CVertexBuffer.html">CVertexBuffer</a> NL3D::CMeshGeom::_VBuffer<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+VBuffer of the mesh (potentially modified by the mesh morpher and skinning).
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00640">640</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01690">applySkin</a>, <a class="el" href="mesh_8cpp-source.html#l01930">beginMesh</a>, <a class="el" href="mesh_8cpp-source.html#l01590">bkupOriginalSkinVertices</a>, <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, <a class="el" href="mesh_8cpp-source.html#l02002">computeMeshVBHeap</a>, <a class="el" href="mesh_8h-source.html#l00710">findVBId</a>, <a class="el" href="mesh_8cpp-source.html#l01993">getVBHeapInfo</a>, <a class="el" href="mesh_8h-source.html#l00380">getVertexBuffer</a>, <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, <a class="el" href="mesh_8cpp-source.html#l00907">renderSimpleWithMaterial</a>, <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>, <a class="el" href="mesh_8cpp-source.html#l01638">restoreOriginalSkinVertices</a>, and <a class="el" href="mesh_8cpp-source.html#l00520">updateVertexBufferHard</a>. </td>
+ </tr>
+</table>
+<a name="o4" doxytag="NL3D::CMeshGeom::_VBufferOri"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CVertexBuffer.html">CVertexBuffer</a> NL3D::CMeshGeom::_VBufferOri<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The original VBuffer of the mesh used only if there are blend shapes.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00642">642</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, and <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>. </td>
+ </tr>
+</table>
+<a name="z568_1" doxytag="NL3D::CMeshGeom::_VertexBufferHard"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> CRefPtr&lt;<a class="el" href="classNL3D_1_1IVertexBufferHard.html">IVertexBufferHard</a>&gt; NL3D::CMeshGeom::_VertexBufferHard<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The only one VBufferHard of the mesh. NULL by default.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00668">668</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l01930">beginMesh</a>, <a class="el" href="mesh_8cpp-source.html#l00589">render</a>, <a class="el" href="mesh_8cpp-source.html#l00780">renderSkin</a>, <a class="el" href="mesh_8cpp-source.html#l00520">updateVertexBufferHard</a>, and <a class="el" href="mesh_8cpp-source.html#l00136">~CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="z568_3" doxytag="NL3D::CMeshGeom::_VertexBufferHardDirty"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool NL3D::CMeshGeom::_VertexBufferHardDirty<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This tells if the VBuffer has changed since the last time or not.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh_8h-source.html#l00672">672</a> of file <a class="el" href="mesh_8h-source.html">mesh.h</a>.
+<p>
+Referenced by <a class="el" href="mesh_8cpp-source.html#l00172">build</a>, <a class="el" href="mesh_8cpp-source.html#l00123">CMeshGeom</a>, and <a class="el" href="mesh_8cpp-source.html#l00520">updateVertexBufferHard</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="mesh_8h-source.html">mesh.h</a><li><a class="el" href="mesh_8cpp-source.html">mesh.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>