aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1CMeshBlockManager.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/classNL3D_1_1CMeshBlockManager.html605
1 files changed, 605 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CMeshBlockManager.html b/docs/doxygen/nel/classNL3D_1_1CMeshBlockManager.html
new file mode 100644
index 00000000..00c9db9a
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1CMeshBlockManager.html
@@ -0,0 +1,605 @@
+<!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::CMeshBlockManager Class Reference</h1>A class used to render instances sorted by MeshGeom first, then per material, where possible.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="mesh__block__manager_8h-source.html">mesh_block_manager.h</a>&gt;</code>
+<p>
+<a href="classNL3D_1_1CMeshBlockManager-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<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_1CMeshBlockManager.html#a0">CMeshBlockManager</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>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshBlockManager.html#a1">~CMeshBlockManager</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshBlockManager.html#a2">addInstance</a> (<a class="el" href="classNL3D_1_1IMeshGeom.html">IMeshGeom</a> *meshGeom, <a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> *inst, float polygonCount)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Add an instance of a MeshGeom to render.</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_1CMeshBlockManager.html#a3">flush</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *drv, <a class="el" href="classNL3D_1_1CScene.html">CScene</a> *scene, <a class="el" href="classNL3D_1_1CRenderTrav.html">CRenderTrav</a> *renderTrav)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Flush the manager and effectively render.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">VBHeap part.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshBlockManager.html#z584_0">releaseVBHeaps</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>release all Heaps =&gt; clear memory of meshs registered.</em> <a href="#z584_0">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_1CMeshBlockManager.html#z584_1">addVBHeap</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *drv, <a class="el" href="memory__common_8h.html#a15">uint</a> vertexFormat, <a class="el" href="memory__common_8h.html#a15">uint</a> maxVertices)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Add a Heap for a given vertexFormat.</em> <a href="#z584_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_1CMeshBlockManager.html#z584_2">freeMeshVBHeap</a> (<a class="el" href="classNL3D_1_1IMeshGeom.html">IMeshGeom</a> *mesh)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Called by ~IMeshGeom().</em> <a href="#z584_2">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="memory__common_8h.html#a15">uint</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshBlockManager.html#u0">TVBHeapMap</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Heap Map from vertexFormat to VBHeap Id. NB: do not contains 0th.</em> <a href="#u0">More...</a><em></em></font><br><br></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_1CMeshBlockManager.html#c0">allocateMeshVBHeap</a> (<a class="el" href="classNL3D_1_1IMeshGeom.html">IMeshGeom</a> *mesh)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Try to allocate a MeshGeom into a specific Heap.</em> <a href="#c0">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_1CMeshBlockManager.html#c1">render</a> (<a class="el" href="classNL3D_1_1IMeshGeom.html">IMeshGeom</a> *meshGeom, std::vector&lt; <a class="el" href="structNL3D_1_1CMeshBlockManager_1_1CInstanceInfo.html">CInstanceInfo</a> &gt; &amp;rdrInstances)</td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMeshBlockManager.html#u0">TVBHeapMap</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshBlockManager.html#o0">_VBHeapMap</a></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; <a class="el" href="structNL3D_1_1CMeshBlockManager_1_1CVBHeapBlock.html">CVBHeapBlock</a> * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshBlockManager.html#o1">_VBHeapBlocks</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>List of Heaps.</em> <a href="#o1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CMeshBlockManager.html#o2">_RenderCtx</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A class used to render instances sorted by MeshGeom first, then per material, where possible.
+<p>
+This allow optimisation because less renderState swapping are needed. WARNING: if you add MeshGeom to 2 different <a class="el" href="classNL3D_1_1CMeshBlockManager.html">CMeshBlockManager</a> at same times, it won't work, and will certainly crashes (not checked/assert).
+<p>
+NB VBHeap part works, even if no User interface use it. It don't give greate performance Add, but will may be used.
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Lionel Berenguier , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2002 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__block__manager_8h-source.html#l00056">56</a> of file <a class="el" href="mesh__block__manager_8h-source.html">mesh_block_manager.h</a>.<hr><h2>Member Typedef Documentation</h2>
+<a name="u0" doxytag="NL3D::CMeshBlockManager::TVBHeapMap"></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="memory__common_8h.html#a15">uint</a>&gt; NL3D::CMeshBlockManager::TVBHeapMap<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Heap Map from vertexFormat to VBHeap Id. NB: do not contains 0th.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__block__manager_8h-source.html#l00122">122</a> of file <a class="el" href="mesh__block__manager_8h-source.html">mesh_block_manager.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NL3D::CMeshBlockManager::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"> NL3D::CMeshBlockManager::CMeshBlockManager </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__block__manager_8cpp-source.html#l00044">44</a> of file <a class="el" href="mesh__block__manager_8cpp-source.html">mesh_block_manager.cpp</a>.
+<p>
+References <a class="el" href="mesh__block__manager_8h-source.html#l00137">_RenderCtx</a>, and <a class="el" href="mesh__block__manager_8h-source.html#l00128">_VBHeapBlocks</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NL3D::CMeshBlockManager::~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"> NL3D::CMeshBlockManager::~CMeshBlockManager </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>
+
+<p>
+Definition at line <a class="el" href="mesh__block__manager_8cpp-source.html#l00059">59</a> of file <a class="el" href="mesh__block__manager_8cpp-source.html">mesh_block_manager.cpp</a>.
+<p>
+References <a class="el" href="mesh__block__manager_8h-source.html#l00128">_VBHeapBlocks</a>, and <a class="el" href="mesh__block__manager_8cpp-source.html#l00340">releaseVBHeaps</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a2" doxytag="NL3D::CMeshBlockManager::addInstance"></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::CMeshBlockManager::addInstance </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IMeshGeom.html">IMeshGeom</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>meshGeom</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"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add an instance of a MeshGeom to render.
+<p>
+Only <a class="el" href="classNL3D_1_1CMeshBaseInstance.html">CMeshBaseInstance</a> can be added. For now, only <a class="el" href="classNL3D_1_1CMeshGeom.html">CMeshGeom</a> and <a class="el" href="classNL3D_1_1CMeshMRMGeom.html">CMeshMRMGeom</a> are known to work.
+<p>
+Definition at line <a class="el" href="mesh__block__manager_8cpp-source.html#l00069">69</a> of file <a class="el" href="mesh__block__manager_8cpp-source.html">mesh_block_manager.cpp</a>.
+<p>
+References <a class="el" href="mesh__block__manager_8h-source.html#l00128">_VBHeapBlocks</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00256">allocateMeshVBHeap</a>, and <a class="el" href="mesh__block__manager_8cpp-source.html#l00040">NL3D_MBM_VBHEAP_HEAP_MASK</a>. </td>
+ </tr>
+</table>
+<a name="z584_1" doxytag="NL3D::CMeshBlockManager::addVBHeap"></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::CMeshBlockManager::addVBHeap </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="memory__common_8h.html#a15">uint</a>&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>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>maxVertices</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a Heap for a given vertexFormat.
+<p>
+Any meshGeom added with <a class="el" href="classNL3D_1_1CMeshBlockManager.html#a2">addInstance</a>() which has this vertex Format may fit in this heap. return false and fail if the heap can't be allocated or if the heap with same vertexFormat still exist.
+<p>
+Definition at line <a class="el" href="mesh__block__manager_8cpp-source.html#l00374">374</a> of file <a class="el" href="mesh__block__manager_8cpp-source.html">mesh_block_manager.cpp</a>.
+<p>
+References <a class="el" href="mesh__block__manager_8h-source.html#l00128">_VBHeapBlocks</a>, and <a class="el" href="mesh__block__manager_8h-source.html#l00123">_VBHeapMap</a>. </td>
+ </tr>
+</table>
+<a name="c0" doxytag="NL3D::CMeshBlockManager::allocateMeshVBHeap"></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::CMeshBlockManager::allocateMeshVBHeap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IMeshGeom.html">IMeshGeom</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>mesh</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>
+Try to allocate a MeshGeom into a specific Heap.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__block__manager_8cpp-source.html#l00256">256</a> of file <a class="el" href="mesh__block__manager_8cpp-source.html">mesh_block_manager.cpp</a>.
+<p>
+References <a class="el" href="mesh__block__manager_8h-source.html#l00128">_VBHeapBlocks</a>, <a class="el" href="mesh__block__manager_8h-source.html#l00123">_VBHeapMap</a>, and <a class="el" href="mesh__block__manager_8cpp-source.html#l00038">NL3D_MBM_VBHEAP_MESH_SHIFT</a>.
+<p>
+Referenced by <a class="el" href="mesh__block__manager_8cpp-source.html#l00069">addInstance</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::CMeshBlockManager::flush"></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::CMeshBlockManager::flush </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_1CScene.html">CScene</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>scene</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CRenderTrav.html">CRenderTrav</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>renderTrav</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>
+Flush the manager and effectively render.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__block__manager_8cpp-source.html#l00114">114</a> of file <a class="el" href="mesh__block__manager_8cpp-source.html">mesh_block_manager.cpp</a>.
+<p>
+References <a class="el" href="mesh__block__manager_8h-source.html#l00137">_RenderCtx</a>, <a class="el" href="mesh__block__manager_8h-source.html#l00128">_VBHeapBlocks</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__block__manager_8cpp-source.html#l00179">render</a>. </td>
+ </tr>
+</table>
+<a name="z584_2" doxytag="NL3D::CMeshBlockManager::freeMeshVBHeap"></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::CMeshBlockManager::freeMeshVBHeap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IMeshGeom.html">IMeshGeom</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>mesh</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>
+Called by ~IMeshGeom().
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__block__manager_8cpp-source.html#l00315">315</a> of file <a class="el" href="mesh__block__manager_8cpp-source.html">mesh_block_manager.cpp</a>.
+<p>
+References <a class="el" href="mesh__block__manager_8h-source.html#l00128">_VBHeapBlocks</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00040">NL3D_MBM_VBHEAP_HEAP_MASK</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00039">NL3D_MBM_VBHEAP_MESH_MASK</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00038">NL3D_MBM_VBHEAP_MESH_SHIFT</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>.
+<p>
+Referenced by <a class="el" href="mesh__block__manager_8cpp-source.html#l00340">releaseVBHeaps</a>. </td>
+ </tr>
+</table>
+<a name="z584_0" doxytag="NL3D::CMeshBlockManager::releaseVBHeaps"></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::CMeshBlockManager::releaseVBHeaps </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>
+release all Heaps =&gt; clear memory of meshs registered.
+<p>
+
+<p>
+Definition at line <a class="el" href="mesh__block__manager_8cpp-source.html#l00340">340</a> of file <a class="el" href="mesh__block__manager_8cpp-source.html">mesh_block_manager.cpp</a>.
+<p>
+References <a class="el" href="mesh__block__manager_8h-source.html#l00128">_VBHeapBlocks</a>, <a class="el" href="mesh__block__manager_8h-source.html#l00123">_VBHeapMap</a>, <a class="el" href="common_8h-source.html#l00177">NLMISC::contReset</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00315">freeMeshVBHeap</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>.
+<p>
+Referenced by <a class="el" href="mesh__block__manager_8cpp-source.html#l00059">~CMeshBlockManager</a>. </td>
+ </tr>
+</table>
+<a name="c1" doxytag="NL3D::CMeshBlockManager::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::CMeshBlockManager::render </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IMeshGeom.html">IMeshGeom</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>meshGeom</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>std::vector&lt; <a class="el" href="structNL3D_1_1CMeshBlockManager_1_1CInstanceInfo.html">CInstanceInfo</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>rdrInstances</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__block__manager_8cpp-source.html#l00179">179</a> of file <a class="el" href="mesh__block__manager_8cpp-source.html">mesh_block_manager.cpp</a>.
+<p>
+References <a class="el" href="mesh__block__manager_8h-source.html#l00137">_RenderCtx</a>.
+<p>
+Referenced by <a class="el" href="mesh__block__manager_8cpp-source.html#l00114">flush</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o2" doxytag="NL3D::CMeshBlockManager::_RenderCtx"></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_1CMeshGeomRenderContext.html">CMeshGeomRenderContext</a> NL3D::CMeshBlockManager::_RenderCtx<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__block__manager_8h-source.html#l00137">137</a> of file <a class="el" href="mesh__block__manager_8h-source.html">mesh_block_manager.h</a>.
+<p>
+Referenced by <a class="el" href="mesh__block__manager_8cpp-source.html#l00044">CMeshBlockManager</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00114">flush</a>, and <a class="el" href="mesh__block__manager_8cpp-source.html#l00179">render</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NL3D::CMeshBlockManager::_VBHeapBlocks"></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="structNL3D_1_1CMeshBlockManager_1_1CVBHeapBlock.html">CVBHeapBlock</a>*&gt; NL3D::CMeshBlockManager::_VBHeapBlocks<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+List of Heaps.
+<p>
+NB: 0th heap is special: contains all meshs which can't fit in any VBHeap.
+<p>
+Definition at line <a class="el" href="mesh__block__manager_8h-source.html#l00128">128</a> of file <a class="el" href="mesh__block__manager_8h-source.html">mesh_block_manager.h</a>.
+<p>
+Referenced by <a class="el" href="mesh__block__manager_8cpp-source.html#l00069">addInstance</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00374">addVBHeap</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00256">allocateMeshVBHeap</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00044">CMeshBlockManager</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00114">flush</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00315">freeMeshVBHeap</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00340">releaseVBHeaps</a>, and <a class="el" href="mesh__block__manager_8cpp-source.html#l00059">~CMeshBlockManager</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NL3D::CMeshBlockManager::_VBHeapMap"></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#u0">TVBHeapMap</a> NL3D::CMeshBlockManager::_VBHeapMap<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__block__manager_8h-source.html#l00123">123</a> of file <a class="el" href="mesh__block__manager_8h-source.html">mesh_block_manager.h</a>.
+<p>
+Referenced by <a class="el" href="mesh__block__manager_8cpp-source.html#l00374">addVBHeap</a>, <a class="el" href="mesh__block__manager_8cpp-source.html#l00256">allocateMeshVBHeap</a>, and <a class="el" href="mesh__block__manager_8cpp-source.html#l00340">releaseVBHeaps</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="mesh__block__manager_8h-source.html">mesh_block_manager.h</a><li><a class="el" href="mesh__block__manager_8cpp-source.html">mesh_block_manager.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>