aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1IMeshGeom.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1IMeshGeom.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/classNL3D_1_1IMeshGeom.html1030
1 files changed, 1030 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1IMeshGeom.html b/docs/doxygen/nel/classNL3D_1_1IMeshGeom.html
new file mode 100644
index 00000000..59b56d28
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1IMeshGeom.html
@@ -0,0 +1,1030 @@
+<!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::IMeshGeom Class Reference</h1>Interface for MeshGeom.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::IMeshGeom:
+<p><center><img src="classNL3D_1_1IMeshGeom.gif" usemap="#NL3D::IMeshGeom_map" border="0"></center>
+<map name="NL3D::IMeshGeom_map">
+<area href="classNLMISC_1_1IStreamable.html" alt="NLMISC::IStreamable" shape="rect" coords="81,56,233,80">
+<area href="classNLMISC_1_1IClassable.html" alt="NLMISC::IClassable" shape="rect" coords="81,0,233,24">
+<area href="classNL3D_1_1CMeshGeom.html" alt="NL3D::CMeshGeom" shape="rect" coords="0,168,152,192">
+<area href="classNL3D_1_1CMeshMRMGeom.html" alt="NL3D::CMeshMRMGeom" shape="rect" coords="162,168,314,192">
+</map>
+<a href="classNL3D_1_1IMeshGeom-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Mesh Block Render access</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a10">sint32</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1IMeshGeom.html#z587_0">_RootInstanceId</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This is the head of the list of instances to render in the <a class="el" href="classNL3D_1_1CMeshBlockManager.html">CMeshBlockManager</a>. -1 if NULL.</em> <a href="#z587_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMeshBlockManager.html">CMeshBlockManager</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1IMeshGeom.html#z587_1">_MeshBlockManager</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The manager which owns our VBHeap data. NULL means manager must try to setup VBHeap.</em> <a href="#z587_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_1IMeshGeom.html#z587_2">_MeshVBHeapId</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>This is the Heap Id setuped in <a class="el" href="classNL3D_1_1CMeshBlockManager.html#c0">CMeshBlockManager::allocateMeshVBHeap</a>().</em> <a href="#z587_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_1IMeshGeom.html#z587_3">_MeshVBHeapIndexStart</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Delta of index for mesh into VBHeap.</em> <a href="#z587_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1IMeshGeom.html#z587_4">CMeshBlockManager</a></td></tr>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1IMeshGeom.html#s5">TRenderFlag</a> { <br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1IMeshGeom.html#s5s0">RenderOpaqueMaterial</a> = 1,
+<a class="el" href="classNL3D_1_1IMeshGeom.html#s5s1">RenderTransparentMaterial</a> = 2,
+<a class="el" href="classNL3D_1_1IMeshGeom.html#s5s2">RenderPassOpaque</a> = 4,
+<a class="el" href="classNL3D_1_1IMeshGeom.html#s5s3">RenderGlobalAlpha</a> = 8,
+<br>
+&nbsp;&nbsp;<a class="el" href="classNL3D_1_1IMeshGeom.html#s5s4">RenderGADisableZWrite</a> = 16
+<br>
+ }</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Render Flags, used in render.</em> <a href="#s5">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_1IMeshGeom.html#a0">IMeshGeom</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_1IMeshGeom.html#a1">~IMeshGeom</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>dtor.</em> <a href="#a1">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_1IMeshGeom.html#a2">initInstance</a> (<a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> *mbi)=0</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>store usefull information for this meshGeom in the instance.</em> <a href="#a2">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_1IMeshGeom.html#a3">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 shape with a pyramid.</em> <a href="#a3">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_1IMeshGeom.html#a4">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)=0</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classNL3D_1_1IMeshGeom.html#a4">render</a>() this meshGeom in a driver, with the specified TransformShape instance information.</em> <a href="#a4">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_1IMeshGeom.html#a5">renderSkin</a> (<a class="el" href="classNL3D_1_1CTransformShape.html">CTransformShape</a> *trans, float alphaMRM)=0</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>render this meshGeom as a skin, with the specified TransformShape instance information (which gives the driver) NB: trans-&gt;isSkinned() is ensured to be true.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Load balancing methods</div></td></tr>
+<tr><td nowrap align=right valign=top>virtual float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1IMeshGeom.html#z585_0">getNumTriangles</a> (float distance)=0</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="#z585_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual const <a class="el" href="classNLMISC_1_1CAABBoxExt.html">NLMISC::CAABBoxExt</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1IMeshGeom.html#z585_1">getBoundingBox</a> () const=0</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>get the extended axis aligned bounding box of the mesh.</em> <a href="#z585_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Mesh Block Render Interface</div></td></tr>
+<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1IMeshGeom.html#z586_0">supportMeshBlockRendering</a> () const=0</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>true if this meshGeom support meshBlock rendering.</em> <a href="#z586_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_1IMeshGeom.html#z586_1">sortPerMaterial</a> () const=0</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>true if the sort criterion must be by material.</em> <a href="#z586_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_1IMeshGeom.html#z586_2">getNumRdrPasses</a> () const=0</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>return the number of renderPasses for this mesh.</em> <a href="#z586_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_1IMeshGeom.html#z586_3">beginMesh</a> (<a class="el" href="classNL3D_1_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a> &amp;rdrCtx)=0</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="#z586_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_1IMeshGeom.html#z586_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)=0</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="#z586_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_1IMeshGeom.html#z586_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)=0</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="#z586_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_1IMeshGeom.html#z586_6">endMesh</a> (<a class="el" href="classNL3D_1_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a> &amp;rdrCtx)=0</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="#z586_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_1IMeshGeom.html#z586_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="#z586_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_1IMeshGeom.html#z586_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="#z586_8">More...</a><em></em></font><br><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Interface for MeshGeom.
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Lionel Berenguier , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2001 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__geom_8h-source.html#l00077">77</a> of file <a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a>.<hr><h2>Member Enumeration Documentation</h2>
+<a name="s5" doxytag="NL3D::IMeshGeom::TRenderFlag"></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::IMeshGeom::TRenderFlag
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Render Flags, used in render.
+<p>
+<dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="s5s0" doxytag="RenderOpaqueMaterial"></a><em>RenderOpaqueMaterial</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s5s1" doxytag="RenderTransparentMaterial"></a><em>RenderTransparentMaterial</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s5s2" doxytag="RenderPassOpaque"></a><em>RenderPassOpaque</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s5s3" doxytag="RenderGlobalAlpha"></a><em>RenderGlobalAlpha</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s5s4" doxytag="RenderGADisableZWrite"></a><em>RenderGADisableZWrite</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="mesh__geom_8h-source.html#l00082">82</a> of file <a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NL3D::IMeshGeom::IMeshGeom"></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::IMeshGeom::IMeshGeom </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__geom_8cpp-source.html#l00037">37</a> of file <a class="el" href="mesh__geom_8cpp-source.html">mesh_geom.cpp</a>.
+<p>
+References <a class="el" href="mesh__geom_8h-source.html#l00211">_MeshBlockManager</a>, <a class="el" href="mesh__geom_8h-source.html#l00213">_MeshVBHeapId</a>, and <a class="el" href="mesh__geom_8h-source.html#l00208">_RootInstanceId</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NL3D::IMeshGeom::~IMeshGeom"></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::IMeshGeom::~IMeshGeom </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>
+dtor.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__geom_8cpp-source.html#l00045">45</a> of file <a class="el" href="mesh__geom_8cpp-source.html">mesh_geom.cpp</a>.
+<p>
+References <a class="el" href="mesh__geom_8h-source.html#l00211">_MeshBlockManager</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="z586_4" doxytag="NL3D::IMeshGeom::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"> virtual void NL3D::IMeshGeom::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> [pure 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>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z567_4">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="z586_3" doxytag="NL3D::IMeshGeom::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"> virtual void NL3D::IMeshGeom::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> [pure 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>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z567_3">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::IMeshGeom::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"> virtual bool NL3D::IMeshGeom::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> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+clip this shape with a pyramid.
+<p>
+the pyramid is given in world space.The world matrix of the object is given. <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>pyramid</em>&nbsp;</td><td>
+the clipping polytope, planes are normalized. </td></tr>
+<tr><td valign=top><em>worldMatrix</em>&nbsp;</td><td>
+the world matrix of the instance. </td></tr>
+</table>
+</dl><dl compact><dt><b>
+Returns: </b><dd>
+true if the object is visible, false otherwise. The default behavior is to return true (never clipped). </dl>
+<p>
+Reimplemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z564_1">NL3D::CMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh__geom_8h-source.html#l00110">110</a> of file <a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a>. </td>
+ </tr>
+</table>
+<a name="z586_8" doxytag="NL3D::IMeshGeom::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"> virtual void NL3D::IMeshGeom::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> [inline, 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 in <a class="el" href="classNL3D_1_1CMeshGeom.html#z567_8">NL3D::CMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh__geom_8h-source.html#l00195">195</a> of file <a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a>. </td>
+ </tr>
+</table>
+<a name="z586_6" doxytag="NL3D::IMeshGeom::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"> virtual void NL3D::IMeshGeom::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> [pure 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>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z567_6">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="z585_1" doxytag="NL3D::IMeshGeom::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"> virtual const <a class="el" href="classNLMISC_1_1CAABBoxExt.html">NLMISC::CAABBoxExt</a>&amp; NL3D::IMeshGeom::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> [pure 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>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z565_0">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="z586_2" doxytag="NL3D::IMeshGeom::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"> virtual <a class="el" href="memory__common_8h.html#a15">uint</a> NL3D::IMeshGeom::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> [pure 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>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z567_2">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="z585_0" doxytag="NL3D::IMeshGeom::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"> virtual float NL3D::IMeshGeom::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> [pure 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>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z564_4">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="z586_7" doxytag="NL3D::IMeshGeom::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"> virtual bool NL3D::IMeshGeom::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> [inline, 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 in <a class="el" href="classNL3D_1_1CMeshGeom.html#z567_7">NL3D::CMeshGeom</a>.
+<p>
+Definition at line <a class="el" href="mesh__geom_8h-source.html#l00188">188</a> of file <a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NL3D::IMeshGeom::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"> virtual void NL3D::IMeshGeom::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> [pure virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+store usefull information for this meshGeom in the instance.
+<p>
+Used for <a class="el" href="classNL3D_1_1IMeshVertexProgram.html">IMeshVertexProgram</a> as example
+<p>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z564_0">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NL3D::IMeshGeom::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"> virtual void NL3D::IMeshGeom::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> [pure 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_1IMeshGeom.html#a4">render</a>() this meshGeom in a driver, with the specified TransformShape instance information.
+<p>
+NB: the meshGeom is ensured to not be skinned to a skeleton, but <a class="el" href="classNL3D_1_1CMeshGeom.html">CMeshGeom</a> may still have skin information.
+<p>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z564_2">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="z586_5" doxytag="NL3D::IMeshGeom::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"> virtual void NL3D::IMeshGeom::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> [pure 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>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z567_5">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NL3D::IMeshGeom::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"> virtual void NL3D::IMeshGeom::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> [pure virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+render this meshGeom as a skin, with the specified TransformShape instance information (which gives the driver) NB: trans-&gt;isSkinned() is ensured to be true.
+<p>
+All the materials must be rendered.
+<p>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z564_3">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="z586_1" doxytag="NL3D::IMeshGeom::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"> virtual bool NL3D::IMeshGeom::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> [pure 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>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z567_1">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="z586_0" doxytag="NL3D::IMeshGeom::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"> virtual bool NL3D::IMeshGeom::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> [pure 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>
+eg: return false if skinned/meshMorphed.
+<p>
+Implemented in <a class="el" href="classNL3D_1_1CMeshGeom.html#z567_0">NL3D::CMeshGeom</a>. </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a name="z587_4" doxytag="NL3D::IMeshGeom::CMeshBlockManager"></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"> friend class CMeshBlockManager<code> [friend]</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__geom_8h-source.html#l00205">205</a> of file <a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="z587_1" doxytag="NL3D::IMeshGeom::_MeshBlockManager"></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_1CMeshBlockManager.html">CMeshBlockManager</a>* NL3D::IMeshGeom::_MeshBlockManager<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The manager which owns our VBHeap data. NULL means manager must try to setup VBHeap.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__geom_8h-source.html#l00211">211</a> of file <a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a>.
+<p>
+Referenced by <a class="el" href="mesh__geom_8cpp-source.html#l00037">IMeshGeom</a>, and <a class="el" href="mesh__geom_8cpp-source.html#l00045">~IMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="z587_2" doxytag="NL3D::IMeshGeom::_MeshVBHeapId"></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::IMeshGeom::_MeshVBHeapId<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This is the Heap Id setuped in <a class="el" href="classNL3D_1_1CMeshBlockManager.html#c0">CMeshBlockManager::allocateMeshVBHeap</a>().
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__geom_8h-source.html#l00213">213</a> of file <a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a>.
+<p>
+Referenced by <a class="el" href="mesh__geom_8cpp-source.html#l00037">IMeshGeom</a>. </td>
+ </tr>
+</table>
+<a name="z587_3" doxytag="NL3D::IMeshGeom::_MeshVBHeapIndexStart"></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::IMeshGeom::_MeshVBHeapIndexStart<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Delta of index for mesh into VBHeap.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__geom_8h-source.html#l00215">215</a> of file <a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a>. </td>
+ </tr>
+</table>
+<a name="z587_0" doxytag="NL3D::IMeshGeom::_RootInstanceId"></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#a10">sint32</a> NL3D::IMeshGeom::_RootInstanceId<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This is the head of the list of instances to render in the <a class="el" href="classNL3D_1_1CMeshBlockManager.html">CMeshBlockManager</a>. -1 if NULL.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__geom_8h-source.html#l00208">208</a> of file <a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a>.
+<p>
+Referenced by <a class="el" href="mesh__geom_8cpp-source.html#l00037">IMeshGeom</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="mesh__geom_8h-source.html">mesh_geom.h</a><li><a class="el" href="mesh__geom_8cpp-source.html">mesh_geom.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>