aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1CPatchDLMContext.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_1CPatchDLMContext.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_1CPatchDLMContext.html1401
1 files changed, 1401 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CPatchDLMContext.html b/docs/doxygen/nel/classNL3D_1_1CPatchDLMContext.html
new file mode 100644
index 00000000..8bb8557b
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1CPatchDLMContext.html
@@ -0,0 +1,1401 @@
+<!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::CPatchDLMContext Class Reference</h1>A Dynamic LightMap (DLM) context for a patch.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CPatchDLMContext:
+<p><center><img src="classNL3D_1_1CPatchDLMContext.gif" usemap="#NL3D::CPatchDLMContext_map" border="0"></center>
+<map name="NL3D::CPatchDLMContext_map">
+<area href="classNL3D_1_1CTessNodeList.html" alt="NL3D::CTessNodeList" shape="rect" coords="0,0,160,24">
+</map>
+<a href="classNL3D_1_1CPatchDLMContext-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<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_1CPatchDLMContext.html#s4">TCompileType</a> { <a class="el" href="classNL3D_1_1CPatchDLMContext.html#s4s0">ModulateTileColor</a> = 0,
+<a class="el" href="classNL3D_1_1CPatchDLMContext.html#s4s1">ModulateTextureFar</a>,
+<a class="el" href="classNL3D_1_1CPatchDLMContext.html#s4s2">ModulateConstant</a>,
+<a class="el" href="classNL3D_1_1CPatchDLMContext.html#s4s3">NoModulate</a>
+ }</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>see <a class="el" href="classNL3D_1_1CPatchDLMContext.html#a5">compileLighting</a>().</em> <a href="#s4">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_1CPatchDLMContext.html#a0">CPatchDLMContext</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_1CPatchDLMContext.html#a1">~CPatchDLMContext</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Destructor: lightmap is released from _DLMTexture.</em> <a href="#a1">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_1CPatchDLMContext.html#a2">generate</a> (<a class="el" href="classNL3D_1_1CPatch.html">CPatch</a> *patch, <a class="el" href="classNL3D_1_1CTextureDLM.html">CTextureDLM</a> *textureDLM, <a class="el" href="classNL3D_1_1CPatchDLMContextList.html">CPatchDLMContextList</a> *ctxList)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>generate: link to patch and allocate texture space, compile vertices etc...</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_1CPatchDLMContext.html#a3">clearLighting</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Fill texture space with Black: RAM texture is updated.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#a4">addPointLightInfluence</a> (const <a class="el" href="classNL3D_1_1CPatchDLMPointLight.html">CPatchDLMPointLight</a> &amp;pl)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Add a pointLight influence to the lighting: RAM texture is updated.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#a5">compileLighting</a> (<a class="el" href="classNL3D_1_1CPatchDLMContext.html#s4">TCompileType</a> compType, <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> modulateCte=<a class="el" href="classNLMISC_1_1CRGBA.html#p7">NLMISC::CRGBA::White</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>update VRAM texture with RAM texture.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CPatch.html">CPatch</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#a6">getPatch</a> () const</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_1CPatchDLMContext.html#a7">getMemorySize</a> () const</td></tr>
+<tr><td colspan=2><br><h2>Public Attributes</h2></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_1CPatchDLMContext.html#m0">TextPosX</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>DLM info The position and size of the DLM in the texture, in pixels.</em> <a href="#m0">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_1CPatchDLMContext.html#m1">TextPosY</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>DLM info The position and size of the DLM in the texture, in pixels.</em> <a href="#m1">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_1CPatchDLMContext.html#m2">Width</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>DLM info The position and size of the DLM in the texture, in pixels.</em> <a href="#m2">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_1CPatchDLMContext.html#m3">Height</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>DLM info The position and size of the DLM in the texture, in pixels.</em> <a href="#m3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#m4">DLMUScale</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Mapping to this rectangle from 0-1 basis.</em> <a href="#m4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#m5">DLMVScale</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Mapping to this rectangle from 0-1 basis.</em> <a href="#m5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#m6">DLMUBias</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Mapping to this rectangle from 0-1 basis.</em> <a href="#m6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#m7">DLMVBias</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Mapping to this rectangle from 0-1 basis.</em> <a href="#m7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#m8">MinU8</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>texture coordinate bound in 8 bits. Important for Vegetable special DLM mapping.</em> <a href="#m8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#m9">MaxU8</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>texture coordinate bound in 8 bits. Important for Vegetable special DLM mapping.</em> <a href="#m9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#m10">MinV8</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#m11">MaxV8</a></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_1CPatchDLMContext.html#m12">OldPointLightCount</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Lighting Process: number of light contribution to this patch in last rneder, and in cur Render.</em> <a href="#m12">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_1CPatchDLMContext.html#m13">CurPointLightCount</a></td></tr>
+<tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#c0">computeTextureFar</a> ()</td></tr>
+<tr><td colspan=2><br><h2>Static Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>const CRGBA *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#f0">computeTileFarSrcDeltas</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> nRot, bool is256x256, <a class="el" href="memory__common_8h.html#a7">uint8</a> uvOff, const CRGBA *srcPixel, <a class="el" href="memory__common_8h.html#a14">sint</a> &amp;srcDeltaX, <a class="el" href="memory__common_8h.html#a14">sint</a> &amp;srcDeltaY)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#f1">copyTileToTexture</a> (const CRGBA *srcPixel, <a class="el" href="memory__common_8h.html#a14">sint</a> srcDeltaX, <a class="el" href="memory__common_8h.html#a14">sint</a> srcDeltaY, CRGBA *dstPixel, <a class="el" href="memory__common_8h.html#a15">uint</a> dstStride)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#f2">blendTileToTexture</a> (const CRGBA *srcPixel, <a class="el" href="memory__common_8h.html#a14">sint</a> srcDeltaX, <a class="el" href="memory__common_8h.html#a14">sint</a> srcDeltaY, CRGBA *dstPixel, <a class="el" href="memory__common_8h.html#a15">uint</a> dstStride)</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_1CPatch.html">CPatch</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#o0">_Patch</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The patch which owns us.</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CTextureDLM.html">CTextureDLM</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#o1">_DLMTexture</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The DLM texture (only one per landscape).</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_1CPatchDLMContextList.html">CPatchDLMContextList</a> *&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#o2">_DLMContextList</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CObjectVector.html">NLMISC::CObjectVector</a>&lt; <a class="el" href="structNL3D_1_1CPatchDLMContext_1_1CVertex.html">CVertex</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#o3">_Vertices</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Bezier Patch Array information: Width*Height.</em> <a href="#o3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CObjectVector.html">NLMISC::CObjectVector</a>&lt; CRGBA &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#o4">_LightMap</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The computed lightmap: Width*Height.</em> <a href="#o4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CObjectVector.html">NLMISC::CObjectVector</a>&lt; <a class="el" href="structNL3D_1_1CPatchDLMContext_1_1CCluster.html">CCluster</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#o5">_Clusters</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Bounding Sphere QuadTree (with NSkips paradigm).</em> <a href="#o5">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_1CPatchDLMContext.html#o6">_IsSrcTextureFullBlack</a></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#o7">_IsDstTextureFullBlack</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CObjectVector.html">NLMISC::CObjectVector</a>&lt; <a class="el" href="memory__common_8h.html#a9">uint16</a>,<br>
+ false &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#o8">_LowResTileColors</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CObjectVector.html">NLMISC::CObjectVector</a>&lt; CRGBA &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CPatchDLMContext.html#o9">_TextureFar</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The TextureFar (at tile level or less), which is always computed at <a class="el" href="classNL3D_1_1CPatchDLMContext.html#a2">generate</a>().</em> <a href="#o9">More...</a><em></em></font><br><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A Dynamic LightMap (DLM) context for a patch.
+<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="patchdlm__context_8h-source.html#l00100">100</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.<hr><h2>Member Enumeration Documentation</h2>
+<a name="s4" doxytag="NL3D::CPatchDLMContext::TCompileType"></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::CPatchDLMContext::TCompileType
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+see <a class="el" href="classNL3D_1_1CPatchDLMContext.html#a5">compileLighting</a>().
+<p>
+<dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="s4s0" doxytag="ModulateTileColor"></a><em>ModulateTileColor</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s4s1" doxytag="ModulateTextureFar"></a><em>ModulateTextureFar</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s4s2" doxytag="ModulateConstant"></a><em>ModulateConstant</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s4s3" doxytag="NoModulate"></a><em>NoModulate</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00111">111</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NL3D::CPatchDLMContext::CPatchDLMContext"></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::CPatchDLMContext::CPatchDLMContext </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="patchdlm__context_8cpp-source.html#l00171">171</a> of file <a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.cpp</a>.
+<p>
+References <a class="el" href="patchdlm__context_8h-source.html#l00177">_DLMContextList</a>, <a class="el" href="patchdlm__context_8h-source.html#l00175">_DLMTexture</a>, <a class="el" href="patchdlm__context_8h-source.html#l00202">_IsDstTextureFullBlack</a>, <a class="el" href="patchdlm__context_8h-source.html#l00200">_IsSrcTextureFullBlack</a>, <a class="el" href="patchdlm__context_8h-source.html#l00173">_Patch</a>, <a class="el" href="patchdlm__context_8h-source.html#l00128">CurPointLightCount</a>, and <a class="el" href="patchdlm__context_8h-source.html#l00127">OldPointLightCount</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NL3D::CPatchDLMContext::~CPatchDLMContext"></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::CPatchDLMContext::~CPatchDLMContext </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>
+Destructor: lightmap is released from _DLMTexture.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8cpp-source.html#l00185">185</a> of file <a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.cpp</a>.
+<p>
+References <a class="el" href="patchdlm__context_8h-source.html#l00177">_DLMContextList</a>, <a class="el" href="patchdlm__context_8h-source.html#l00175">_DLMTexture</a>, <a class="el" href="patchdlm__context_8h-source.html#l00173">_Patch</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">TextPosX</a>, and <a class="el" href="patchdlm__context_8h-source.html#l00117">TextPosY</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a4" doxytag="NL3D::CPatchDLMContext::addPointLightInfluence"></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::CPatchDLMContext::addPointLightInfluence </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNL3D_1_1CPatchDLMPointLight.html">CPatchDLMPointLight</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>pl</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>
+Add a pointLight influence to the lighting: RAM texture is updated.
+<p>
+NB: full src blackness is reseted.
+<p>
+Definition at line <a class="el" href="patchdlm__context_8cpp-source.html#l00648">648</a> of file <a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.cpp</a>.
+<p>
+References <a class="el" href="patchdlm__context_8h-source.html#l00197">_Clusters</a>, <a class="el" href="patchdlm__context_8h-source.html#l00200">_IsSrcTextureFullBlack</a>, <a class="el" href="patchdlm__context_8h-source.html#l00183">_LightMap</a>, <a class="el" href="patchdlm__context_8h-source.html#l00180">_Vertices</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00641">NL3D::fastClamp01</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">Height</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00208">NL_DLM_CLIP_FACTOR</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="fast__floor_8h-source.html#l00138">NL3D::OptFastFloor24</a>, <a class="el" href="fast__floor_8h-source.html#l00136">NL3D::OptFastFloorBegin24</a>, <a class="el" href="fast__floor_8h-source.html#l00137">NL3D::OptFastFloorEnd24</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00689">r</a>, <a class="el" href="object__vector_8h-source.html#l00169">NLMISC::CObjectVector&lt; CCluster &gt;::size</a>, <a class="el" href="object__vector_8h-source.html#l00169">NLMISC::CObjectVector&lt; CRGBA &gt;::size</a>, <a class="el" href="object__vector_8h-source.html#l00169">NLMISC::CObjectVector&lt; CVertex &gt;::size</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">Width</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>. </td>
+ </tr>
+</table>
+<a name="f2" doxytag="NL3D::CPatchDLMContext::blendTileToTexture"></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::CPatchDLMContext::blendTileToTexture </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcPixel</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcDeltaX</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcDeltaY</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>dstPixel</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>dstStride</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static, 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="patchdlm__context_8cpp-source.html#l01237">1237</a> of file <a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.cpp</a>.
+<p>
+References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00964">computeTextureFar</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::CPatchDLMContext::clearLighting"></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::CPatchDLMContext::clearLighting </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>
+Fill texture space with Black: RAM texture is updated.
+<p>
+NB: full src blackness is cached.
+<p>
+Definition at line <a class="el" href="patchdlm__context_8cpp-source.html#l00592">592</a> of file <a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.cpp</a>.
+<p>
+References <a class="el" href="patchdlm__context_8h-source.html#l00200">_IsSrcTextureFullBlack</a>, <a class="el" href="patchdlm__context_8h-source.html#l00183">_LightMap</a>, and <a class="el" href="object__vector_8h-source.html#l00169">NLMISC::CObjectVector&lt; CRGBA &gt;::size</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NL3D::CPatchDLMContext::compileLighting"></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::CPatchDLMContext::compileLighting </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CPatchDLMContext.html#s4">TCompileType</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>compType</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>modulateCte</em> = <a class="el" href="classNLMISC_1_1CRGBA.html#p7">NLMISC::CRGBA::White</a></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+update VRAM texture with RAM texture.
+<p>
+Uploaded in 16 bits format. NB: full dst blackness is cached. <dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>compType</em>&nbsp;</td><td>
+say if, before writing to the texture, the lightmap is modulated with _Patch TileColor, _Patch textureFar (precomputed in the context), modulate with a constant or not modulated at all </td></tr>
+<tr><td valign=top><em>modulateCte</em>&nbsp;</td><td>
+used only if compType==ModulateConstant. this is the cte to be modulate by lightmap before copy to texture </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="patchdlm__context_8cpp-source.html#l00888">888</a> of file <a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.cpp</a>.
+<p>
+References <a class="el" href="patchdlm__context_8h-source.html#l00175">_DLMTexture</a>, <a class="el" href="patchdlm__context_8h-source.html#l00202">_IsDstTextureFullBlack</a>, <a class="el" href="patchdlm__context_8h-source.html#l00200">_IsSrcTextureFullBlack</a>, <a class="el" href="patchdlm__context_8h-source.html#l00183">_LightMap</a>, <a class="el" href="patchdlm__context_8h-source.html#l00208">_LowResTileColors</a>, <a class="el" href="patchdlm__context_8h-source.html#l00173">_Patch</a>, <a class="el" href="patchdlm__context_8h-source.html#l00215">_TextureFar</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">Height</a>, <a class="el" href="classNL3D_1_1CPatchDLMContext.html#s4s2">ModulateConstant</a>, <a class="el" href="classNL3D_1_1CPatchDLMContext.html#s4s1">ModulateTextureFar</a>, <a class="el" href="classNL3D_1_1CPatchDLMContext.html#s4s0">ModulateTileColor</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="object__vector_8h-source.html#l00169">NLMISC::CObjectVector&lt; CRGBA &gt;::size</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">TextPosX</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">TextPosY</a>, and <a class="el" href="patchdlm__context_8h-source.html#l00117">Width</a>. </td>
+ </tr>
+</table>
+<a name="c0" doxytag="NL3D::CPatchDLMContext::computeTextureFar"></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::CPatchDLMContext::computeTextureFar </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8cpp-source.html#l00964">964</a> of file <a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.cpp</a>.
+<p>
+References <a class="el" href="patchdlm__context_8h-source.html#l00208">_LowResTileColors</a>, <a class="el" href="patchdlm__context_8h-source.html#l00173">_Patch</a>, <a class="el" href="patchdlm__context_8h-source.html#l00215">_TextureFar</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l01237">blendTileToTexture</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l01140">computeTileFarSrcDeltas</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l01224">copyTileToTexture</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">Height</a>, <a class="el" href="opcode__register_8cpp-source.html#l00036">NLAISCRIPT::l</a>, <a class="el" href="tile__element_8h-source.html#l00053">NL_TILE_ELM_LAYER_EMPTY</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="object__vector_8h-source.html#l00131">NLMISC::CObjectVector&lt; CRGBA &gt;::resize</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">Width</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<a name="f0" doxytag="NL3D::CPatchDLMContext::computeTileFarSrcDeltas"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> const CRGBA * NL3D::CPatchDLMContext::computeTileFarSrcDeltas </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>nRot</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>is256x256</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>uvOff</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcPixel</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcDeltaX</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcDeltaY</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static, 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="patchdlm__context_8cpp-source.html#l01140">1140</a> of file <a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.cpp</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00964">computeTextureFar</a>. </td>
+ </tr>
+</table>
+<a name="f1" doxytag="NL3D::CPatchDLMContext::copyTileToTexture"></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::CPatchDLMContext::copyTileToTexture </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcPixel</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcDeltaX</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>srcDeltaY</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>dstPixel</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>dstStride</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static, 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="patchdlm__context_8cpp-source.html#l01224">1224</a> of file <a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.cpp</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00964">computeTextureFar</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NL3D::CPatchDLMContext::generate"></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::CPatchDLMContext::generate </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CPatch.html">CPatch</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>patch</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CTextureDLM.html">CTextureDLM</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>textureDLM</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="classNL3D_1_1CPatchDLMContextList.html">CPatchDLMContextList</a> *&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>ctxList</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>
+generate: link to patch and allocate texture space, compile vertices etc...
+<p>
+The context is also linked to the list, and removed automaticllay at dtor Texture space is filled with black (RAM only) <dl compact><dt><b>
+Returns: </b><dd>
+false if cannot allocate texture space for this patch </dl>
+<p>
+Definition at line <a class="el" href="patchdlm__context_8cpp-source.html#l00214">214</a> of file <a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.cpp</a>.
+<p>
+References <a class="el" href="patchdlm__context_8h-source.html#l00197">_Clusters</a>, <a class="el" href="patchdlm__context_8h-source.html#l00177">_DLMContextList</a>, <a class="el" href="patchdlm__context_8h-source.html#l00175">_DLMTexture</a>, <a class="el" href="patchdlm__context_8h-source.html#l00183">_LightMap</a>, <a class="el" href="patchdlm__context_8h-source.html#l00208">_LowResTileColors</a>, <a class="el" href="patchdlm__context_8h-source.html#l00173">_Patch</a>, <a class="el" href="patchdlm__context_8h-source.html#l00180">_Vertices</a>, <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00592">clearLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00964">computeTextureFar</a>, <a class="el" href="patchdlm__context_8h-source.html#l00119">DLMUBias</a>, <a class="el" href="patchdlm__context_8h-source.html#l00119">DLMUScale</a>, <a class="el" href="patchdlm__context_8h-source.html#l00119">DLMVBias</a>, <a class="el" href="patchdlm__context_8h-source.html#l00119">DLMVScale</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">Height</a>, <a class="el" href="patchdlm__context_8h-source.html#l00121">MaxU8</a>, <a class="el" href="patchdlm__context_8h-source.html#l00122">MaxV8</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, <a class="el" href="patchdlm__context_8h-source.html#l00121">MinU8</a>, <a class="el" href="patchdlm__context_8h-source.html#l00122">MinV8</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00208">NL_DLM_CLIP_FACTOR</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00211">NL_DLM_CLIP_NUM_LEVEL</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, <a class="el" href="object__vector_8h-source.html#l00131">NLMISC::CObjectVector&lt; uint16, false &gt;::resize</a>, <a class="el" href="object__vector_8h-source.html#l00131">NLMISC::CObjectVector&lt; CCluster &gt;::resize</a>, <a class="el" href="object__vector_8h-source.html#l00131">NLMISC::CObjectVector&lt; CVertex &gt;::resize</a>, <a class="el" href="object__vector_8h-source.html#l00131">NLMISC::CObjectVector&lt; CRGBA &gt;::resize</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>, <a class="el" href="object__vector_8h-source.html#l00169">NLMISC::CObjectVector&lt; CCluster &gt;::size</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00681">t</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">TextPosX</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">TextPosY</a>, <a class="el" href="patchdlm__context_8h-source.html#l00117">Width</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">x</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">y</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NL3D::CPatchDLMContext::getMemorySize"></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::CPatchDLMContext::getMemorySize </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</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="patchdlm__context_8cpp-source.html#l00948">948</a> of file <a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.cpp</a>.
+<p>
+References <a class="el" href="patchdlm__context_8h-source.html#l00197">_Clusters</a>, <a class="el" href="patchdlm__context_8h-source.html#l00183">_LightMap</a>, <a class="el" href="patchdlm__context_8h-source.html#l00208">_LowResTileColors</a>, <a class="el" href="patchdlm__context_8h-source.html#l00215">_TextureFar</a>, <a class="el" href="patchdlm__context_8h-source.html#l00180">_Vertices</a>, <a class="el" href="object__vector_8h-source.html#l00169">NLMISC::CObjectVector&lt; uint16, false &gt;::size</a>, <a class="el" href="object__vector_8h-source.html#l00169">NLMISC::CObjectVector&lt; CCluster &gt;::size</a>, <a class="el" href="object__vector_8h-source.html#l00169">NLMISC::CObjectVector&lt; CRGBA &gt;::size</a>, and <a class="el" href="object__vector_8h-source.html#l00169">NLMISC::CObjectVector&lt; CVertex &gt;::size</a>. </td>
+ </tr>
+</table>
+<a name="a6" doxytag="NL3D::CPatchDLMContext::getPatch"></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_1CPatch.html">CPatch</a>* NL3D::CPatchDLMContext::getPatch </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00164">164</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+References <a class="el" href="patchdlm__context_8h-source.html#l00173">_Patch</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o5" doxytag="NL3D::CPatchDLMContext::_Clusters"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CObjectVector.html">NLMISC::CObjectVector</a>&lt;<a class="el" href="structNL3D_1_1CPatchDLMContext_1_1CCluster.html">CCluster</a>&gt; NL3D::CPatchDLMContext::_Clusters<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Bounding Sphere QuadTree (with NSkips paradigm).
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00197">197</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00648">addPointLightInfluence</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00948">getMemorySize</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NL3D::CPatchDLMContext::_DLMContextList"></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_1CPatchDLMContextList.html">CPatchDLMContextList</a>* NL3D::CPatchDLMContext::_DLMContextList<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="patchdlm__context_8h-source.html#l00177">177</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00171">CPatchDLMContext</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00185">~CPatchDLMContext</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NL3D::CPatchDLMContext::_DLMTexture"></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_1CTextureDLM.html">CTextureDLM</a>* NL3D::CPatchDLMContext::_DLMTexture<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The DLM texture (only one per landscape).
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00175">175</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00888">compileLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00171">CPatchDLMContext</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00185">~CPatchDLMContext</a>. </td>
+ </tr>
+</table>
+<a name="o7" doxytag="NL3D::CPatchDLMContext::_IsDstTextureFullBlack"></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::CPatchDLMContext::_IsDstTextureFullBlack<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="patchdlm__context_8h-source.html#l00202">202</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00888">compileLighting</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00171">CPatchDLMContext</a>. </td>
+ </tr>
+</table>
+<a name="o6" doxytag="NL3D::CPatchDLMContext::_IsSrcTextureFullBlack"></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::CPatchDLMContext::_IsSrcTextureFullBlack<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="patchdlm__context_8h-source.html#l00200">200</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00648">addPointLightInfluence</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00592">clearLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00888">compileLighting</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00171">CPatchDLMContext</a>. </td>
+ </tr>
+</table>
+<a name="o4" doxytag="NL3D::CPatchDLMContext::_LightMap"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CObjectVector.html">NLMISC::CObjectVector</a>&lt;CRGBA&gt; NL3D::CPatchDLMContext::_LightMap<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The computed lightmap: Width*Height.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00183">183</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00648">addPointLightInfluence</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00592">clearLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00888">compileLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00948">getMemorySize</a>. </td>
+ </tr>
+</table>
+<a name="o8" doxytag="NL3D::CPatchDLMContext::_LowResTileColors"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CObjectVector.html">NLMISC::CObjectVector</a>&lt;<a class="el" href="memory__common_8h.html#a9">uint16</a>, false&gt; NL3D::CPatchDLMContext::_LowResTileColors<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="patchdlm__context_8h-source.html#l00208">208</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00888">compileLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00964">computeTextureFar</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00948">getMemorySize</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NL3D::CPatchDLMContext::_Patch"></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_1CPatch.html">CPatch</a>* NL3D::CPatchDLMContext::_Patch<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The patch which owns us.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00173">173</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00888">compileLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00964">computeTextureFar</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00171">CPatchDLMContext</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>, <a class="el" href="patchdlm__context_8h-source.html#l00164">getPatch</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00185">~CPatchDLMContext</a>. </td>
+ </tr>
+</table>
+<a name="o9" doxytag="NL3D::CPatchDLMContext::_TextureFar"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CObjectVector.html">NLMISC::CObjectVector</a>&lt;CRGBA&gt; NL3D::CPatchDLMContext::_TextureFar<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The TextureFar (at tile level or less), which is always computed at <a class="el" href="classNL3D_1_1CPatchDLMContext.html#a2">generate</a>().
+<p>
+NB: Real compute is TextureFar*UserColor, so it need only to be modulated by lightmap each frame.
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00215">215</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00888">compileLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00964">computeTextureFar</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00948">getMemorySize</a>. </td>
+ </tr>
+</table>
+<a name="o3" doxytag="NL3D::CPatchDLMContext::_Vertices"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CObjectVector.html">NLMISC::CObjectVector</a>&lt;<a class="el" href="structNL3D_1_1CPatchDLMContext_1_1CVertex.html">CVertex</a>&gt; NL3D::CPatchDLMContext::_Vertices<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Bezier Patch Array information: Width*Height.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00180">180</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00648">addPointLightInfluence</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00948">getMemorySize</a>. </td>
+ </tr>
+</table>
+<a name="m13" doxytag="NL3D::CPatchDLMContext::CurPointLightCount"></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::CPatchDLMContext::CurPointLightCount
+ </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="patchdlm__context_8h-source.html#l00128">128</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00171">CPatchDLMContext</a>. </td>
+ </tr>
+</table>
+<a name="m6" doxytag="NL3D::CPatchDLMContext::DLMUBias"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CPatchDLMContext::DLMUBias
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Mapping to this rectangle from 0-1 basis.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00119">119</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<a name="m4" doxytag="NL3D::CPatchDLMContext::DLMUScale"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CPatchDLMContext::DLMUScale
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Mapping to this rectangle from 0-1 basis.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00119">119</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<a name="m7" doxytag="NL3D::CPatchDLMContext::DLMVBias"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CPatchDLMContext::DLMVBias
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Mapping to this rectangle from 0-1 basis.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00119">119</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<a name="m5" doxytag="NL3D::CPatchDLMContext::DLMVScale"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CPatchDLMContext::DLMVScale
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Mapping to this rectangle from 0-1 basis.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00119">119</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<a name="m3" doxytag="NL3D::CPatchDLMContext::Height"></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::CPatchDLMContext::Height
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+DLM info The position and size of the DLM in the texture, in pixels.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00117">117</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00648">addPointLightInfluence</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00888">compileLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00964">computeTextureFar</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<a name="m9" doxytag="NL3D::CPatchDLMContext::MaxU8"></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#a7">uint8</a> NL3D::CPatchDLMContext::MaxU8
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+texture coordinate bound in 8 bits. Important for Vegetable special DLM mapping.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00121">121</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<a name="m11" doxytag="NL3D::CPatchDLMContext::MaxV8"></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#a7">uint8</a> NL3D::CPatchDLMContext::MaxV8
+ </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="patchdlm__context_8h-source.html#l00122">122</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<a name="m8" doxytag="NL3D::CPatchDLMContext::MinU8"></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#a7">uint8</a> NL3D::CPatchDLMContext::MinU8
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+texture coordinate bound in 8 bits. Important for Vegetable special DLM mapping.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00121">121</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<a name="m10" doxytag="NL3D::CPatchDLMContext::MinV8"></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#a7">uint8</a> NL3D::CPatchDLMContext::MinV8
+ </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="patchdlm__context_8h-source.html#l00122">122</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<a name="m12" doxytag="NL3D::CPatchDLMContext::OldPointLightCount"></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::CPatchDLMContext::OldPointLightCount
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Lighting Process: number of light contribution to this patch in last rneder, and in cur Render.
+<p>
+Modified by <a class="el" href="classNL3D_1_1CPatch.html">CPatch</a> and <a class="el" href="classNL3D_1_1CLandscape.html">CLandscape</a>
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00127">127</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00171">CPatchDLMContext</a>. </td>
+ </tr>
+</table>
+<a name="m0" doxytag="NL3D::CPatchDLMContext::TextPosX"></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::CPatchDLMContext::TextPosX
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+DLM info The position and size of the DLM in the texture, in pixels.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00117">117</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00888">compileLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00185">~CPatchDLMContext</a>. </td>
+ </tr>
+</table>
+<a name="m1" doxytag="NL3D::CPatchDLMContext::TextPosY"></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::CPatchDLMContext::TextPosY
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+DLM info The position and size of the DLM in the texture, in pixels.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00117">117</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00888">compileLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00185">~CPatchDLMContext</a>. </td>
+ </tr>
+</table>
+<a name="m2" doxytag="NL3D::CPatchDLMContext::Width"></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::CPatchDLMContext::Width
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+DLM info The position and size of the DLM in the texture, in pixels.
+<p>
+
+<p>
+Definition at line <a class="el" href="patchdlm__context_8h-source.html#l00117">117</a> of file <a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a>.
+<p>
+Referenced by <a class="el" href="patchdlm__context_8cpp-source.html#l00648">addPointLightInfluence</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00888">compileLighting</a>, <a class="el" href="patchdlm__context_8cpp-source.html#l00964">computeTextureFar</a>, and <a class="el" href="patchdlm__context_8cpp-source.html#l00214">generate</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="patchdlm__context_8h-source.html">patchdlm_context.h</a><li><a class="el" href="patchdlm__context_8cpp-source.html">patchdlm_context.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>