aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/coarse__mesh__manager_8h-source.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/coarse__mesh__manager_8h-source.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/coarse__mesh__manager_8h-source.html')
-rw-r--r--docs/doxygen/nel/coarse__mesh__manager_8h-source.html290
1 files changed, 290 insertions, 0 deletions
diff --git a/docs/doxygen/nel/coarse__mesh__manager_8h-source.html b/docs/doxygen/nel/coarse__mesh__manager_8h-source.html
new file mode 100644
index 00000000..1ae0f6e5
--- /dev/null
+++ b/docs/doxygen/nel/coarse__mesh__manager_8h-source.html
@@ -0,0 +1,290 @@
+<!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>coarse_mesh_manager.h</h1><a href="coarse__mesh__manager_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
+00007 <font class="comment">/* Copyright, 2001 Nevrax Ltd.</font>
+00008 <font class="comment"> *</font>
+00009 <font class="comment"> * This file is part of NEVRAX NEL.</font>
+00010 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font>
+00011 <font class="comment"> * it under the terms of the GNU General Public License as published by</font>
+00012 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font>
+00013 <font class="comment"> * any later version.</font>
+00014 <font class="comment"></font>
+00015 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font>
+00016 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font>
+00017 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>
+00018 <font class="comment"> * General Public License for more details.</font>
+00019 <font class="comment"></font>
+00020 <font class="comment"> * You should have received a copy of the GNU General Public License</font>
+00021 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font>
+00022 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font>
+00023 <font class="comment"> * MA 02111-1307, USA.</font>
+00024 <font class="comment"> */</font>
+00025
+00026 <font class="preprocessor">#ifndef NL_COARSE_MESH_MANAGER_H</font>
+00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_COARSE_MESH_MANAGER_H</font>
+00028 <font class="preprocessor"></font>
+00029 <font class="preprocessor">#include "<a class="code" href="types__nl_8h.html">nel/misc/types_nl.h</a>"</font>
+00030 <font class="preprocessor">#include "<a class="code" href="rgba_8h.html">nel/misc/rgba.h</a>"</font>
+00031
+00032 <font class="preprocessor">#include "<a class="code" href="transform_8h.html">3d/transform.h</a>"</font>
+00033 <font class="preprocessor">#include "<a class="code" href="material_8h.html">3d/material.h</a>"</font>
+00034 <font class="preprocessor">#include "<a class="code" href="3d_2primitive__block_8h.html">3d/primitive_block.h</a>"</font>
+00035 <font class="preprocessor">#include "<a class="code" href="vertex__buffer_8h.html">3d/vertex_buffer.h</a>"</font>
+00036
+00037 <font class="keyword">namespace </font>NL3D
+00038 {
+00039
+00040 <font class="comment">// ***************************************************************************</font>
+00041
+<a name="l00042"></a><a class="code" href="coarse__mesh__manager_8h.html#a0">00042</a> <font class="preprocessor">#define NL3D_COARSEMESH_VERTEXBUFFER_GRANULARITY_SHIFT 3</font>
+<a name="l00043"></a><a class="code" href="coarse__mesh__manager_8h.html#a1">00043</a> <font class="preprocessor"></font><font class="preprocessor">#define NL3D_COARSEMESH_VERTEXBUFFER_GRANULARITY_MASK (NL3D_COARSEMESH_VERTEXBUFFER_GRANULARITY-1)</font>
+<a name="l00044"></a><a class="code" href="coarse__mesh__manager_8h.html#a2">00044</a> <font class="preprocessor"></font><font class="preprocessor">#define NL3D_COARSEMESH_VERTEXBUFFER_GRANULARITY (1&lt;&lt;NL3D_COARSEMESH_VERTEXBUFFER_GRANULARITY_SHIFT)</font>
+<a name="l00045"></a><a class="code" href="coarse__mesh__manager_8h.html#a3">00045</a> <font class="preprocessor"></font><font class="preprocessor">#define NL3D_COARSEMESH_VERTEXBUFFER_RESERVE 10</font>
+00046 <font class="preprocessor"></font><font class="comment">// The vertex Format used by the coarseMesh manager</font>
+<a name="l00047"></a><a class="code" href="coarse__mesh__manager_8h.html#a4">00047</a> <font class="preprocessor">#define NL3D_COARSEMESH_VERTEX_FORMAT_MGR (CVertexBuffer::PositionFlag|CVertexBuffer::TexCoord0Flag|CVertexBuffer::PrimaryColorFlag)</font>
+00048 <font class="preprocessor"></font><font class="comment">// The Vertex Format used for export CoarseMesh. MUST NOT HAVE color (important for material coloring/alphaTrans)</font>
+<a name="l00049"></a><a class="code" href="coarse__mesh__manager_8h.html#a5">00049</a> <font class="preprocessor">#define NL3D_COARSEMESH_VERTEX_FORMAT_EXPORT (CVertexBuffer::PositionFlag|CVertexBuffer::TexCoord0Flag)</font>
+<a name="l00050"></a><a class="code" href="coarse__mesh__manager_8h.html#a6">00050</a> <font class="preprocessor"></font><font class="preprocessor">#define NL3D_COARSEMESH_PRIMITIVE_BLOCK_SIZE 100</font>
+00051 <font class="preprocessor"></font>
+00052 <font class="comment">// ***************************************************************************</font>
+00053
+00054 <font class="keyword">class </font>CMeshGeom;
+00055 <font class="keyword">class </font>CTransformShape;
+00056 <font class="keyword">class </font>CTextureFile;
+00057
+00058 <font class="comment">// ***************************************************************************</font>
+00059
+00060 <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CClassId.html">NLMISC::CClassId</a> <a class="code" href="namespaceNL3D.html#a27">CoarseMeshManagerId</a>=<a class="code" href="classNLMISC_1_1CClassId.html">NLMISC::CClassId</a>(0x77554f87, 0x5bb373d8);
+00061
+00062 <font class="comment">// ***************************************************************************</font>
+00063
+<a name="l00103"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager.html">00103</a> <font class="keyword">class </font>CCoarseMeshManager : <font class="keyword">public</font> CTransform
+00104 {
+00105 <font class="keyword">public</font>:
+00106
+00107 <font class="keyword">enum</font>
+00108 {
+00109 <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#s1s0">CantAddCoarseMesh</a> = 0xffffffff
+00110 };
+00111
+00113 <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#a0">CCoarseMeshManager</a> ();
+00114
+00116 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#a1">setTextureFile</a> (<font class="keyword">const</font> <font class="keywordtype">char</font>* <a class="code" href="cf__lexical_8cpp.html#a95">file</a>);
+00117
+00122 uint64 <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#a2">addMesh</a> (<font class="keyword">const</font> CMeshGeom&amp; geom);
+00123
+00127 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#a3">removeMesh</a> (uint64 <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>);
+00128
+00132 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#a4">setMatrixMesh</a> (uint64 <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>, <font class="keyword">const</font> CMeshGeom&amp; geom, <font class="keyword">const</font> CMatrix&amp; <a class="code" href="driver__opengl__extension__def_8h.html#a370">matrix</a>);
+00133
+00137 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#a5">setColorMesh</a> (uint64 <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>, <font class="keyword">const</font> CMeshGeom&amp; geom, <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> color);
+00138
+00142 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#a6">render</a> (IDriver *drv);
+00143
+00147 <font class="keyword">static</font> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#d0">registerBasic</a>();
+00148
+<a name="l00152"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager.html#a7">00152</a> CMaterial &amp;<a class="code" href="classNL3D_1_1CCoarseMeshManager.html#a7">getMaterial</a>() {<font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#o2">_Material</a>;}
+00153
+00154 <font class="keyword">private</font>:
+00155
+<a name="l00159"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager.html#f0">00159</a> <font class="keyword">static</font> uint64 <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#f0">buildId</a> (uint32 renderPassId, uint32 renderPassMeshId)
+00160 {
+00161 <font class="keywordflow">return</font> ((uint64)renderPassId|(((uint64)renderPassMeshId)&lt;&lt;32));
+00162 }
+00163
+<a name="l00167"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager.html#f1">00167</a> <font class="keyword">static</font> uint32 <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#f1">getRenderPassId</a> (uint64 <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>)
+00168 {
+00169 <font class="keywordflow">return</font> (uint32)(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>&amp;0xFFFFFFFF);
+00170 }
+00171
+<a name="l00175"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager.html#f2">00175</a> <font class="keyword">static</font> uint32 <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#f2">getRenderPassMeshId</a> (uint64 <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>)
+00176 {
+00177 <font class="keywordflow">return</font> (uint32)(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>&gt;&gt;32);
+00178 }
+00179
+<a name="l00180"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html">00180</a> <font class="keyword">class </font>CRenderPass
+00181 {
+00182 <font class="keyword">public</font>:
+00183 <font class="keyword">enum</font>
+00184 {
+00185 <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#s1s0">CantAddMesh</a> = 0xffffffff
+00186 };
+00187
+00191 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#a0">init</a> (uint blockSize);
+00192
+00196 uint32 <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#a1">addMesh</a> (<font class="keyword">const</font> CMeshGeom&amp; geom);
+00197
+00201 uint <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#a2">getTriCount</a> (<font class="keyword">const</font> CMeshGeom&amp; geom);
+00202
+00206 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#a3">removeMesh</a> (uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>);
+00207
+00211 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#a4">setMatrixMesh</a> (uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>, <font class="keyword">const</font> CMeshGeom&amp; geom, <font class="keyword">const</font> CMatrix&amp; <a class="code" href="driver__opengl__extension__def_8h.html#a370">matrix</a>);
+00212
+00216 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#a5">setColorMesh</a> (uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>, uint nVertices, <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> color);
+00217
+00221 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#a6">render</a> (IDriver *drv, CMaterial&amp; mat);
+00222 <font class="keyword">private</font>:
+00223
+<a name="l00227"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#f0">00227</a> <font class="keyword">static</font> uint32 <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#f0">buildId</a> (uint16 primitiveBlockId, uint16 vertexBufferId)
+00228 {
+00229 <font class="keywordflow">return</font> ((uint32)primitiveBlockId|(((uint32)vertexBufferId)&lt;&lt;16));
+00230 }
+00231
+<a name="l00235"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#f1">00235</a> <font class="keyword">static</font> uint16 <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#f1">getPrimitiveblockId</a> (uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>)
+00236 {
+00237 <font class="keywordflow">return</font> (uint16)(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a> &amp; 0xFFFF);
+00238 }
+00239
+<a name="l00243"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#f2">00243</a> <font class="keyword">static</font> uint16 <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#f2">getVertexBufferId</a> (uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>)
+00244 {
+00245 <font class="keywordflow">return</font> (uint16)(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>&gt;&gt;16);
+00246 }
+00247
+<a name="l00251"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo.html">00251</a> <font class="keyword">class </font>CPrimitiveBlockInfo
+00252 {
+00253 <font class="keyword">public</font>:
+00254 <font class="keyword">enum</font>
+00255 {
+00256 <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo.html#s2s0">Failed</a> = 0,
+00257 <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo.html#s2s1">Success</a> = 1,
+00258 };
+00259
+00263 uint <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo.html#a0">addMesh</a> (uint16 vertexBufferId, <font class="keyword">const</font> CMeshGeom&amp; geom, uint32 firstVertexIndex, uint triCount);
+00264
+00268 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo.html#a1">removeMesh</a> (uint16 vertexBufferId);
+00269
+<a name="l00271"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html">00271</a> <font class="keyword">class </font>CMeshInfo
+00272 {
+00273 <font class="keyword">public</font>:
+<a name="l00275"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html#a0">00275</a> <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html#a0">CMeshInfo</a> (uint <a class="code" href="driver__opengl__extension__def_8h.html#a378">offset</a>, uint length, uint16 vertexBufferId)
+00276 {
+00277 <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html#m0">Offset</a>=<a class="code" href="driver__opengl__extension__def_8h.html#a378">offset</a>;
+00278 <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html#m1">Length</a>=length;
+00279 <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html#m2">VertexBufferId</a>=vertexBufferId;
+00280 }
+00281
+<a name="l00283"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html#m0">00283</a> uint <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html#m0">Offset</a>;
+00284
+<a name="l00286"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html#m1">00286</a> uint <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html#m1">Length</a>;
+00287
+<a name="l00289"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html#m2">00289</a> uint16 <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo_1_1CMeshInfo.html#m2">VertexBufferId</a>;
+00290 };
+00291
+00293 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo.html#a2">init</a> (uint size);
+00294
+<a name="l00296"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo.html#m0">00296</a> CPrimitiveBlock <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo.html#m0">PrimitiveBlock</a>;
+00297
+<a name="l00299"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo.html#m1">00299</a> <a class="code" href="classstd_1_1list.html">std::list&lt; CMeshInfo &gt;</a> <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass_1_1CPrimitiveBlockInfo.html#m1">MeshIdList</a>;
+00300 };
+00301
+<a name="l00302"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#o0">00302</a> uint <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#o0">VBlockSize</a>;
+<a name="l00303"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#o1">00303</a> CVertexBuffer <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#o1">VBuffer</a>;
+<a name="l00304"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#o2">00304</a> <a class="code" href="classstd_1_1list.html">std::list&lt; uint16 &gt;</a> <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#o2">FreeVBlock</a>;
+<a name="l00305"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#o3">00305</a> <a class="code" href="classstd_1_1list.html">std::list&lt; CPrimitiveBlockInfo &gt;</a> <a class="code" href="classNL3D_1_1CCoarseMeshManager_1_1CRenderPass.html#o3">PrimitiveBlockInfoList</a>;
+00306 };
+00307
+00308 <font class="comment">// Indexes allocation</font>
+<a name="l00309"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager.html#u0">00309</a> <font class="keyword">typedef</font> std::map&lt; uint, CRenderPass &gt; <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#u0">TRenderingPassMap</a>;
+<a name="l00310"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager.html#o0">00310</a> <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#u0">TRenderingPassMap</a> <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#o0">_RenderPass</a>;
+00311
+00312 <font class="comment">// The unique texture used by all the coarse object inserted in the container.</font>
+<a name="l00313"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager.html#o1">00313</a> CSmartPtr&lt;CTextureFile&gt; <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#o1">_Texture</a>;
+00314
+00315 <font class="comment">// The unique material used by all the coarse object inserted in the container.</font>
+<a name="l00316"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager.html#o2">00316</a> CMaterial <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#o2">_Material</a>;
+00317
+<a name="l00318"></a><a class="code" href="classNL3D_1_1CCoarseMeshManager.html#f3">00318</a> <font class="keyword">static</font> <a class="code" href="classNL3D_1_1IModel.html#b0">IModel</a> *<a class="code" href="classNL3D_1_1CCoarseMeshManager.html#f3">creator</a>() {<font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNL3D_1_1CCoarseMeshManager.html#a0">CCoarseMeshManager</a>;}
+00319 };
+00320
+00321 <font class="comment">// ***************************************************************************</font>
+00322
+<a name="l00328"></a><a class="code" href="classNL3D_1_1CCoarseMeshClipObs.html">00328</a> <font class="keyword">class </font>CCoarseMeshClipObs : <font class="keyword">public</font> CTransformClipObs
+00329 {
+00330 <font class="keyword">public</font>:
+00331
+00333 <font class="comment">// @{</font>
+00334 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNL3D_1_1CCoarseMeshClipObs.html#z398_0">clip</a>(<a class="code" href="classNL3D_1_1IBaseClipObs.html#a0">IBaseClipObs</a> *caller);
+00335 <font class="comment">// @}</font>
+00336
+00337 <font class="comment">// The creator.</font>
+<a name="l00338"></a><a class="code" href="classNL3D_1_1CCoarseMeshClipObs.html#d0">00338</a> <font class="keyword">static</font> <a class="code" href="classNL3D_1_1IObs.html#a0">IObs</a> *<a class="code" href="classNL3D_1_1CCoarseMeshClipObs.html#d0">creator</a>() {<font class="keywordflow">return</font> <font class="keyword">new</font> CCoarseMeshClipObs;}
+00339 };
+00340
+00341 } <font class="comment">// NL3D</font>
+00342
+00343
+00344 <font class="preprocessor">#endif // NL_COARSE_MESH_MANAGER_H</font>
+00345 <font class="preprocessor"></font>
+00346 <font class="comment">/* End of coarse_mesh_manager.h */</font>
+</pre></div>
+
+<!-- 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>