diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1CVegetableManager.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CVegetableManager.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CVegetableManager.html | 3190 |
1 files changed, 3190 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CVegetableManager.html b/docs/doxygen/nel/classNL3D_1_1CVegetableManager.html new file mode 100644 index 00000000..64e76b08 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CVegetableManager.html @@ -0,0 +1,3190 @@ +<!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> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </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> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </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> + + +<!-- 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> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <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> </center> +<hr><h1>NL3D::CVegetableManager Class Reference</h1>Manager of vegetable. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>></code> +<p> +<a href="classNL3D_1_1CVegetableManager-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>CVegetableBlendLayerModel mgt.</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z890_0">setupRenderStateForBlendLayerModel</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *driver)</td></tr> +<tr><td> </td><td><font size=-1><em>called by <a class="el" href="classNL3D_1_1CVegetableBlendLayerModel.html">CVegetableBlendLayerModel</a>.</em> <a href="#z890_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z890_1">exitRenderStateForBlendLayerModel</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *driver)</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z890_2">_NumZSortBlendLayers</a></td></tr> +<tr><td> </td><td><font size=-1><em>For Alpha Blend rdrPass, ordering into layers.</em> <a href="#z890_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z890_3">_ZSortLayerDistMax</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CScene.html">CScene</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z890_4">_ZSortScene</a></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classNL3D_1_1CVegetableBlendLayerModel.html">CVegetableBlendLayerModel</a> * > </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z890_5">_ZSortModelLayers</a></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classNL3D_1_1CVegetableBlendLayerModel.html">CVegetableBlendLayerModel</a> * > </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z890_6">_ZSortModelLayersUW</a></td></tr> +<tr><td colspan=2><br><h2>UpdateLighting management</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_0">doUpdateLighting</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>update lighting according to _ULNVerticesToUpdate.</em> <a href="#z891_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_1">updateLightingIGPart</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>update part of the RootIg, according to _ULNVerticesToUpdate (while > 0) if all Ig is updated, return true and _ULCurrentIgRdrPass and _ULCurrentIgInstance is updated.</em> <a href="#z891_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_2">updateInstanceLighting</a> (<a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> *ig, <a class="el" href="memory__common_8h.html#a15">uint</a> rdrPassId, <a class="el" href="memory__common_8h.html#a15">uint</a> instanceId)</td></tr> +<tr><td> </td><td><font size=-1><em>update part of an ig.</em> <a href="#z891_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>double </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_3">_ULPrecTime</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_4">_ULPrecTimeInit</a></td></tr> +<tr><td nowrap align=right valign=top>double </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_5">_ULTime</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_6">_ULFrequency</a></td></tr> +<tr><td> </td><td><font size=-1><em>Frequency of update.</em> <a href="#z891_6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_7">_ULNVerticesToUpdate</a></td></tr> +<tr><td> </td><td><font size=-1><em>Current number of vertices to update. If negative, I have some advance.</em> <a href="#z891_7">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> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_8">_ULNTotalVertices</a></td></tr> +<tr><td> </td><td><font size=-1><em>Sum of all ig vertices to update.</em> <a href="#z891_8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_9">_ULRootIg</a></td></tr> +<tr><td> </td><td><font size=-1><em>the priority list of ig to update.</em> <a href="#z891_9">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> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_10">_ULCurrentIgRdrPass</a></td></tr> +<tr><td> </td><td><font size=-1><em>Current instance to render in the first ig to update: rdrpass/instanceId.</em> <a href="#z891_10">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> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z891_11">_ULCurrentIgInstance</a></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#s4">TVegetableWater</a> { <a class="el" href="classNL3D_1_1CVegetableManager.html#s4s0">AboveWater</a> = 0, +<a class="el" href="classNL3D_1_1CVegetableManager.html#s4s1">UnderWater</a>, +<a class="el" href="classNL3D_1_1CVegetableManager.html#s4s2">IntersectWater</a>, +<a class="el" href="classNL3D_1_1CVegetableManager.html#s4s3">VegetInfoLast</a> + }</td></tr> +<tr><td> </td><td><font size=-1><em>Micro vegetation position against Water. Above water is the default.</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> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#a0">CVegetableManager</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> maxVertexVbHardUnlit, <a class="el" href="memory__common_8h.html#a15">uint</a> maxVertexVbHardLighted, <a class="el" href="memory__common_8h.html#a15">uint</a> nbBlendLayers=NL3D_VEGETABLE_DEFAULT_NUM_BLEND_LAYER, float blendLayerDistMax=NL3D_VEGETABLE_DEFAULT_DIST_MAX)</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#a1">~CVegetableManager</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#a2">createVegetableBlendLayersModels</a> (<a class="el" href="classNL3D_1_1CScene.html">CScene</a> *scene)</td></tr> +<tr><td> </td><td><font size=-1><em>Before any <a class="el" href="classNL3D_1_1CVegetableManager.html#z884_6">render</a>(), you must call this method (else nlassert).</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Shape management</div></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableShape.html">CVegetableShape</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z881_0">getVegetableShape</a> (const std::string &shape)</td></tr> +<tr><td> </td><td><font size=-1><em>Load a shape if necessary, and return a shapeId for this shape.</em> <a href="#z881_0">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">instance management</div></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z882_0">createClipBlock</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Create a clipBlock where SortBlock will be created.</em> <a href="#z882_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z882_1">deleteClipBlock</a> (<a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a> *clipBlock)</td></tr> +<tr><td> </td><td><font size=-1><em>delete such a clipBlock. all sortBlocks and so all ig must be deleted before.</em> <a href="#z882_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableSortBlock.html">CVegetableSortBlock</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z882_2">createSortBlock</a> (<a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a> *clipBlock, const CVector &center, float radius)</td></tr> +<tr><td> </td><td><font size=-1><em>Create a SortBlock in a clipBlock where instance group (ig) will be created.</em> <a href="#z882_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z882_3">deleteSortBlock</a> (<a class="el" href="classNL3D_1_1CVegetableSortBlock.html">CVegetableSortBlock</a> *sortBlock)</td></tr> +<tr><td> </td><td><font size=-1><em>delete such a SortBlock. all ig must be deleted before.</em> <a href="#z882_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z882_4">createIg</a> (<a class="el" href="classNL3D_1_1CVegetableSortBlock.html">CVegetableSortBlock</a> *sortBlock)</td></tr> +<tr><td> </td><td><font size=-1><em>create an instance group in a sortBlock, where instances will be created.</em> <a href="#z882_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z882_5">deleteIg</a> (<a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> *ig)</td></tr> +<tr><td> </td><td><font size=-1><em>delete such an ig.</em> <a href="#z882_5">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Adding Instances to an Ig.</div></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z883_0">reserveIgAddInstances</a> (<a class="el" href="classNL3D_1_1CVegetableInstanceGroupReserve.html">CVegetableInstanceGroupReserve</a> &vegetIgReserve, <a class="el" href="classNL3D_1_1CVegetableShape.html">CVegetableShape</a> *shape, <a class="el" href="classNL3D_1_1CVegetableManager.html#s4">TVegetableWater</a> vegetWaterState, <a class="el" href="memory__common_8h.html#a15">uint</a> numInstances)</td></tr> +<tr><td> </td><td><font size=-1><em>reserve some instance space in an Ig.</em> <a href="#z883_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z883_1">reserveIgCompile</a> (<a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> *ig, const <a class="el" href="classNL3D_1_1CVegetableInstanceGroupReserve.html">CVegetableInstanceGroupReserve</a> &vegetIgReserve)</td></tr> +<tr><td> </td><td><font size=-1><em>reserve the space in the ig.</em> <a href="#z883_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z883_2">addInstance</a> (<a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> *ig, <a class="el" href="classNL3D_1_1CVegetableShape.html">CVegetableShape</a> *shape, const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> &mat, const <a class="el" href="classNLMISC_1_1CRGBAF.html">NLMISC::CRGBAF</a> &ambientColor, const <a class="el" href="classNLMISC_1_1CRGBAF.html">NLMISC::CRGBAF</a> &diffuseColor, float bendFactor, float bendPhase, float bendFreqFactor, float blendDistMax, <a class="el" href="classNL3D_1_1CVegetableManager.html#s4">TVegetableWater</a> vegetWaterState, <a class="el" href="classNL3D_1_1CVegetableUV8.html">CVegetableUV8</a> dlmUV)</td></tr> +<tr><td> </td><td><font size=-1><em>add an instance to an ig, enlarging the associated clipBlock bbox.</em> <a href="#z883_2">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">render</div></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z884_0">updateDriver</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *driver)</td></tr> +<tr><td> </td><td><font size=-1><em>must give a driver to the vegetableManager, before any <a class="el" href="classNL3D_1_1CVegetableManager.html#z883_2">addInstance</a>().</em> <a href="#z884_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z884_1">loadTexture</a> (const std::string &texName)</td></tr> +<tr><td> </td><td><font size=-1><em>load a global texture used for all vegetables (lookup into CPath).</em> <a href="#z884_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z884_2">loadTexture</a> (<a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> *itex)</td></tr> +<tr><td> </td><td><font size=-1><em>setup a global texture used for all vegetables (smartPtr-ized).</em> <a href="#z884_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z884_3">setDirectionalLight</a> (const CRGBA &ambient, const CRGBA &diffuse, const CVector &light)</td></tr> +<tr><td> </td><td><font size=-1><em>setup the directional light.</em> <a href="#z884_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z884_4">lockBuffers</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>lock any AGP vertex buffers.</em> <a href="#z884_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z884_5">unlockBuffers</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>unlock any AGP vertex buffers.</em> <a href="#z884_5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z884_6">render</a> (const CVector &viewCenter, const CVector &frontVector, const std::vector< CPlane > &pyramid, <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> *textureDLM, <a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *driver)</td></tr> +<tr><td> </td><td><font size=-1><em>render the manager into a driver, with current viewMatrix/frustum/fog setuped Buffers should be unlocked.</em> <a href="#z884_6">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Wind animation</div></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z885_0">setWind</a> (const CVector &windDir, float windFreq, float windPower, float windBendMin)</td></tr> +<tr><td> </td><td><font size=-1><em>set the Wind for animation.</em> <a href="#z885_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z885_1">setTime</a> (double time)</td></tr> +<tr><td> </td><td><font size=-1><em>set the current Time (in seconds).</em> <a href="#z885_1">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">UpdateLighting management</div></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z886_0">setUpdateLightingTime</a> (double time)</td></tr> +<tr><td> </td><td><font size=-1><em>set the vegetable manager System Time (in seconds) This time is used for lighting update, and is independent of <a class="el" href="classNL3D_1_1CVegetableManager.html#z885_1">setTime</a>().</em> <a href="#z886_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z886_1">updateLighting</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>update the lighting of Igs, within a certain amount of time.</em> <a href="#z886_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z886_2">setUpdateLightingFrequency</a> (float freq)</td></tr> +<tr><td> </td><td><font size=-1><em>set the frequency of lighting update.</em> <a href="#z886_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z886_3">updateLightingAll</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>like <a class="el" href="classNL3D_1_1CVegetableManager.html#z886_1">updateLighting</a>(), but update ALL vegetable You MUST enclose calls to <a class="el" href="classNL3D_1_1CVegetableManager.html#z886_1">updateLighting</a>() with <a class="el" href="classNL3D_1_1CVegetableManager.html#z884_4">lockBuffers</a>() / <a class="el" href="classNL3D_1_1CVegetableManager.html#z884_5">unlockBuffers</a>().</em> <a href="#z886_3">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Profile</div></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z887_0">resetNumVegetableFaceRendered</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>set to 0 the number of faces rendered.</em> <a href="#z887_0">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> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z887_1">getNumVegetableFaceRendered</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the number of faces rendered by the vegetable manager.</em> <a href="#z887_1">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Types</h2></td></tr> +<tr><td nowrap align=right valign=top>typedef std::map< std::string,<br> + <a class="el" href="classNL3D_1_1CVegetableShape.html">CVegetableShape</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#u0">TShapeMap</a></td></tr> +<tr><td nowrap align=right valign=top>typedef TShapeMap::iterator </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#u1">ItShapeMap</a></td></tr> +<tr><td colspan=2><br><h2>Private Methods</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#c0">getRdrPassInfoForShape</a> (<a class="el" href="classNL3D_1_1CVegetableShape.html">CVegetableShape</a> *shape, <a class="el" href="classNL3D_1_1CVegetableManager.html#s4">TVegetableWater</a> vegetWaterState, bool &instanceLighted, bool &instanceDoubleSided, bool &instanceZSort, bool &destLighted, bool &precomputeLighting)</td></tr> +<tr><td> </td><td><font size=-1><em>get the rdrPass and other info for a given shape.</em> <a href="#c0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableVBAllocator.html">CVegetableVBAllocator</a> & </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#c1">getVBAllocatorForRdrPassAndVBHardMode</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> rdrPass, <a class="el" href="memory__common_8h.html#a15">uint</a> vbHardMode)</td></tr> +<tr><td> </td><td><font size=-1><em>Get the good allocator for the appropriate rdr pass.</em> <a href="#c1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#c2">initVertexProgram</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> vpType)</td></tr> +<tr><td> </td><td><font size=-1><em>init the ith vertexProgram.</em> <a href="#c2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#c3">setupVertexProgramConstants</a> (<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> *driver)</td></tr> +<tr><td> </td><td><font size=-1><em>setup the vertexProgram constants.</em> <a href="#c3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#c4">swapIgRdrPassHardMode</a> (<a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> *, <a class="el" href="memory__common_8h.html#a15">uint</a> rdrPass)</td></tr> +<tr><td> </td><td><font size=-1><em>swap the RdrPass type (hard or soft) of the rdrPass of an instance group.</em> <a href="#c4">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Private Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#f0">doubleSidedRdrPass</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> rdrPass)</td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CBlockMemory.html">NLMISC::CBlockMemory</a>< <a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o0">_ClipBlockMemory</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CBlockMemory.html">NLMISC::CBlockMemory</a>< <a class="el" href="classNL3D_1_1CVegetableSortBlock.html">CVegetableSortBlock</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o1">_SortBlockMemory</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CBlockMemory.html">NLMISC::CBlockMemory</a>< <a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o2">_InstanceGroupMemory</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CTessList.html">CTessList</a>< <a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o3">_ClipBlockList</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CTessList.html">CTessList</a>< <a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o4">_EmptyClipBlockList</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableManager.html#u0">TShapeMap</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o5">_ShapeMap</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableVBAllocator.html">CVegetableVBAllocator</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o6">_VBHardAllocator</a> [CVegetableVBAllocator::VBTypeCount]</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVegetableVBAllocator.html">CVegetableVBAllocator</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o7">_VBSoftAllocator</a> [CVegetableVBAllocator::VBTypeCount]</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CVertexProgram.html">CVertexProgram</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o8">_VertexProgram</a> [NL3D_VEGETABLE_NRDRPASS]</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CMaterial.html">CMaterial</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o9">_VegetableMaterial</a></td></tr> +<tr><td nowrap align=right valign=top>CVector </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o10">_DirectionalLight</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o11">_GlobalAmbient</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o12">_GlobalDiffuse</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o13">_NumVegetableFaceRendered</a></td></tr> +<tr><td> </td><td><font size=-1><em>profile.</em> <a href="#o13">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRefPtr.html">NLMISC::CRefPtr</a>< <a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#o14">_LastDriver</a></td></tr> +<tr><td colspan="2"><div class="groupHeader">Wind animation</div></td></tr> +<tr><td nowrap align=right valign=top>CVector </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z888_0">_WindDirection</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z888_1">_WindFrequency</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z888_2">_WindPower</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z888_3">_WindBendMin</a></td></tr> +<tr><td nowrap align=right valign=top>double </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z888_4">_Time</a></td></tr> +<tr><td nowrap align=right valign=top>double </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z888_5">_WindPrecRenderTime</a></td></tr> +<tr><td nowrap align=right valign=top>double </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z888_6">_WindAnimTime</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z888_7">_CosTable</a> [NL3D_VEGETABLE_VP_LUT_SIZE]</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector2f.html">NLMISC::CVector2f</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z888_8">_WindTable</a> [NL3D_VEGETABLE_VP_LUT_SIZE]</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector2f.html">NLMISC::CVector2f</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z888_9">_WindDeltaTable</a> [NL3D_VEGETABLE_VP_LUT_SIZE]</td></tr> +<tr><td colspan="2"><div class="groupHeader">Misc data to setup renderState (computed at each render())</div></td></tr> +<tr><td nowrap align=right valign=top>CVector </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z889_0">_AngleAxis</a></td></tr> +<tr><td nowrap align=right valign=top>CVector </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z889_1">_ViewCenter</a></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z889_2">_BkupFog</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#z889_3">_ManagerMatrix</a></td></tr> +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classNL3D_1_1CVegetableManager.html#l0">CVegetableBlendLayerModel</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Manager of vegetable. +<p> +Instance Factory and rendering. A VegetableManager should be put into a <a class="el" href="classNL3D_1_1CScene.html">CScene</a> model which is Opaque (ie rendered in Opaque pass), and call vegetableManager::render() at this time. a good example is <a class="el" href="classNL3D_1_1CLandscape.html">CLandscape</a>. +<p> +Because during <a class="el" href="classNL3D_1_1CVegetableManager.html#z884_6">render</a>(), it uses and setup special "Vegetable Blend Layer models" to render transparents alpha blended vegetables. Toses models are transparent so they are drawn during the transparent pass of the renderTrav's <a class="el" href="classNL3D_1_1CScene.html">CScene</a> (so after the Opaque pass). +<p> +<dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00075">75</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>.<hr><h2>Member Typedef Documentation</h2> +<a name="u1" doxytag="NL3D::CVegetableManager::ItShapeMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef TShapeMap::iterator NL3D::CVegetableManager::ItShapeMap<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00301">301</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00846">getVegetableShape</a>. </td> + </tr> +</table> +<a name="u0" doxytag="NL3D::CVegetableManager::TShapeMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef std::map<std::string, <a class="el" href="classNL3D_1_1CVegetableShape.html">CVegetableShape</a>> NL3D::CVegetableManager::TShapeMap<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00300">300</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. </td> + </tr> +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a name="s4" doxytag="NL3D::CVegetableManager::TVegetableWater"></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::CVegetableManager::TVegetableWater + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Micro vegetation position against Water. Above water is the default. +<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="AboveWater"></a><em>AboveWater</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s4s1" doxytag="UnderWater"></a><em>UnderWater</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s4s2" doxytag="IntersectWater"></a><em>IntersectWater</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s4s3" doxytag="VegetInfoLast"></a><em>VegetInfoLast</em></em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00079">79</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::CVegetableManager::CVegetableManager"></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::CVegetableManager::CVegetableManager </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>maxVertexVbHardUnlit</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>maxVertexVbHardLighted</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>nbBlendLayers</em> = NL3D_VEGETABLE_DEFAULT_NUM_BLEND_LAYER, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>blendLayerDistMax</em> = NL3D_VEGETABLE_DEFAULT_DIST_MAX</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>maxVertexVbHardUnlit</em> </td><td> +maximum VertexCount in VBHard for Unlit (or precomputed lighted) vegetables </td></tr> +<tr><td valign=top><em>maxVertexVbHardLighted</em> </td><td> +maximum VertexCount in VBHard for Lighted vegetables </td></tr> +<tr><td valign=top><em>nbBlendLayers</em> </td><td> +for ZSort/AlphaBlend rdrPass: number of layers of vegetables rendered independently. </td></tr> +<tr><td valign=top><em>blendLayerDistMax</em> </td><td> +for ZSort/AlphaBlend rdrPass: distance of the farest layer. </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00058">58</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00366">_CosTable</a>, <a class="el" href="vegetable__manager_8h-source.html#l00316">_DirectionalLight</a>, <a class="el" href="vegetable__manager_8h-source.html#l00317">_GlobalAmbient</a>, <a class="el" href="vegetable__manager_8h-source.html#l00318">_GlobalDiffuse</a>, <a class="el" href="vegetable__manager_8h-source.html#l00322">_NumVegetableFaceRendered</a>, <a class="el" href="vegetable__manager_8h-source.html#l00392">_NumZSortBlendLayers</a>, <a class="el" href="vegetable__manager_8h-source.html#l00360">_Time</a>, <a class="el" href="vegetable__manager_8h-source.html#l00428">_ULCurrentIgInstance</a>, <a class="el" href="vegetable__manager_8h-source.html#l00427">_ULCurrentIgRdrPass</a>, <a class="el" href="vegetable__manager_8h-source.html#l00419">_ULFrequency</a>, <a class="el" href="vegetable__manager_8h-source.html#l00423">_ULNTotalVertices</a>, <a class="el" href="vegetable__manager_8h-source.html#l00421">_ULNVerticesToUpdate</a>, <a class="el" href="vegetable__manager_8h-source.html#l00414">_ULPrecTime</a>, <a class="el" href="vegetable__manager_8h-source.html#l00415">_ULPrecTimeInit</a>, <a class="el" href="vegetable__manager_8h-source.html#l00425">_ULRootIg</a>, <a class="el" href="vegetable__manager_8h-source.html#l00416">_ULTime</a>, <a class="el" href="vegetable__manager_8h-source.html#l00306">_VBHardAllocator</a>, <a class="el" href="vegetable__manager_8h-source.html#l00308">_VBSoftAllocator</a>, <a class="el" href="vegetable__manager_8h-source.html#l00314">_VegetableMaterial</a>, <a class="el" href="vegetable__manager_8h-source.html#l00310">_VertexProgram</a>, <a class="el" href="vegetable__manager_8h-source.html#l00363">_WindAnimTime</a>, <a class="el" href="vegetable__manager_8h-source.html#l00358">_WindBendMin</a>, <a class="el" href="vegetable__manager_8h-source.html#l00355">_WindDirection</a>, <a class="el" href="vegetable__manager_8h-source.html#l00356">_WindFrequency</a>, <a class="el" href="vegetable__manager_8h-source.html#l00357">_WindPower</a>, <a class="el" href="vegetable__manager_8h-source.html#l00361">_WindPrecRenderTime</a>, <a class="el" href="vegetable__manager_8h-source.html#l00395">_ZSortModelLayers</a>, <a class="el" href="vegetable__manager_8h-source.html#l00397">_ZSortModelLayersUW</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00052">NL3D_VEGETABLE_CLIP_BLOCK_BLOCKSIZE</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00054">NL3D_VEGETABLE_INSTANCE_GROUP_BLOCKSIZE</a>, <a class="el" href="vegetable__def_8h-source.html#l00037">NL3D_VEGETABLE_NRDRPASS</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00053">NL3D_VEGETABLE_SORT_BLOCK_BLOCKSIZE</a>, <a class="el" href="vegetable__def_8h-source.html#l00046">NL3D_VEGETABLE_VP_LUT_SIZE</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="common_8h-source.html#l00071">NLMISC::Pi</a>, and <a class="el" href="rgba_8cpp-source.html#l00066">NLMISC::CRGBA::set</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CVegetableManager::~CVegetableManager"></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::CVegetableManager::~CVegetableManager </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00129">129</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00392">_NumZSortBlendLayers</a>, <a class="el" href="vegetable__manager_8h-source.html#l00310">_VertexProgram</a>, <a class="el" href="vegetable__manager_8h-source.html#l00395">_ZSortModelLayers</a>, <a class="el" href="vegetable__manager_8h-source.html#l00397">_ZSortModelLayersUW</a>, <a class="el" href="vegetable__manager_8h-source.html#l00394">_ZSortScene</a>, and <a class="el" href="vegetable__def_8h-source.html#l00037">NL3D_VEGETABLE_NRDRPASS</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="z883_2" doxytag="NL3D::CVegetableManager::addInstance"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CVegetableManager::addInstance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> * </td> + <td class="mdname" nowrap> <em>ig</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CVegetableShape.html">CVegetableShape</a> * </td> + <td class="mdname" nowrap> <em>shape</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CMatrix.html">NLMISC::CMatrix</a> & </td> + <td class="mdname" nowrap> <em>mat</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CRGBAF.html">NLMISC::CRGBAF</a> & </td> + <td class="mdname" nowrap> <em>ambientColor</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CRGBAF.html">NLMISC::CRGBAF</a> & </td> + <td class="mdname" nowrap> <em>diffuseColor</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>bendFactor</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>bendPhase</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>bendFreqFactor</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>blendDistMax</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CVegetableManager.html#s4">TVegetableWater</a> </td> + <td class="mdname" nowrap> <em>vegetWaterState</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CVegetableUV8.html">CVegetableUV8</a> </td> + <td class="mdname" nowrap> <em>dlmUV</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +add an instance to an ig, enlarging the associated clipBlock bbox. +<p> +If the shape is not lighted, then only diffuseColor is used, to setup color per vertex. Warning! Use <a class="el" href="namespaceNL3D.html#a362">OptFastFloor</a>()! So call must be enclosed with a <a class="el" href="namespaceNL3D.html#a360">OptFastFloorBegin</a>()/<a class="el" href="namespaceNL3D.html#a361">OptFastFloorEnd</a>(). +<p> +Also, buffer must be locked. +<p> +ambientColor and diffuseColor should be in [0..1] (no clamp), else uint8 will wrap... +<p> +<a class="el" href="debug_8h.html#a6">nlassert</a>() if no sufficient space reserved in <a class="el" href="classNL3D_1_1CVegetableManager.html#z883_1">reserveIgCompile</a>().<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>dlmUV</em> </td><td> +is the dynamic lightmap UV for this vegetable. </td></tr> +</table> +</dl><dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CVegetableManager.html#z883_0">reserveIgAddInstances</a>() <a class="el" href="classNL3D_1_1CVegetableManager.html#z883_1">reserveIgCompile</a>() </dl> +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l01148">1148</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00316">_DirectionalLight</a>, <a class="el" href="vegetable__manager_8h-source.html#l00317">_GlobalAmbient</a>, <a class="el" href="vegetable__manager_8h-source.html#l00318">_GlobalDiffuse</a>, <a class="el" href="vegetable__manager_8h-source.html#l00423">_ULNTotalVertices</a>, <a class="el" href="vegetable__manager_8h-source.html#l00425">_ULRootIg</a>, <a class="el" href="classNL3D_1_1CVegetableManager.html#s4s0">AboveWater</a>, <a class="el" href="rgba_8h-source.html#l00648">NLMISC::CRGBAF::B</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01004">NL3D::computeVegetVertexLighting</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01086">NL3D::computeVegetVertexLightingForceBestSided</a>, <a class="el" href="rgba_8h-source.html#l00646">NLMISC::CRGBAF::G</a>, <a class="el" href="matrix_8h-source.html#l00188">NLMISC::CMatrix::getPos</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00882">getRdrPassInfoForShape</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00182">getVBAllocatorForRdrPassAndVBHardMode</a>, <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>, <a class="el" href="matrix_8cpp-source.html#l01321">NLMISC::CMatrix::mulVector</a>, <a class="el" href="vegetable__def_8h-source.html#l00053">NL3D_VEGETABLE_BLOCK_BLEND_TRANSITION_DIST</a>, <a class="el" href="vegetable__def_8h-source.html#l00061">NL3D_VEGETABLE_FREQUENCY_FACTOR_PREC</a>, <a class="el" href="vegetable__def_8h-source.html#l00057">NL3D_VEGETABLE_NUM_QUADRANT</a>, <a class="el" href="vegetable__def_8h-source.html#l00042">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED_ZSORT</a>, <a class="el" href="vegetablevb__allocator_8h-source.html#l00044">NL3D_VEGETABLE_VPPOS_BENDINFO</a>, <a class="el" href="vegetablevb__allocator_8h-source.html#l00045">NL3D_VEGETABLE_VPPOS_CENTER</a>, <a class="el" href="vegetablevb__allocator_8h-source.html#l00041">NL3D_VEGETABLE_VPPOS_COLOR0</a>, <a class="el" href="vegetablevb__allocator_8h-source.html#l00042">NL3D_VEGETABLE_VPPOS_COLOR1</a>, <a class="el" href="vegetablevb__allocator_8h-source.html#l00040">NL3D_VEGETABLE_VPPOS_NORMAL</a>, <a class="el" href="vegetablevb__allocator_8h-source.html#l00043">NL3D_VEGETABLE_VPPOS_TEX0</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="fast__floor_8h-source.html#l00125">NL3D::OptFastFloor</a>, <a class="el" href="rgba_8h-source.html#l00644">NLMISC::CRGBAF::R</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01605">swapIgRdrPassHardMode</a>, <a class="el" href="classNL3D_1_1CVegetableManager.html#s4s1">UnderWater</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td> + </tr> +</table> +<a name="z882_0" doxytag="NL3D::CVegetableManager::createClipBlock"></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_1CVegetableClipBlock.html">CVegetableClipBlock</a> * NL3D::CVegetableManager::createClipBlock </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Create a clipBlock where SortBlock will be created. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00672">672</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00289">_ClipBlockMemory</a>, <a class="el" href="vegetable__manager_8h-source.html#l00296">_EmptyClipBlockList</a>, and <a class="el" href="block__memory_8h-source.html#l00096">NLMISC::CBlockMemory< CVegetableClipBlock >::allocate</a>. </td> + </tr> +</table> +<a name="z882_4" doxytag="NL3D::CVegetableManager::createIg"></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_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> * NL3D::CVegetableManager::createIg </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableSortBlock.html">CVegetableSortBlock</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>sortBlock</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +create an instance group in a sortBlock, where instances will be created. +<p> +Instances will be frustum-clipped by the clipBlock, and sorted (for the ZSort rdrPass only) by sortBlock. +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00737">737</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00294">_ClipBlockList</a>, <a class="el" href="vegetable__manager_8h-source.html#l00296">_EmptyClipBlockList</a>, <a class="el" href="vegetable__manager_8h-source.html#l00291">_InstanceGroupMemory</a>, <a class="el" href="block__memory_8h-source.html#l00096">NLMISC::CBlockMemory< CVegetableInstanceGroup >::allocate</a>, <a class="el" href="vegetable__def_8h-source.html#l00042">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED_ZSORT</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z882_2" doxytag="NL3D::CVegetableManager::createSortBlock"></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_1CVegetableSortBlock.html">CVegetableSortBlock</a> * NL3D::CVegetableManager::createSortBlock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a> * </td> + <td class="mdname" nowrap> <em>clipBlock</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CVector & </td> + <td class="mdname" nowrap> <em>center</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>radius</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Create a SortBlock in a clipBlock where instance group (ig) will be created. +<p> +All AlphaBlend instances created in a SortBlock should have the same vegetWaterState: AboveWater or UnderWater. Each time an instance is added to the sortBlock it changes the _UnderWater state of the sortBlock. <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>center</em> </td><td> +you must give an approximate center for the sortBlock (for sorting) </td></tr> +<tr><td valign=top><em>radius</em> </td><td> +you must give an approximate radius for the sortBlock (for the system to know when you are IN the sortBlock, and then to sort in a better way) </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00702">702</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00290">_SortBlockMemory</a>, <a class="el" href="block__memory_8h-source.html#l00096">NLMISC::CBlockMemory< CVegetableSortBlock >::allocate</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CVegetableManager::createVegetableBlendLayersModels"></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::CVegetableManager::createVegetableBlendLayersModels </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CScene.html">CScene</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>scene</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Before any <a class="el" href="classNL3D_1_1CVegetableManager.html#z884_6">render</a>(), you must call this method (else nlassert). +<p> +It creates the necessary models in the scene, to manage AlphaBlending correctly. Those models are deleted in the object dtor. +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00156">156</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00392">_NumZSortBlendLayers</a>, <a class="el" href="vegetable__manager_8h-source.html#l00395">_ZSortModelLayers</a>, <a class="el" href="vegetable__manager_8h-source.html#l00397">_ZSortModelLayersUW</a>, <a class="el" href="vegetable__manager_8h-source.html#l00394">_ZSortScene</a>, <a class="el" href="vegetable__manager_8h-source.html#l00287">CVegetableBlendLayerModel</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="vegetable__blend__layer__model_8h-source.html#l00045">NL3D::VegetableBlendLayerModelId</a>. </td> + </tr> +</table> +<a name="z882_1" doxytag="NL3D::CVegetableManager::deleteClipBlock"></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::CVegetableManager::deleteClipBlock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>clipBlock</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +delete such a clipBlock. all sortBlocks and so all ig must be deleted before. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00685">685</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00289">_ClipBlockMemory</a>, <a class="el" href="vegetable__manager_8h-source.html#l00296">_EmptyClipBlockList</a>, <a class="el" href="block__memory_8h-source.html#l00141">NLMISC::CBlockMemory< CVegetableClipBlock >::free</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z882_5" doxytag="NL3D::CVegetableManager::deleteIg"></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::CVegetableManager::deleteIg </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>ig</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +delete such an ig. +<p> +After doing this, you must call igSortBlockOwner->updateSortBlock() If the sortBlock has many Igs, you can do it after deleting all your igs. +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00771">771</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00294">_ClipBlockList</a>, <a class="el" href="vegetable__manager_8h-source.html#l00296">_EmptyClipBlockList</a>, <a class="el" href="vegetable__manager_8h-source.html#l00291">_InstanceGroupMemory</a>, <a class="el" href="vegetable__manager_8h-source.html#l00428">_ULCurrentIgInstance</a>, <a class="el" href="vegetable__manager_8h-source.html#l00427">_ULCurrentIgRdrPass</a>, <a class="el" href="vegetable__manager_8h-source.html#l00423">_ULNTotalVertices</a>, <a class="el" href="vegetable__manager_8h-source.html#l00425">_ULRootIg</a>, <a class="el" href="block__memory_8h-source.html#l00141">NLMISC::CBlockMemory< CVegetableInstanceGroup >::free</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00182">getVBAllocatorForRdrPassAndVBHardMode</a>, <a class="el" href="vegetable__def_8h-source.html#l00037">NL3D_VEGETABLE_NRDRPASS</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z882_3" doxytag="NL3D::CVegetableManager::deleteSortBlock"></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::CVegetableManager::deleteSortBlock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableSortBlock.html">CVegetableSortBlock</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>sortBlock</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +delete such a SortBlock. all ig must be deleted before. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00720">720</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00290">_SortBlockMemory</a>, <a class="el" href="block__memory_8h-source.html#l00141">NLMISC::CBlockMemory< CVegetableSortBlock >::free</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="f0" doxytag="NL3D::CVegetableManager::doubleSidedRdrPass"></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::CVegetableManager::doubleSidedRdrPass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>rdrPass</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [static, private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l01669">1669</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__def_8h-source.html#l00037">NL3D_VEGETABLE_NRDRPASS</a>, <a class="el" href="vegetable__def_8h-source.html#l00039">NL3D_VEGETABLE_RDRPASS_LIGHTED_2SIDED</a>, <a class="el" href="vegetable__def_8h-source.html#l00041">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED</a>, <a class="el" href="vegetable__def_8h-source.html#l00042">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED_ZSORT</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02248">setupRenderStateForBlendLayerModel</a>. </td> + </tr> +</table> +<a name="z891_0" doxytag="NL3D::CVegetableManager::doUpdateLighting"></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::CVegetableManager::doUpdateLighting </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +update lighting according to _ULNVerticesToUpdate. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02381">2381</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00421">_ULNVerticesToUpdate</a>, <a class="el" href="vegetable__manager_8h-source.html#l00425">_ULRootIg</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02407">updateLightingIGPart</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l02347">updateLighting</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02370">updateLightingAll</a>. </td> + </tr> +</table> +<a name="z890_1" doxytag="NL3D::CVegetableManager::exitRenderStateForBlendLayerModel"></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::CVegetableManager::exitRenderStateForBlendLayerModel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>driver</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02296">2296</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00380">_BkupFog</a>. </td> + </tr> +</table> +<a name="z887_1" doxytag="NL3D::CVegetableManager::getNumVegetableFaceRendered"></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::CVegetableManager::getNumVegetableFaceRendered </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the number of faces rendered by the vegetable manager. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02289">2289</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00322">_NumVegetableFaceRendered</a>. </td> + </tr> +</table> +<a name="c0" doxytag="NL3D::CVegetableManager::getRdrPassInfoForShape"></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::CVegetableManager::getRdrPassInfoForShape </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableShape.html">CVegetableShape</a> * </td> + <td class="mdname" nowrap> <em>shape</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CVegetableManager.html#s4">TVegetableWater</a> </td> + <td class="mdname" nowrap> <em>vegetWaterState</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>instanceLighted</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>instanceDoubleSided</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>instanceZSort</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>destLighted</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool & </td> + <td class="mdname" nowrap> <em>precomputeLighting</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the rdrPass and other info for a given shape. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00882">882</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="classNL3D_1_1CVegetableManager.html#s4s2">IntersectWater</a>, <a class="el" href="vegetable__def_8h-source.html#l00038">NL3D_VEGETABLE_RDRPASS_LIGHTED</a>, <a class="el" href="vegetable__def_8h-source.html#l00039">NL3D_VEGETABLE_RDRPASS_LIGHTED_2SIDED</a>, <a class="el" href="vegetable__def_8h-source.html#l00040">NL3D_VEGETABLE_RDRPASS_UNLIT</a>, <a class="el" href="vegetable__def_8h-source.html#l00041">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED</a>, and <a class="el" href="vegetable__def_8h-source.html#l00042">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED_ZSORT</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01148">addInstance</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l00921">reserveIgAddInstances</a>. </td> + </tr> +</table> +<a name="c1" doxytag="NL3D::CVegetableManager::getVBAllocatorForRdrPassAndVBHardMode"></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_1CVegetableVBAllocator.html">CVegetableVBAllocator</a> & NL3D::CVegetableManager::getVBAllocatorForRdrPassAndVBHardMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>rdrPass</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>vbHardMode</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the good allocator for the appropriate rdr pass. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00182">182</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00306">_VBHardAllocator</a>, <a class="el" href="vegetable__manager_8h-source.html#l00308">_VBSoftAllocator</a>, <a class="el" href="vegetable__def_8h-source.html#l00038">NL3D_VEGETABLE_RDRPASS_LIGHTED</a>, <a class="el" href="vegetable__def_8h-source.html#l00039">NL3D_VEGETABLE_RDRPASS_LIGHTED_2SIDED</a>, <a class="el" href="vegetable__def_8h-source.html#l00040">NL3D_VEGETABLE_RDRPASS_UNLIT</a>, <a class="el" href="vegetable__def_8h-source.html#l00041">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED</a>, <a class="el" href="vegetable__def_8h-source.html#l00042">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED_ZSORT</a>, and <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01148">addInstance</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00771">deleteIg</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01605">swapIgRdrPassHardMode</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02473">updateInstanceLighting</a>. </td> + </tr> +</table> +<a name="z881_0" doxytag="NL3D::CVegetableManager::getVegetableShape"></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_1CVegetableShape.html">CVegetableShape</a> * NL3D::CVegetableManager::getVegetableShape </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>shape</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Load a shape if necessary, and return a shapeId for this shape. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00846">846</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00302">_ShapeMap</a>, <a class="el" href="vegetable__manager_8h-source.html#l00301">ItShapeMap</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="c2" doxytag="NL3D::CVegetableManager::initVertexProgram"></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::CVegetableManager::initVertexProgram </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>vpType</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +init the ith vertexProgram. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00611">611</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00448">_LastDriver</a>, <a class="el" href="vegetable__manager_8h-source.html#l00310">_VertexProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00460">NL3D::NL3D_BendProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00577">NL3D::NL3D_CommonEndVegetableProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00316">NL3D::NL3D_FastBendProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00492">NL3D::NL3D_LightedMiddle1SidedVegetableProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00501">NL3D::NL3D_LightedMiddle2SidedVegetableProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00471">NL3D::NL3D_LightedStartVegetableProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00558">NL3D::NL3D_UnlitMiddle1SidedAlphaBlendVegetableProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00528">NL3D::NL3D_UnlitMiddle1SidedVegetableProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00543">NL3D::NL3D_UnlitMiddle2SidedAlphaBlendVegetableProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00535">NL3D::NL3D_UnlitMiddle2SidedVegetableProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00523">NL3D::NL3D_UnlitStartVegetableProgram</a>, <a class="el" href="vegetable__def_8h-source.html#l00038">NL3D_VEGETABLE_RDRPASS_LIGHTED</a>, <a class="el" href="vegetable__def_8h-source.html#l00039">NL3D_VEGETABLE_RDRPASS_LIGHTED_2SIDED</a>, <a class="el" href="vegetable__def_8h-source.html#l00040">NL3D_VEGETABLE_RDRPASS_UNLIT</a>, <a class="el" href="vegetable__def_8h-source.html#l00041">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED</a>, <a class="el" href="vegetable__def_8h-source.html#l00042">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED_ZSORT</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01678">updateDriver</a>. </td> + </tr> +</table> +<a name="z884_2" doxytag="NL3D::CVegetableManager::loadTexture"></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::CVegetableManager::loadTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>itex</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup a global texture used for all vegetables (smartPtr-ized). +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l01713">1713</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00314">_VegetableMaterial</a>. </td> + </tr> +</table> +<a name="z884_1" doxytag="NL3D::CVegetableManager::loadTexture"></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::CVegetableManager::loadTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>texName</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +load a global texture used for all vegetables (lookup into CPath). +<p> + </td> + </tr> +</table> +<a name="z884_4" doxytag="NL3D::CVegetableManager::lockBuffers"></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::CVegetableManager::lockBuffers </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +lock any AGP vertex buffers. +<p> +Do it wisely (just one time before refine as example). You MUST enclose calls to <a class="el" href="classNL3D_1_1CVegetableManager.html#z883_2">addInstance</a>() (and so <a class="el" href="classNL3D_1_1CVegetable.html#a5">CVegetable::generateInstance</a>()) with <a class="el" href="classNL3D_1_1CVegetableManager.html#z884_4">lockBuffers</a>() / <a class="el" href="classNL3D_1_1CVegetableManager.html#z884_5">unlockBuffers</a>(). +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l01731">1731</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00306">_VBHardAllocator</a>, and <a class="el" href="vegetable__manager_8h-source.html#l00308">_VBSoftAllocator</a>. </td> + </tr> +</table> +<a name="z884_6" doxytag="NL3D::CVegetableManager::render"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CVegetableManager::render </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname" nowrap> <em>viewCenter</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CVector & </td> + <td class="mdname" nowrap> <em>frontVector</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::vector< CPlane > & </td> + <td class="mdname" nowrap> <em>pyramid</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> * </td> + <td class="mdname" nowrap> <em>textureDLM</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> * </td> + <td class="mdname" nowrap> <em>driver</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +render the manager into a driver, with current viewMatrix/frustum/fog setuped Buffers should be unlocked. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>textureDLM</em> </td><td> +is the dynamic lightmap to use. can be NULL if don't want DLM </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l01822">1822</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00378">_AngleAxis</a>, <a class="el" href="vegetable__manager_8h-source.html#l00294">_ClipBlockList</a>, <a class="el" href="vegetable__manager_8h-source.html#l00366">_CosTable</a>, <a class="el" href="vegetable__manager_8h-source.html#l00382">_ManagerMatrix</a>, <a class="el" href="vegetable__manager_8h-source.html#l00322">_NumVegetableFaceRendered</a>, <a class="el" href="vegetable__manager_8h-source.html#l00392">_NumZSortBlendLayers</a>, <a class="el" href="vegetable__manager_8h-source.html#l00360">_Time</a>, <a class="el" href="vegetable__manager_8h-source.html#l00314">_VegetableMaterial</a>, <a class="el" href="vegetable__manager_8h-source.html#l00310">_VertexProgram</a>, <a class="el" href="vegetable__manager_8h-source.html#l00379">_ViewCenter</a>, <a class="el" href="vegetable__manager_8h-source.html#l00363">_WindAnimTime</a>, <a class="el" href="vegetable__manager_8h-source.html#l00358">_WindBendMin</a>, <a class="el" href="vegetable__manager_8h-source.html#l00369">_WindDeltaTable</a>, <a class="el" href="vegetable__manager_8h-source.html#l00355">_WindDirection</a>, <a class="el" href="vegetable__manager_8h-source.html#l00356">_WindFrequency</a>, <a class="el" href="vegetable__manager_8h-source.html#l00357">_WindPower</a>, <a class="el" href="vegetable__manager_8h-source.html#l00361">_WindPrecRenderTime</a>, <a class="el" href="vegetable__manager_8h-source.html#l00368">_WindTable</a>, <a class="el" href="vegetable__manager_8h-source.html#l00393">_ZSortLayerDistMax</a>, <a class="el" href="vegetable__manager_8h-source.html#l00395">_ZSortModelLayers</a>, <a class="el" href="vegetable__manager_8h-source.html#l00397">_ZSortModelLayersUW</a>, <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01669">doubleSidedRdrPass</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00182">getVBAllocatorForRdrPassAndVBHardMode</a>, <a class="el" href="hierarchical__timer_8h-source.html#l00054">H_AUTO</a>, <a class="el" href="matrix_8cpp-source.html#l00200">NLMISC::CMatrix::identity</a>, <a class="el" href="vegetable__def_8h-source.html#l00061">NL3D_VEGETABLE_FREQUENCY_FACTOR_PREC</a>, <a class="el" href="vegetable__def_8h-source.html#l00037">NL3D_VEGETABLE_NRDRPASS</a>, <a class="el" href="vegetable__def_8h-source.html#l00057">NL3D_VEGETABLE_NUM_QUADRANT</a>, <a class="el" href="vegetable__def_8h-source.html#l00042">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED_ZSORT</a>, <a class="el" href="vegetable__def_8h-source.html#l00046">NL3D_VEGETABLE_VP_LUT_SIZE</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00313">nlverify</a>, <a class="el" href="fast__floor_8h-source.html#l00125">NL3D::OptFastFloor</a>, <a class="el" href="matrix_8cpp-source.html#l00267">NLMISC::CMatrix::setPos</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01773">setupVertexProgramConstants</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01678">updateDriver</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00233">z</a>. </td> + </tr> +</table> +<a name="z883_0" doxytag="NL3D::CVegetableManager::reserveIgAddInstances"></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::CVegetableManager::reserveIgAddInstances </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableInstanceGroupReserve.html">CVegetableInstanceGroupReserve</a> & </td> + <td class="mdname" nowrap> <em>vegetIgReserve</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CVegetableShape.html">CVegetableShape</a> * </td> + <td class="mdname" nowrap> <em>shape</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1CVegetableManager.html#s4">TVegetableWater</a> </td> + <td class="mdname" nowrap> <em>vegetWaterState</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>numInstances</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +reserve some instance space in an Ig. +<p> +nothing is really done here, after doing this for all shapes of your ig, you must call <a class="el" href="classNL3D_1_1CVegetableManager.html#z883_1">reserveIgCompile</a>() <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>vegetIgReserve</em> </td><td> +the object where space required for the ig is added </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00921">921</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8cpp-source.html#l00882">getRdrPassInfoForShape</a>. </td> + </tr> +</table> +<a name="z883_1" doxytag="NL3D::CVegetableManager::reserveIgCompile"></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::CVegetableManager::reserveIgCompile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> * </td> + <td class="mdname" nowrap> <em>ig</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNL3D_1_1CVegetableInstanceGroupReserve.html">CVegetableInstanceGroupReserve</a> & </td> + <td class="mdname" nowrap> <em>vegetIgReserve</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +reserve the space in the ig. +<p> +<a class="el" href="debug_8h.html#a6">nlassert</a>() if the ig is not empty. <dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CVegetableManager.html#z883_0">reserveIgAddInstances</a>() </dl> +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l00947">947</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__def_8h-source.html#l00037">NL3D_VEGETABLE_NRDRPASS</a>, <a class="el" href="vegetable__def_8h-source.html#l00057">NL3D_VEGETABLE_NUM_QUADRANT</a>, <a class="el" href="vegetable__def_8h-source.html#l00042">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED_ZSORT</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z887_0" doxytag="NL3D::CVegetableManager::resetNumVegetableFaceRendered"></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::CVegetableManager::resetNumVegetableFaceRendered </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set to 0 the number of faces rendered. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02282">2282</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00322">_NumVegetableFaceRendered</a>. </td> + </tr> +</table> +<a name="z884_3" doxytag="NL3D::CVegetableManager::setDirectionalLight"></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::CVegetableManager::setDirectionalLight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CRGBA & </td> + <td class="mdname" nowrap> <em>ambient</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CRGBA & </td> + <td class="mdname" nowrap> <em>diffuse</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CVector & </td> + <td class="mdname" nowrap> <em>light</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the directional light. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l01721">1721</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00316">_DirectionalLight</a>, <a class="el" href="vegetable__manager_8h-source.html#l00317">_GlobalAmbient</a>, and <a class="el" href="vegetable__manager_8h-source.html#l00318">_GlobalDiffuse</a>. </td> + </tr> +</table> +<a name="z885_1" doxytag="NL3D::CVegetableManager::setTime"></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::CVegetableManager::setTime </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname1" valign="top" nowrap> <em>time</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the current Time (in seconds). +<p> +For Wind animation +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02325">2325</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00360">_Time</a>. </td> + </tr> +</table> +<a name="z886_2" doxytag="NL3D::CVegetableManager::setUpdateLightingFrequency"></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::CVegetableManager::setUpdateLightingFrequency </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>freq</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the frequency of lighting update. +<p> +If freq==1, ALL lighted igs are updated each second. e.g: if 1/20, then every 20 seconds, all Igs are updated. If you set 0, no update will be done at all (this is the default setup!!). +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02399">2399</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00419">_ULFrequency</a>. </td> + </tr> +</table> +<a name="z886_0" doxytag="NL3D::CVegetableManager::setUpdateLightingTime"></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::CVegetableManager::setUpdateLightingTime </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">double </td> + <td class="mdname1" valign="top" nowrap> <em>time</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the vegetable manager System Time (in seconds) This time is used for lighting update, and is independent of <a class="el" href="classNL3D_1_1CVegetableManager.html#z885_1">setTime</a>(). +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02340">2340</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00416">_ULTime</a>. </td> + </tr> +</table> +<a name="z890_0" doxytag="NL3D::CVegetableManager::setupRenderStateForBlendLayerModel"></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::CVegetableManager::setupRenderStateForBlendLayerModel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>driver</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +called by <a class="el" href="classNL3D_1_1CVegetableBlendLayerModel.html">CVegetableBlendLayerModel</a>. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02248">2248</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00380">_BkupFog</a>, <a class="el" href="vegetable__manager_8h-source.html#l00382">_ManagerMatrix</a>, <a class="el" href="vegetable__manager_8h-source.html#l00314">_VegetableMaterial</a>, <a class="el" href="vegetable__manager_8h-source.html#l00310">_VertexProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01669">doubleSidedRdrPass</a>, <a class="el" href="vegetable__def_8h-source.html#l00042">NL3D_VEGETABLE_RDRPASS_UNLIT_2SIDED_ZSORT</a>, <a class="el" href="debug_8h-source.html#l00313">nlverify</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01773">setupVertexProgramConstants</a>. </td> + </tr> +</table> +<a name="c3" doxytag="NL3D::CVegetableManager::setupVertexProgramConstants"></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::CVegetableManager::setupVertexProgramConstants </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>driver</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the vertexProgram constants. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l01773">1773</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00378">_AngleAxis</a>, <a class="el" href="vegetable__manager_8h-source.html#l00316">_DirectionalLight</a>, <a class="el" href="vegetable__manager_8h-source.html#l00379">_ViewCenter</a>, <a class="el" href="vegetable__manager_8h-source.html#l00363">_WindAnimTime</a>, <a class="el" href="vegetable__manager_8h-source.html#l00358">_WindBendMin</a>, <a class="el" href="vegetable__manager_8h-source.html#l00369">_WindDeltaTable</a>, <a class="el" href="vegetable__manager_8h-source.html#l00357">_WindPower</a>, <a class="el" href="vegetable__manager_8h-source.html#l00368">_WindTable</a>, <a class="el" href="vegetable__def_8h-source.html#l00053">NL3D_VEGETABLE_BLOCK_BLEND_TRANSITION_DIST</a>, <a class="el" href="vegetable__def_8h-source.html#l00046">NL3D_VEGETABLE_VP_LUT_SIZE</a>, and <a class="el" href="common_8h-source.html#l00071">NLMISC::Pi</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02248">setupRenderStateForBlendLayerModel</a>. </td> + </tr> +</table> +<a name="z885_0" doxytag="NL3D::CVegetableManager::setWind"></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::CVegetableManager::setWind </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname" nowrap> <em>windDir</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>windFreq</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>windPower</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>windBendMin</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the Wind for animation. +<p> +All thoses variables may be modified each frame without penalty.<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>windDir</em> </td><td> +is the direction of the wind. NB: only XY direction is kept. </td></tr> +<tr><td valign=top><em>windFreq</em> </td><td> +is the frequency for the animation (speed) </td></tr> +<tr><td valign=top><em>windPower</em> </td><td> +is the power of the wind, and is a factor (0..1) of Bend </td></tr> +<tr><td valign=top><em>windBendMin</em> </td><td> +is a value in (0..1) which indicate how much the vegetables are bended at minimum (for very powerfull wind) </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02311">2311</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00358">_WindBendMin</a>, <a class="el" href="vegetable__manager_8h-source.html#l00355">_WindDirection</a>, <a class="el" href="vegetable__manager_8h-source.html#l00356">_WindFrequency</a>, <a class="el" href="vegetable__manager_8h-source.html#l00357">_WindPower</a>, and <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>. </td> + </tr> +</table> +<a name="c4" doxytag="NL3D::CVegetableManager::swapIgRdrPassHardMode"></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::CVegetableManager::swapIgRdrPassHardMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> * </td> + <td class="mdname" nowrap> , </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>rdrPass</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +swap the RdrPass type (hard or soft) of the rdrPass of an instance group. +<p> +vertices are allocated in other VBallocator, copied and freed in the old VBallocator. +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l01605">1605</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8cpp-source.html#l00182">getVBAllocatorForRdrPassAndVBHardMode</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01148">addInstance</a>. </td> + </tr> +</table> +<a name="z884_5" doxytag="NL3D::CVegetableManager::unlockBuffers"></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::CVegetableManager::unlockBuffers </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +unlock any AGP vertex buffers. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l01742">1742</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00306">_VBHardAllocator</a>, and <a class="el" href="vegetable__manager_8h-source.html#l00308">_VBSoftAllocator</a>. </td> + </tr> +</table> +<a name="z884_0" doxytag="NL3D::CVegetableManager::updateDriver"></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::CVegetableManager::updateDriver </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1IDriver.html">IDriver</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>driver</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +must give a driver to the vegetableManager, before any <a class="el" href="classNL3D_1_1CVegetableManager.html#z883_2">addInstance</a>(). +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l01678">1678</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00448">_LastDriver</a>, <a class="el" href="vegetable__manager_8h-source.html#l00306">_VBHardAllocator</a>, <a class="el" href="vegetable__manager_8h-source.html#l00308">_VBSoftAllocator</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00611">initVertexProgram</a>, and <a class="el" href="vegetable__def_8h-source.html#l00037">NL3D_VEGETABLE_NRDRPASS</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>. </td> + </tr> +</table> +<a name="z891_2" doxytag="NL3D::CVegetableManager::updateInstanceLighting"></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::CVegetableManager::updateInstanceLighting </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a> * </td> + <td class="mdname" nowrap> <em>ig</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>rdrPassId</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>instanceId</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +update part of an ig. +<p> +Do not use/modify _UL* return number of vertices processed (nb vertices of the shape) +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02473">2473</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00316">_DirectionalLight</a>, <a class="el" href="vegetable__manager_8h-source.html#l00317">_GlobalAmbient</a>, <a class="el" href="vegetable__manager_8h-source.html#l00318">_GlobalDiffuse</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01004">NL3D::computeVegetVertexLighting</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01086">NL3D::computeVegetVertexLightingForceBestSided</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00182">getVBAllocatorForRdrPassAndVBHardMode</a>, <a class="el" href="vegetable__def_8h-source.html#l00037">NL3D_VEGETABLE_NRDRPASS</a>, <a class="el" href="vegetablevb__allocator_8h-source.html#l00041">NL3D_VEGETABLE_VPPOS_COLOR0</a>, <a class="el" href="vegetablevb__allocator_8h-source.html#l00042">NL3D_VEGETABLE_VPPOS_COLOR1</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l02407">updateLightingIGPart</a>. </td> + </tr> +</table> +<a name="z886_1" doxytag="NL3D::CVegetableManager::updateLighting"></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::CVegetableManager::updateLighting </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +update the lighting of Igs, within a certain amount of time. +<p> +You MUST enclose calls to <a class="el" href="classNL3D_1_1CVegetableManager.html#z886_1">updateLighting</a>() with <a class="el" href="classNL3D_1_1CVegetableManager.html#z884_4">lockBuffers</a>() / <a class="el" href="classNL3D_1_1CVegetableManager.html#z884_5">unlockBuffers</a>(). +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02347">2347</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00419">_ULFrequency</a>, <a class="el" href="vegetable__manager_8h-source.html#l00423">_ULNTotalVertices</a>, <a class="el" href="vegetable__manager_8h-source.html#l00421">_ULNVerticesToUpdate</a>, <a class="el" href="vegetable__manager_8h-source.html#l00414">_ULPrecTime</a>, <a class="el" href="vegetable__manager_8h-source.html#l00415">_ULPrecTimeInit</a>, <a class="el" href="vegetable__manager_8h-source.html#l00416">_ULTime</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l02381">doUpdateLighting</a>, and <a class="el" href="bit__set_8cpp-source.html#l00038">min</a>. </td> + </tr> +</table> +<a name="z886_3" doxytag="NL3D::CVegetableManager::updateLightingAll"></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::CVegetableManager::updateLightingAll </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +like <a class="el" href="classNL3D_1_1CVegetableManager.html#z886_1">updateLighting</a>(), but update ALL vegetable You MUST enclose calls to <a class="el" href="classNL3D_1_1CVegetableManager.html#z886_1">updateLighting</a>() with <a class="el" href="classNL3D_1_1CVegetableManager.html#z884_4">lockBuffers</a>() / <a class="el" href="classNL3D_1_1CVegetableManager.html#z884_5">unlockBuffers</a>(). +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02370">2370</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00423">_ULNTotalVertices</a>, <a class="el" href="vegetable__manager_8h-source.html#l00421">_ULNVerticesToUpdate</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02381">doUpdateLighting</a>. </td> + </tr> +</table> +<a name="z891_1" doxytag="NL3D::CVegetableManager::updateLightingIGPart"></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::CVegetableManager::updateLightingIGPart </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +update part of the RootIg, according to _ULNVerticesToUpdate (while > 0) if all Ig is updated, return true and _ULCurrentIgRdrPass and _ULCurrentIgInstance is updated. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8cpp-source.html#l02407">2407</a> of file <a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a>. +<p> +References <a class="el" href="vegetable__manager_8h-source.html#l00428">_ULCurrentIgInstance</a>, <a class="el" href="vegetable__manager_8h-source.html#l00427">_ULCurrentIgRdrPass</a>, <a class="el" href="vegetable__manager_8h-source.html#l00421">_ULNVerticesToUpdate</a>, <a class="el" href="vegetable__manager_8h-source.html#l00425">_ULRootIg</a>, <a class="el" href="vegetable__def_8h-source.html#l00037">NL3D_VEGETABLE_NRDRPASS</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02473">updateInstanceLighting</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l02381">doUpdateLighting</a>. </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a name="l0" doxytag="NL3D::CVegetableManager::CVegetableBlendLayerModel"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> friend class CVegetableBlendLayerModel<code> [friend]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00287">287</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00156">createVegetableBlendLayersModels</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="z889_0" doxytag="NL3D::CVegetableManager::_AngleAxis"></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"> CVector NL3D::CVegetableManager::_AngleAxis<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00378">378</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01773">setupVertexProgramConstants</a>. </td> + </tr> +</table> +<a name="z889_2" doxytag="NL3D::CVegetableManager::_BkupFog"></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::CVegetableManager::_BkupFog<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00380">380</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l02296">exitRenderStateForBlendLayerModel</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02248">setupRenderStateForBlendLayerModel</a>. </td> + </tr> +</table> +<a name="o3" doxytag="NL3D::CVegetableManager::_ClipBlockList"></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_1CTessList.html">CTessList</a><<a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a>> NL3D::CVegetableManager::_ClipBlockList<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00294">294</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00737">createIg</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00771">deleteIg</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NL3D::CVegetableManager::_ClipBlockMemory"></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_1CBlockMemory.html">NLMISC::CBlockMemory</a><<a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a>> NL3D::CVegetableManager::_ClipBlockMemory<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00289">289</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00672">createClipBlock</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l00685">deleteClipBlock</a>. </td> + </tr> +</table> +<a name="z888_7" doxytag="NL3D::CVegetableManager::_CosTable"></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::CVegetableManager::_CosTable[NL3D_VEGETABLE_VP_LUT_SIZE]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00366">366</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>. </td> + </tr> +</table> +<a name="o10" doxytag="NL3D::CVegetableManager::_DirectionalLight"></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"> CVector NL3D::CVegetableManager::_DirectionalLight<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00316">316</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01148">addInstance</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01721">setDirectionalLight</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01773">setupVertexProgramConstants</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02473">updateInstanceLighting</a>. </td> + </tr> +</table> +<a name="o4" doxytag="NL3D::CVegetableManager::_EmptyClipBlockList"></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_1CTessList.html">CTessList</a><<a class="el" href="classNL3D_1_1CVegetableClipBlock.html">CVegetableClipBlock</a>> NL3D::CVegetableManager::_EmptyClipBlockList<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00296">296</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00672">createClipBlock</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00737">createIg</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00685">deleteClipBlock</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l00771">deleteIg</a>. </td> + </tr> +</table> +<a name="o11" doxytag="NL3D::CVegetableManager::_GlobalAmbient"></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_1CRGBA.html">NLMISC::CRGBA</a> NL3D::CVegetableManager::_GlobalAmbient<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00317">317</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01148">addInstance</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01721">setDirectionalLight</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02473">updateInstanceLighting</a>. </td> + </tr> +</table> +<a name="o12" doxytag="NL3D::CVegetableManager::_GlobalDiffuse"></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_1CRGBA.html">NLMISC::CRGBA</a> NL3D::CVegetableManager::_GlobalDiffuse<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00318">318</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01148">addInstance</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01721">setDirectionalLight</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02473">updateInstanceLighting</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NL3D::CVegetableManager::_InstanceGroupMemory"></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_1CBlockMemory.html">NLMISC::CBlockMemory</a><<a class="el" href="classNL3D_1_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a>> NL3D::CVegetableManager::_InstanceGroupMemory<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00291">291</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00737">createIg</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l00771">deleteIg</a>. </td> + </tr> +</table> +<a name="o14" doxytag="NL3D::CVegetableManager::_LastDriver"></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_1CRefPtr.html">NLMISC::CRefPtr</a><<a class="el" href="classNL3D_1_1IDriver.html">IDriver</a>> NL3D::CVegetableManager::_LastDriver<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00448">448</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00611">initVertexProgram</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01678">updateDriver</a>. </td> + </tr> +</table> +<a name="z889_3" doxytag="NL3D::CVegetableManager::_ManagerMatrix"></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_1CMatrix.html">NLMISC::CMatrix</a> NL3D::CVegetableManager::_ManagerMatrix<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00382">382</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02248">setupRenderStateForBlendLayerModel</a>. </td> + </tr> +</table> +<a name="o13" doxytag="NL3D::CVegetableManager::_NumVegetableFaceRendered"></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::CVegetableManager::_NumVegetableFaceRendered<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +profile. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00322">322</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l02289">getNumVegetableFaceRendered</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02282">resetNumVegetableFaceRendered</a>. </td> + </tr> +</table> +<a name="z890_2" doxytag="NL3D::CVegetableManager::_NumZSortBlendLayers"></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::CVegetableManager::_NumZSortBlendLayers<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +For Alpha Blend rdrPass, ordering into layers. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00392">392</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00156">createVegetableBlendLayersModels</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l00129">~CVegetableManager</a>. </td> + </tr> +</table> +<a name="o5" doxytag="NL3D::CVegetableManager::_ShapeMap"></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_1CVegetableManager.html#u0">TShapeMap</a> NL3D::CVegetableManager::_ShapeMap<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00302">302</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00846">getVegetableShape</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NL3D::CVegetableManager::_SortBlockMemory"></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_1CBlockMemory.html">NLMISC::CBlockMemory</a><<a class="el" href="classNL3D_1_1CVegetableSortBlock.html">CVegetableSortBlock</a>> NL3D::CVegetableManager::_SortBlockMemory<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00290">290</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00702">createSortBlock</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l00720">deleteSortBlock</a>. </td> + </tr> +</table> +<a name="z888_4" doxytag="NL3D::CVegetableManager::_Time"></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"> double NL3D::CVegetableManager::_Time<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00360">360</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02325">setTime</a>. </td> + </tr> +</table> +<a name="z891_11" doxytag="NL3D::CVegetableManager::_ULCurrentIgInstance"></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::CVegetableManager::_ULCurrentIgInstance<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00428">428</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00771">deleteIg</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02407">updateLightingIGPart</a>. </td> + </tr> +</table> +<a name="z891_10" doxytag="NL3D::CVegetableManager::_ULCurrentIgRdrPass"></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::CVegetableManager::_ULCurrentIgRdrPass<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Current instance to render in the first ig to update: rdrpass/instanceId. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00427">427</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00771">deleteIg</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02407">updateLightingIGPart</a>. </td> + </tr> +</table> +<a name="z891_6" doxytag="NL3D::CVegetableManager::_ULFrequency"></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::CVegetableManager::_ULFrequency<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Frequency of update. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00419">419</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l02399">setUpdateLightingFrequency</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02347">updateLighting</a>. </td> + </tr> +</table> +<a name="z891_8" doxytag="NL3D::CVegetableManager::_ULNTotalVertices"></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::CVegetableManager::_ULNTotalVertices<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sum of all ig vertices to update. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00423">423</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01148">addInstance</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00771">deleteIg</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l02347">updateLighting</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02370">updateLightingAll</a>. </td> + </tr> +</table> +<a name="z891_7" doxytag="NL3D::CVegetableManager::_ULNVerticesToUpdate"></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::CVegetableManager::_ULNVerticesToUpdate<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Current number of vertices to update. If negative, I have some advance. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00421">421</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l02381">doUpdateLighting</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l02347">updateLighting</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l02370">updateLightingAll</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02407">updateLightingIGPart</a>. </td> + </tr> +</table> +<a name="z891_3" doxytag="NL3D::CVegetableManager::_ULPrecTime"></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"> double NL3D::CVegetableManager::_ULPrecTime<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00414">414</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02347">updateLighting</a>. </td> + </tr> +</table> +<a name="z891_4" doxytag="NL3D::CVegetableManager::_ULPrecTimeInit"></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::CVegetableManager::_ULPrecTimeInit<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00415">415</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02347">updateLighting</a>. </td> + </tr> +</table> +<a name="z891_9" doxytag="NL3D::CVegetableManager::_ULRootIg"></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_1CVegetableInstanceGroup.html">CVegetableInstanceGroup</a>* NL3D::CVegetableManager::_ULRootIg<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +the priority list of ig to update. +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00425">425</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01148">addInstance</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00771">deleteIg</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l02381">doUpdateLighting</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02407">updateLightingIGPart</a>. </td> + </tr> +</table> +<a name="z891_5" doxytag="NL3D::CVegetableManager::_ULTime"></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"> double NL3D::CVegetableManager::_ULTime<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00416">416</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l02340">setUpdateLightingTime</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02347">updateLighting</a>. </td> + </tr> +</table> +<a name="o6" doxytag="NL3D::CVegetableManager::_VBHardAllocator"></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_1CVegetableVBAllocator.html">CVegetableVBAllocator</a> NL3D::CVegetableManager::_VBHardAllocator[CVegetableVBAllocator::VBTypeCount]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00306">306</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00182">getVBAllocatorForRdrPassAndVBHardMode</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01731">lockBuffers</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01742">unlockBuffers</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01678">updateDriver</a>. </td> + </tr> +</table> +<a name="o7" doxytag="NL3D::CVegetableManager::_VBSoftAllocator"></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_1CVegetableVBAllocator.html">CVegetableVBAllocator</a> NL3D::CVegetableManager::_VBSoftAllocator[CVegetableVBAllocator::VBTypeCount]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00308">308</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00182">getVBAllocatorForRdrPassAndVBHardMode</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01731">lockBuffers</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01742">unlockBuffers</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01678">updateDriver</a>. </td> + </tr> +</table> +<a name="o9" doxytag="NL3D::CVegetableManager::_VegetableMaterial"></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_1CMaterial.html">CMaterial</a> NL3D::CVegetableManager::_VegetableMaterial<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00314">314</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01713">loadTexture</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02248">setupRenderStateForBlendLayerModel</a>. </td> + </tr> +</table> +<a name="o8" doxytag="NL3D::CVegetableManager::_VertexProgram"></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_1CVertexProgram.html">CVertexProgram</a>* NL3D::CVegetableManager::_VertexProgram[NL3D_VEGETABLE_NRDRPASS]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00310">310</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00611">initVertexProgram</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l02248">setupRenderStateForBlendLayerModel</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l00129">~CVegetableManager</a>. </td> + </tr> +</table> +<a name="z889_1" doxytag="NL3D::CVegetableManager::_ViewCenter"></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"> CVector NL3D::CVegetableManager::_ViewCenter<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00379">379</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01773">setupVertexProgramConstants</a>. </td> + </tr> +</table> +<a name="z888_6" doxytag="NL3D::CVegetableManager::_WindAnimTime"></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"> double NL3D::CVegetableManager::_WindAnimTime<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00363">363</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01773">setupVertexProgramConstants</a>. </td> + </tr> +</table> +<a name="z888_3" doxytag="NL3D::CVegetableManager::_WindBendMin"></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::CVegetableManager::_WindBendMin<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00358">358</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01773">setupVertexProgramConstants</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02311">setWind</a>. </td> + </tr> +</table> +<a name="z888_9" doxytag="NL3D::CVegetableManager::_WindDeltaTable"></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_1CVector2f.html">NLMISC::CVector2f</a> NL3D::CVegetableManager::_WindDeltaTable[NL3D_VEGETABLE_VP_LUT_SIZE]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00369">369</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01773">setupVertexProgramConstants</a>. </td> + </tr> +</table> +<a name="z888_0" doxytag="NL3D::CVegetableManager::_WindDirection"></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"> CVector NL3D::CVegetableManager::_WindDirection<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00355">355</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02311">setWind</a>. </td> + </tr> +</table> +<a name="z888_1" doxytag="NL3D::CVegetableManager::_WindFrequency"></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::CVegetableManager::_WindFrequency<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00356">356</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02311">setWind</a>. </td> + </tr> +</table> +<a name="z888_2" doxytag="NL3D::CVegetableManager::_WindPower"></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::CVegetableManager::_WindPower<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00357">357</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01773">setupVertexProgramConstants</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l02311">setWind</a>. </td> + </tr> +</table> +<a name="z888_5" doxytag="NL3D::CVegetableManager::_WindPrecRenderTime"></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"> double NL3D::CVegetableManager::_WindPrecRenderTime<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00361">361</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>. </td> + </tr> +</table> +<a name="z888_8" doxytag="NL3D::CVegetableManager::_WindTable"></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_1CVector2f.html">NLMISC::CVector2f</a> NL3D::CVegetableManager::_WindTable[NL3D_VEGETABLE_VP_LUT_SIZE]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00368">368</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l01773">setupVertexProgramConstants</a>. </td> + </tr> +</table> +<a name="z890_3" doxytag="NL3D::CVegetableManager::_ZSortLayerDistMax"></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::CVegetableManager::_ZSortLayerDistMax<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00393">393</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>. </td> + </tr> +</table> +<a name="z890_5" doxytag="NL3D::CVegetableManager::_ZSortModelLayers"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="classNL3D_1_1CVegetableBlendLayerModel.html">CVegetableBlendLayerModel</a>*> NL3D::CVegetableManager::_ZSortModelLayers<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00395">395</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00156">createVegetableBlendLayersModels</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l00129">~CVegetableManager</a>. </td> + </tr> +</table> +<a name="z890_6" doxytag="NL3D::CVegetableManager::_ZSortModelLayersUW"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::vector<<a class="el" href="classNL3D_1_1CVegetableBlendLayerModel.html">CVegetableBlendLayerModel</a>*> NL3D::CVegetableManager::_ZSortModelLayersUW<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00397">397</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00156">createVegetableBlendLayersModels</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l00058">CVegetableManager</a>, <a class="el" href="vegetable__manager_8cpp-source.html#l01822">render</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l00129">~CVegetableManager</a>. </td> + </tr> +</table> +<a name="z890_4" doxytag="NL3D::CVegetableManager::_ZSortScene"></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_1CScene.html">CScene</a>* NL3D::CVegetableManager::_ZSortScene<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="vegetable__manager_8h-source.html#l00394">394</a> of file <a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a>. +<p> +Referenced by <a class="el" href="vegetable__manager_8cpp-source.html#l00156">createVegetableBlendLayersModels</a>, and <a class="el" href="vegetable__manager_8cpp-source.html#l00129">~CVegetableManager</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="vegetable__manager_8h-source.html">vegetable_manager.h</a><li><a class="el" href="vegetable__manager_8cpp-source.html">vegetable_manager.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </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> |