diff options
Diffstat (limited to 'docs/doxygen/nel/a03188.html')
-rw-r--r-- | docs/doxygen/nel/a03188.html | 2257 |
1 files changed, 2257 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03188.html b/docs/doxygen/nel/a03188.html new file mode 100644 index 00000000..14dfe491 --- /dev/null +++ b/docs/doxygen/nel/a03188.html @@ -0,0 +1,2257 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::CPSMultiTexturedParticle class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.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">Data Structures</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">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CPSMultiTexturedParticle Class Reference</h1><code>#include <<a class="el" href="a06258.html">ps_particle_basic.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSMultiTexturedParticle: +<p><center><img src="a03188.png" usemap="#NL3D::CPSMultiTexturedParticle_map" border="0" alt=""></center> +<map name="NL3D::CPSMultiTexturedParticle_map"> +<area href="a03187.html" alt="NL3D::CPSQuad" shape="rect" coords="102,56,296,80"> +<area href="a03186.html" alt="NL3D::CPSFace" shape="rect" coords="0,112,194,136"> +<area href="a03191.html" alt="NL3D::CPSFaceLookAt" shape="rect" coords="204,112,398,136"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This class add multitexturing support to particles. It doesn't support texture animation however. It adds a second texture that is combined with the main texture by using a given operation. An alternate mode must be provided, for gfx boards that doesn't support the op. For now, 2 stages only are supported. +<p> + +<p> +Definition at line <a class="el" href="a06258.html#l00508">508</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> { <br> + <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw2">Add</a> = 0, +<a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw9">Modulate</a>, +<a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw5">Decal</a>, +<a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>, +<br> + <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw7">Last</a> = 0xff +<br> + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">we only use a useful set of operations <a href="#NL3D_1_1CPSQuadw12">More...</a><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSMultiTexturedParticlea0">CPSMultiTexturedParticle</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">ctor <a href="#NL3D_1_1CPSMultiTexturedParticlea0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada8">enableAlternateTex</a> (bool enabled=true)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada10">enableMultiTexture</a> (bool enabled=true)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">when set to false, this discard the textures that have been set <a href="#NL3D_1_1CPSQuada10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSMultiTexturedParticlea3">enumTexs</a> (std::vector< <a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a03487.html">ITexture</a> > > &dest, <a class="el" href="a02434.html">IDriver</a> &drv)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03660.html">NLMISC::CVector2f</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada16">getAlternateScrollSpeed</a> (<a class="el" href="a04558.html#a15">uint</a> stage) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada17">getAlternateTexOp</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada19">getBumpFactor</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada34">getMainTexOp</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03660.html">NLMISC::CVector2f</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada40">getScrollSpeed</a> (<a class="el" href="a04558.html#a15">uint</a> stage) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03487.html">ITexture</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada47">getTexture2</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03487.html">ITexture</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada48">getTexture2</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the main texture for multitexturing. <a href="#NL3D_1_1CPSQuada48"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03487.html">ITexture</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada49">getTexture2Alternate</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03487.html">ITexture</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada50">getTexture2Alternate</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the alternate texture for multitexturing. <a href="#NL3D_1_1CPSQuada50"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada57">getUseLocalDate</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada58">getUseLocalDateAlt</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada67">isAlternateTexEnabled</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada69">isMultiTextureEnabled</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada77">serialMultiTex</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">serial this object <a href="#NL3D_1_1CPSQuada77"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada81">setAlternateScrollSpeed</a> (<a class="el" href="a04558.html#a15">uint</a> stage, const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &sp)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada82">setAlternateTexOp</a> (<a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> op)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the operation for the alternate texture. Convert the texture to / from a bumpmap if needed. <a href="#NL3D_1_1CPSQuada82"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada84">setBumpFactor</a> (float bumpFactor)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set a bump factor (when embm is used). <a href="#NL3D_1_1CPSQuada84"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada89">setMainTexOp</a> (<a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> op)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada91">setScrollSpeed</a> (<a class="el" href="a04558.html#a15">uint</a> stage, const <a class="el" href="a03660.html">NLMISC::CVector2f</a> &sp)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada95">setTexture2</a> (<a class="el" href="a03487.html">ITexture</a> *tex)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the main texture for multitexturing. Convert the texture to / from a bumpmap if needed (so you just provide its heightmap). <a href="#NL3D_1_1CPSQuada95"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada96">setTexture2Alternate</a> (<a class="el" href="a03487.html">ITexture</a> *tex)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the alternate texture for multitexturing. It is used when the main operator is not supported by the gfx board. <a href="#NL3D_1_1CPSQuada96"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada101">setupMaterial</a> (<a class="el" href="a03487.html">ITexture</a> *primary, <a class="el" href="a02434.html">IDriver</a> *drv, <a class="el" href="a02839.html">CMaterial</a> &mat)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada102">setUseLocalDate</a> (bool use)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Use the particle age rather than the global time to compute textures coordinates. <a href="#NL3D_1_1CPSQuada102"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuada103">setUseLocalDateAlt</a> (bool use)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Use the particle age rather than the global time to compute textures coordinates. (when alternate texture is used). <a href="#NL3D_1_1CPSQuada103"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuade0">areBasicCapsForced</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">test wether basic caps are forced <a href="#NL3D_1_1CPSQuade0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuade1">forceBasicCaps</a> (bool force=true)</td></tr> + +<tr><td colspan=2><br><h2>Protected Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadx7">TMultiTexState</a> { <br> + <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx8">TouchFlag</a> = 0x01, +<a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx4">MultiTextureEnabled</a> = 0x02, +<a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx0">AlternateTextureEnabled</a> = 0x04, +<a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx1">AlternateTextureUsed</a> = 0x08, +<br> + <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx3">EnvBumpMapUsed</a> = 0x10, +<a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx2">BasicCapsForced</a> = 0x20, +<a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx5">ScrollUseLocalDate</a> = 0x40, +<a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx6">ScrollUseLocalDateAlternate</a> = 0x80 +<br> + }</td></tr> + +<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadb0">areBasicCapsForcedLocal</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadb9">forceBasicCapsLocal</a> (bool force)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadb15">isAlternateTextureUsed</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">test wether the alternate texture is used <a href="#NL3D_1_1CPSQuadb15"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadb16">isEnvBumpMapUsed</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadb17">isTouched</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadb29">setupMultiTexEnv</a> (<a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> op, <a class="el" href="a03487.html">ITexture</a> *tex1, <a class="el" href="a03487.html">ITexture</a> *tex2, <a class="el" href="a02839.html">CMaterial</a> &mat)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadb30">touch</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadb31">unTouch</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadp1">_AlternateOp</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a03487.html">ITexture</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadp2">_AlternateTexture2</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadp3">_BumpFactor</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadp8">_MainOp</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03660.html">NLMISC::CVector2f</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadp17">_TexScroll</a> [2]</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">texture scrolling <a href="#NL3D_1_1CPSQuadp17"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03660.html">NLMISC::CVector2f</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadp18">_TexScrollAlternate</a> [2]</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">alternate texture scrollMultiTextureEnabled <a href="#NL3D_1_1CPSQuadp18"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a03487.html">ITexture</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a></td></tr> + +<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03188.html#NL3D_1_1CPSQuadt0">_ForceBasicCaps</a> = false</td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSQuadx7" doxytag="NL3D::CPSMultiTexturedParticle::TMultiTexState" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7">NL3D::CPSMultiTexturedParticle::TMultiTexState</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx8" doxytag="TouchFlag" ></a>TouchFlag</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx4" doxytag="MultiTextureEnabled" ></a>MultiTextureEnabled</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx0" doxytag="AlternateTextureEnabled" ></a>AlternateTextureEnabled</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx1" doxytag="AlternateTextureUsed" ></a>AlternateTextureUsed</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx3" doxytag="EnvBumpMapUsed" ></a>EnvBumpMapUsed</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx2" doxytag="BasicCapsForced" ></a>BasicCapsForced</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx5" doxytag="ScrollUseLocalDate" ></a>ScrollUseLocalDate</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx6" doxytag="ScrollUseLocalDateAlternate" ></a>ScrollUseLocalDateAlternate</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06258.html#l00626">626</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +<div class="fragment"><pre>00626 { <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx8">TouchFlag</a> = 0x01, <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx4">MultiTextureEnabled</a> = 0x02, <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx0">AlternateTextureEnabled</a> = 0x04, <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx1">AlternateTextureUsed</a> = 0x08, <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx3">EnvBumpMapUsed</a> = 0x10, <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx2">BasicCapsForced</a> = 0x20, +00627 <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx5">ScrollUseLocalDate</a> = 0x40, <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx6">ScrollUseLocalDateAlternate</a> = 0x80 +00628 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadw12" doxytag="NL3D::CPSMultiTexturedParticle::TOperator" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">NL3D::CPSMultiTexturedParticle::TOperator</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +we only use a useful set of operations +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw2" doxytag="Add" ></a>Add</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw9" doxytag="Modulate" ></a>Modulate</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw5" doxytag="Decal" ></a>Decal</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6" doxytag="EnvBumpMap" ></a>EnvBumpMap</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw7" doxytag="Last" ></a>Last</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06258.html#l00515">515</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="a06258.html#l00550">getAlternateTexOp()</a>, and <a class="el" href="a06258.html#l00533">getMainTexOp()</a>. +<p> +<div class="fragment"><pre>00515 { <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw2">Add</a> = 0, <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw9">Modulate</a>, <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw5">Decal</a>, <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>, <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw7">Last</a> = 0xff }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSMultiTexturedParticlea0" doxytag="NL3D::CPSMultiTexturedParticle::CPSMultiTexturedParticle" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CPSMultiTexturedParticle::CPSMultiTexturedParticle </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> +ctor +<p> + +<p> +Definition at line <a class="el" href="a06257.html#l00631">631</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +<div class="fragment"><pre>00631 : <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a>(TouchFlag), <a class="code" href="a03188.html#NL3D_1_1CPSQuadp3">_BumpFactor</a>(1.f) +00632 { +00633 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSQuade0" doxytag="NL3D::CPSMultiTexturedParticle::areBasicCapsForced" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSMultiTexturedParticle::areBasicCapsForced </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> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +test wether basic caps are forced +<p> + +<p> +Definition at line <a class="el" href="a06258.html#l00598">598</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06257.html#l00628">_ForceBasicCaps</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00733">setupMaterial()</a>. +<p> +<div class="fragment"><pre>00598 { <span class="keywordflow">return</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadt0">_ForceBasicCaps</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadb0" doxytag="NL3D::CPSMultiTexturedParticle::areBasicCapsForcedLocal" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSMultiTexturedParticle::areBasicCapsForcedLocal </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<code> [inline, protected]</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="a06258.html#l00638">638</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, and <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx2">BasicCapsForced</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00733">setupMaterial()</a>. +<p> +<div class="fragment"><pre>00638 { <span class="keywordflow">return</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> & <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx2">BasicCapsForced</a>) != 0; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada8" doxytag="NL3D::CPSMultiTexturedParticle::enableAlternateTex" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::enableAlternateTex </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enabled</em> = true </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="a06257.html#l00656">656</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00617">_AlternateOp</a>, <a class="el" href="a06258.html#l00629">_MultiTexState</a>, <a class="el" href="a06258.html#l00624">_TexScrollAlternate</a>, <a class="el" href="a06258.html#l00618">_Texture2</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx0">AlternateTextureEnabled</a>, <a class="el" href="a06258.html#l00537">isAlternateTexEnabled()</a>, <a class="el" href="a06258.html#l00519">isMultiTextureEnabled()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06677.html#l00110">NLMISC::CVector2f::set()</a>, <a class="el" href="a06258.html#l00635">touch()</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00657 { +00658 <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a03188.html#NL3D_1_1CPSQuada69">isMultiTextureEnabled</a>()); <span class="comment">// multitexturing must have been enabled first</span> +00659 <span class="keywordflow">if</span> (enabled == <a class="code" href="a03188.html#NL3D_1_1CPSQuada67">isAlternateTexEnabled</a>()) <span class="keywordflow">return</span>; +00660 +00661 <span class="keywordflow">if</span> (enabled) +00662 { +00663 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp18">_TexScrollAlternate</a>[0].<a class="code" href="a03660.html#NLMISC_1_1CVector2fz2067_6">set</a>(0, 0); +00664 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp18">_TexScrollAlternate</a>[1].<a class="code" href="a03660.html#NLMISC_1_1CVector2fz2067_6">set</a>(0, 0); +00665 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp1">_AlternateOp</a> = <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw9">Modulate</a>; +00666 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> |= (<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx0">AlternateTextureEnabled</a>; +00667 } +00668 <span class="keywordflow">else</span> +00669 { +00670 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a> = NULL; +00671 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> &= ~(<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx0">AlternateTextureEnabled</a>; +00672 } +00673 <a class="code" href="a03188.html#NL3D_1_1CPSQuadb30">touch</a>(); +00674 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada10" doxytag="NL3D::CPSMultiTexturedParticle::enableMultiTexture" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::enableMultiTexture </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enabled</em> = true </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> +when set to false, this discard the textures that have been set +<p> + +<p> +Definition at line <a class="el" href="a06257.html#l00636">636</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00619">_AlternateTexture2</a>, <a class="el" href="a06258.html#l00617">_MainOp</a>, <a class="el" href="a06258.html#l00629">_MultiTexState</a>, <a class="el" href="a06258.html#l00622">_TexScroll</a>, <a class="el" href="a06258.html#l00618">_Texture2</a>, <a class="el" href="a06258.html#l00519">isMultiTextureEnabled()</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx4">MultiTextureEnabled</a>, <a class="el" href="a06677.html#l00110">NLMISC::CVector2f::set()</a>, <a class="el" href="a06258.html#l00635">touch()</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00637 { +00638 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuada69">isMultiTextureEnabled</a>() == enabled) <span class="keywordflow">return</span>; +00639 <span class="keywordflow">if</span> (!enabled) +00640 { +00641 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a> = NULL; +00642 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp2">_AlternateTexture2</a> = NULL; +00643 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> = 0; +00644 } +00645 <span class="keywordflow">else</span> +00646 { +00647 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp8">_MainOp</a> = <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw9">Modulate</a>; +00648 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp17">_TexScroll</a>[0].<a class="code" href="a03660.html#NLMISC_1_1CVector2fz2067_6">set</a>(0, 0); +00649 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp17">_TexScroll</a>[1].<a class="code" href="a03660.html#NLMISC_1_1CVector2fz2067_6">set</a>(0, 0); +00650 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> = (<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx4">MultiTextureEnabled</a>; +00651 } +00652 <a class="code" href="a03188.html#NL3D_1_1CPSQuadb30">touch</a>(); +00653 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSMultiTexturedParticlea3" doxytag="NL3D::CPSMultiTexturedParticle::enumTexs" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::enumTexs </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< <a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a03487.html">ITexture</a> > > & </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02434.html">IDriver</a> & </td> + <td class="mdname" nowrap> <em>drv</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> + +<p> +Reimplemented in <a class="el" href="a03187.html#NL3D_1_1CPSQuada13">NL3D::CPSQuad</a>. +<p> +Definition at line <a class="el" href="a06257.html#l00968">968</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00619">_AlternateTexture2</a>, <a class="el" href="a06258.html#l00617">_MainOp</a>, <a class="el" href="a06258.html#l00618">_Texture2</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>, and <a class="el" href="a02434.html#NL3D_1_1IDriverz149_0">NL3D::IDriver::isTextureAddrModeSupported()</a>. +<p> +<div class="fragment"><pre>00969 { +00970 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp8">_MainOp</a> == <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>) +00971 { +00972 <span class="keywordflow">if</span> (drv.isTextureAddrModeSupported(CMaterial::OffsetTexture)) +00973 { +00974 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a>) dest.push_back(_Texture2); +00975 } +00976 <span class="keywordflow">else</span> +00977 { +00978 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp2">_AlternateTexture2</a>) dest.push_back(_AlternateTexture2); +00979 } +00980 <span class="keywordflow">return</span>; +00981 } +00982 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a>) dest.push_back(_Texture2); +00983 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuade1" doxytag="NL3D::CPSMultiTexturedParticle::forceBasicCaps" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::forceBasicCaps </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>force</em> = true </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +this act as if the system had the most basic caps supported (no EMBM for example...) Should be used only in edition mode for test +<p> +Definition at line <a class="el" href="a06258.html#l00595">595</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06257.html#l00628">_ForceBasicCaps</a>. +<p> +<div class="fragment"><pre>00595 { <a class="code" href="a03188.html#NL3D_1_1CPSQuadt0">_ForceBasicCaps</a> = force; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadb9" doxytag="NL3D::CPSMultiTexturedParticle::forceBasicCapsLocal" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::forceBasicCapsLocal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>force</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected]</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="a06258.html#l00639">639</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, and <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx2">BasicCapsForced</a>. +<p> +<div class="fragment"><pre>00640 { +00641 <span class="keywordflow">if</span> (force) <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> |= <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx2">BasicCapsForced</a>; +00642 <span class="keywordflow">else</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> &= ~<a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx2">BasicCapsForced</a>; +00643 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada16" doxytag="NL3D::CPSMultiTexturedParticle::getAlternateScrollSpeed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03660.html">NLMISC::CVector2f</a>& NL3D::CPSMultiTexturedParticle::getAlternateScrollSpeed </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</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="a06258.html#l00577">577</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00624">_TexScrollAlternate</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00578 { +00579 <a class="code" href="a04199.html#a6">nlassert</a>(stage < 2); +00580 <span class="keywordflow">return</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp18">_TexScrollAlternate</a>[stage]; +00581 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada17" doxytag="NL3D::CPSMultiTexturedParticle::getAlternateTexOp" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> NL3D::CPSMultiTexturedParticle::getAlternateTexOp </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<code> [inline]</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="a06258.html#l00550">550</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00617">_AlternateOp</a>, and <a class="el" href="a06258.html#l00515">TOperator</a>. +<p> +<div class="fragment"><pre>00551 { +00552 <span class="keywordflow">return</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp1">_AlternateOp</a>; +00553 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada19" doxytag="NL3D::CPSMultiTexturedParticle::getBumpFactor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPSMultiTexturedParticle::getBumpFactor </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<code> [inline]</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="a06258.html#l00610">610</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00644">_BumpFactor</a>. +<p> +<div class="fragment"><pre>00610 { <span class="keywordflow">return</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp3">_BumpFactor</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada34" doxytag="NL3D::CPSMultiTexturedParticle::getMainTexOp" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> NL3D::CPSMultiTexturedParticle::getMainTexOp </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<code> [inline]</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="a06258.html#l00533">533</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00617">_MainOp</a>, and <a class="el" href="a06258.html#l00515">TOperator</a>. +<p> +<div class="fragment"><pre>00533 { <span class="keywordflow">return</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp8">_MainOp</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada40" doxytag="NL3D::CPSMultiTexturedParticle::getScrollSpeed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03660.html">NLMISC::CVector2f</a>& NL3D::CPSMultiTexturedParticle::getScrollSpeed </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</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="a06258.html#l00563">563</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00622">_TexScroll</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00564 { +00565 <a class="code" href="a04199.html#a6">nlassert</a>(stage < 2); +00566 <span class="keywordflow">return</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp17">_TexScroll</a>[stage]; +00567 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada47" doxytag="NL3D::CPSMultiTexturedParticle::getTexture2" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03487.html">ITexture</a>* NL3D::CPSMultiTexturedParticle::getTexture2 </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> [inline]</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="a06258.html#l00526">526</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00618">_Texture2</a>. +<p> +<div class="fragment"><pre>00526 { <span class="keywordflow">return</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada48" doxytag="NL3D::CPSMultiTexturedParticle::getTexture2" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03487.html">ITexture</a>* NL3D::CPSMultiTexturedParticle::getTexture2 </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<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the main texture for multitexturing. +<p> + +<p> +Definition at line <a class="el" href="a06258.html#l00525">525</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00618">_Texture2</a>. +<p> +<div class="fragment"><pre>00525 { <span class="keywordflow">return</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada49" doxytag="NL3D::CPSMultiTexturedParticle::getTexture2Alternate" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03487.html">ITexture</a>* NL3D::CPSMultiTexturedParticle::getTexture2Alternate </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> [inline]</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="a06258.html#l00545">545</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00619">_AlternateTexture2</a>. +<p> +<div class="fragment"><pre>00545 { <span class="keywordflow">return</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp2">_AlternateTexture2</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada50" doxytag="NL3D::CPSMultiTexturedParticle::getTexture2Alternate" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03487.html">ITexture</a>* NL3D::CPSMultiTexturedParticle::getTexture2Alternate </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<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the alternate texture for multitexturing. +<p> + +<p> +Definition at line <a class="el" href="a06258.html#l00544">544</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00619">_AlternateTexture2</a>. +<p> +<div class="fragment"><pre>00544 { <span class="keywordflow">return</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp2">_AlternateTexture2</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada57" doxytag="NL3D::CPSMultiTexturedParticle::getUseLocalDate" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSMultiTexturedParticle::getUseLocalDate </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> [inline]</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="a06258.html#l00602">602</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, and <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx5">ScrollUseLocalDate</a>. +<p> +Referenced by <a class="el" href="a06262.html#l00386">NL3D::CPSQuad::updateVbColNUVForRender()</a>. +<p> +<div class="fragment"><pre>00602 { <span class="keywordflow">return</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> & <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx5">ScrollUseLocalDate</a>) != 0; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada58" doxytag="NL3D::CPSMultiTexturedParticle::getUseLocalDateAlt" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSMultiTexturedParticle::getUseLocalDateAlt </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> [inline]</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="a06258.html#l00606">606</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, and <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx6">ScrollUseLocalDateAlternate</a>. +<p> +Referenced by <a class="el" href="a06262.html#l00386">NL3D::CPSQuad::updateVbColNUVForRender()</a>. +<p> +<div class="fragment"><pre>00606 { <span class="keywordflow">return</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> & <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx6">ScrollUseLocalDateAlternate</a>) != 0; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada67" doxytag="NL3D::CPSMultiTexturedParticle::isAlternateTexEnabled" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSMultiTexturedParticle::isAlternateTexEnabled </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<code> [inline]</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="a06258.html#l00537">537</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx0">AlternateTextureEnabled</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00656">enableAlternateTex()</a>, and <a class="el" href="a06257.html#l00733">setupMaterial()</a>. +<p> +<div class="fragment"><pre>00537 { <span class="keywordflow">return</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> & (<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx0">AlternateTextureEnabled</a>) != 0; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadb15" doxytag="NL3D::CPSMultiTexturedParticle::isAlternateTextureUsed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSMultiTexturedParticle::isAlternateTextureUsed </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<code> [inline, protected]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +test wether the alternate texture is used +<p> + +<p> +Definition at line <a class="el" href="a06258.html#l00632">632</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, and <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx1">AlternateTextureUsed</a>. +<p> +Referenced by <a class="el" href="a06262.html#l00146">NL3D::CPSQuad::getNeededVB()</a>, and <a class="el" href="a06262.html#l00386">NL3D::CPSQuad::updateVbColNUVForRender()</a>. +<p> +<div class="fragment"><pre>00632 { <span class="keywordflow">return</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> & <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx1">AlternateTextureUsed</a>) != 0; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadb16" doxytag="NL3D::CPSMultiTexturedParticle::isEnvBumpMapUsed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSMultiTexturedParticle::isEnvBumpMapUsed </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<code> [inline, protected]</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="a06258.html#l00633">633</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, and <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx3">EnvBumpMapUsed</a>. +<p> +<div class="fragment"><pre>00633 { <span class="keywordflow">return</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> & <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx3">EnvBumpMapUsed</a>) != 0; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada69" doxytag="NL3D::CPSMultiTexturedParticle::isMultiTextureEnabled" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSMultiTexturedParticle::isMultiTextureEnabled </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<code> [inline]</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="a06258.html#l00519">519</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx4">MultiTextureEnabled</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, <a class="el" href="a06257.html#l00656">enableAlternateTex()</a>, <a class="el" href="a06257.html#l00636">enableMultiTexture()</a>, <a class="el" href="a06257.html#l00733">setupMaterial()</a>, and <a class="el" href="a06262.html#l00520">NL3D::CPSQuad::updateMatBeforeRendering()</a>. +<p> +<div class="fragment"><pre>00519 { <span class="keywordflow">return</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> & (<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx4">MultiTextureEnabled</a>) != 0; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadb17" doxytag="NL3D::CPSMultiTexturedParticle::isTouched" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSMultiTexturedParticle::isTouched </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> [inline, protected]</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="a06258.html#l00637">637</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, and <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx8">TouchFlag</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00733">setupMaterial()</a>. +<p> +<div class="fragment"><pre>00637 { <span class="keywordflow">return</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> & <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx8">TouchFlag</a>) != 0; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada77" doxytag="NL3D::CPSMultiTexturedParticle::serialMultiTex" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::serialMultiTex </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serial this object +<p> +version 1 : bump factor +<p> +Definition at line <a class="el" href="a06257.html#l00677">677</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00678 { +00680 <a class="code" href="a04558.html#a14">sint</a> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1); +00681 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_MultiTexState); +00682 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuada69">isMultiTextureEnabled</a>()) +00683 { +00684 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama7">serialEnum</a>(_MainOp); +00685 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp8">_MainOp</a> == <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a> && ver >= 1) +00686 { +00687 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_BumpFactor); +00688 } +00689 ITexture *tex = NULL; +00690 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00691 { +00692 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(tex); +00693 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a> = tex; +00694 } +00695 <span class="keywordflow">else</span> +00696 { +00697 tex = <a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a>; +00698 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(tex); +00699 } +00700 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_TexScroll[0], _TexScroll[1]); +00701 +00702 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuada67">isAlternateTexEnabled</a>()) +00703 { +00704 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama7">serialEnum</a>(_AlternateOp); +00705 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00706 { +00707 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(tex); +00708 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp2">_AlternateTexture2</a> = tex; +00709 } +00710 <span class="keywordflow">else</span> +00711 { +00712 tex = <a class="code" href="a03188.html#NL3D_1_1CPSQuadp2">_AlternateTexture2</a>; +00713 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(tex); +00714 } +00715 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_TexScrollAlternate[0], _TexScrollAlternate[1]); +00716 } +00717 <span class="keywordflow">else</span> +00718 { +00719 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp2">_AlternateTexture2</a> = NULL; +00720 } +00721 } +00722 <span class="keywordflow">else</span> +00723 { +00724 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00725 { +00726 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a> = NULL; +00727 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp2">_AlternateTexture2</a> = NULL; +00728 } +00729 } +00730 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada81" doxytag="NL3D::CPSMultiTexturedParticle::setAlternateScrollSpeed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::setAlternateScrollSpeed </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03660.html">NLMISC::CVector2f</a> & </td> + <td class="mdname" nowrap> <em>sp</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the scroll speed for tex 1 & 2 when the alternate op is used <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>stage</em> </td><td>can be set to 0 or one</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06258.html#l00572">572</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00624">_TexScrollAlternate</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00573 { +00574 <a class="code" href="a04199.html#a6">nlassert</a>(stage < 2); +00575 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp18">_TexScrollAlternate</a>[stage] = sp; +00576 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada82" doxytag="NL3D::CPSMultiTexturedParticle::setAlternateTexOp" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::setAlternateTexOp </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> </td> + <td class="mdname1" valign="top" nowrap> <em>op</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 operation for the alternate texture. Convert the texture to / from a bumpmap if needed. +<p> + +<p> +Definition at line <a class="el" href="a06257.html#l00923">923</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00617">_AlternateOp</a>, <a class="el" href="a06258.html#l00619">_AlternateTexture2</a>, <a class="el" href="a06257.html#l00863">NL3D::ConvertFromBumpMap()</a>, <a class="el" href="a06257.html#l00850">NL3D::ConvertToBumpMap()</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>, and <a class="el" href="a06258.html#l00635">touch()</a>. +<p> +<div class="fragment"><pre>00924 { +00925 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp1">_AlternateOp</a> = op; +00926 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp1">_AlternateOp</a> == <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>) +00927 { +00928 <a class="code" href="a05363.html#a501">ConvertToBumpMap</a>(_AlternateTexture2); +00929 } +00930 <span class="keywordflow">else</span> +00931 { +00932 <a class="code" href="a05363.html#a502">ConvertFromBumpMap</a>(_AlternateTexture2); +00933 } +00934 <a class="code" href="a03188.html#NL3D_1_1CPSQuadb30">touch</a>(); +00935 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada84" doxytag="NL3D::CPSMultiTexturedParticle::setBumpFactor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::setBumpFactor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>bumpFactor</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a bump factor (when embm is used). +<p> + +<p> +Definition at line <a class="el" href="a06258.html#l00609">609</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00644">_BumpFactor</a>, and <a class="el" href="a06258.html#l00635">touch()</a>. +<p> +<div class="fragment"><pre>00609 { <a class="code" href="a03188.html#NL3D_1_1CPSQuadp3">_BumpFactor</a> = bumpFactor; <a class="code" href="a03188.html#NL3D_1_1CPSQuadb30">touch</a>(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada89" doxytag="NL3D::CPSMultiTexturedParticle::setMainTexOp" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::setMainTexOp </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> </td> + <td class="mdname1" valign="top" nowrap> <em>op</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 operation for the main texture. When EnvBumpMap is used, setTexture2 must be called with a bump map, and the primary texture must be convertible to rgba. Convert the texture to / from a bumpmap if needed +<p> +Definition at line <a class="el" href="a06257.html#l00908">908</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00617">_MainOp</a>, <a class="el" href="a06258.html#l00618">_Texture2</a>, <a class="el" href="a06257.html#l00863">NL3D::ConvertFromBumpMap()</a>, <a class="el" href="a06257.html#l00850">NL3D::ConvertToBumpMap()</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>, and <a class="el" href="a06258.html#l00635">touch()</a>. +<p> +<div class="fragment"><pre>00909 { +00910 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp8">_MainOp</a> = op; +00911 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp8">_MainOp</a> == <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>) +00912 { +00913 <a class="code" href="a05363.html#a501">ConvertToBumpMap</a>(_Texture2); +00914 } +00915 <span class="keywordflow">else</span> +00916 { +00917 <a class="code" href="a05363.html#a502">ConvertFromBumpMap</a>(_Texture2); +00918 } +00919 <a class="code" href="a03188.html#NL3D_1_1CPSQuadb30">touch</a>(); +00920 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada91" doxytag="NL3D::CPSMultiTexturedParticle::setScrollSpeed" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::setScrollSpeed </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>stage</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03660.html">NLMISC::CVector2f</a> & </td> + <td class="mdname" nowrap> <em>sp</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the scroll speed for tex 1 & 2 when the main op is used <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>stage</em> </td><td>can be set to 0 or one</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06258.html#l00558">558</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00622">_TexScroll</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00559 { +00560 <a class="code" href="a04199.html#a6">nlassert</a>(stage < 2); +00561 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp17">_TexScroll</a>[stage] = sp; +00562 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada95" doxytag="NL3D::CPSMultiTexturedParticle::setTexture2" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::setTexture2 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03487.html">ITexture</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>tex</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 main texture for multitexturing. Convert the texture to / from a bumpmap if needed (so you just provide its heightmap). +<p> + +<p> +Definition at line <a class="el" href="a06257.html#l00890">890</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00617">_MainOp</a>, <a class="el" href="a06258.html#l00618">_Texture2</a>, <a class="el" href="a06257.html#l00863">NL3D::ConvertFromBumpMap()</a>, <a class="el" href="a06257.html#l00850">NL3D::ConvertToBumpMap()</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>, and <a class="el" href="a06258.html#l00635">touch()</a>. +<p> +<div class="fragment"><pre>00891 { +00892 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a> = tex; +00893 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp8">_MainOp</a> != <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>) +00894 { +00895 <a class="code" href="a05363.html#a502">ConvertFromBumpMap</a>(_Texture2); +00896 } +00897 <span class="keywordflow">else</span> +00898 { +00899 <span class="keywordflow">if</span> (!dynamic_cast<NL3D::CTextureBump *>((ITexture *) <a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a>)) +00900 { +00901 <a class="code" href="a05363.html#a501">ConvertToBumpMap</a>(_Texture2); +00902 } +00903 } +00904 <a class="code" href="a03188.html#NL3D_1_1CPSQuadb30">touch</a>(); +00905 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada96" doxytag="NL3D::CPSMultiTexturedParticle::setTexture2Alternate" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::setTexture2Alternate </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03487.html">ITexture</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>tex</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 alternate texture for multitexturing. It is used when the main operator is not supported by the gfx board. +<p> + +<p> +Definition at line <a class="el" href="a06257.html#l00875">875</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00617">_AlternateOp</a>, <a class="el" href="a06258.html#l00619">_AlternateTexture2</a>, <a class="el" href="a06257.html#l00863">NL3D::ConvertFromBumpMap()</a>, <a class="el" href="a06257.html#l00850">NL3D::ConvertToBumpMap()</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>, and <a class="el" href="a06258.html#l00635">touch()</a>. +<p> +<div class="fragment"><pre>00876 { +00877 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp2">_AlternateTexture2</a> = tex; +00878 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp1">_AlternateOp</a> != <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>) +00879 { +00880 <a class="code" href="a05363.html#a502">ConvertFromBumpMap</a>(_AlternateTexture2); +00881 } +00882 <span class="keywordflow">else</span> +00883 { +00884 <a class="code" href="a05363.html#a501">ConvertToBumpMap</a>(_AlternateTexture2); +00885 } +00886 <a class="code" href="a03188.html#NL3D_1_1CPSQuadb30">touch</a>(); +00887 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada101" doxytag="NL3D::CPSMultiTexturedParticle::setupMaterial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::setupMaterial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03487.html">ITexture</a> * </td> + <td class="mdname" nowrap> <em>primary</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02434.html">IDriver</a> * </td> + <td class="mdname" nowrap> <em>drv</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02839.html">CMaterial</a> & </td> + <td class="mdname" nowrap> <em>mat</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 a material from this object and a primary texture drv is used to check the device caps. Must be called before display when multitextureing is used +<p> +Definition at line <a class="el" href="a06257.html#l00733">733</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00617">_AlternateOp</a>, <a class="el" href="a06258.html#l00619">_AlternateTexture2</a>, <a class="el" href="a06258.html#l00644">_BumpFactor</a>, <a class="el" href="a06257.html#l00628">_ForceBasicCaps</a>, <a class="el" href="a06258.html#l00617">_MainOp</a>, <a class="el" href="a06258.html#l00629">_MultiTexState</a>, <a class="el" href="a06258.html#l00618">_Texture2</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx1">AlternateTextureUsed</a>, <a class="el" href="a06258.html#l00598">areBasicCapsForced()</a>, <a class="el" href="a06258.html#l00638">areBasicCapsForcedLocal()</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw5">Decal</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx3">EnvBumpMapUsed</a>, <a class="el" href="a06506.html#l00309">NL3D::ITexture::generate()</a>, <a class="el" href="a06511.html#l00382">NL3D::CTextureBump::getNormalizationFactor()</a>, <a class="el" href="a06258.html#l00537">isAlternateTexEnabled()</a>, <a class="el" href="a06258.html#l00519">isMultiTextureEnabled()</a>, <a class="el" href="a02434.html#NL3D_1_1IDriverz149_0">NL3D::IDriver::isTextureAddrModeSupported()</a>, <a class="el" href="a06258.html#l00637">isTouched()</a>, <a class="el" href="a06511.html#l00354">NL3D::CTextureBump::release()</a>, <a class="el" href="a02434.html#NL3D_1_1IDriverz149_2">NL3D::IDriver::setMatrix2DForTextureOffsetAddrMode()</a>, <a class="el" href="a05968.html#l00322">NL3D::CMaterial::setTexture()</a>, <a class="el" href="a06257.html#l00812">setupMultiTexEnv()</a>, <a class="el" href="a05641.html#l00214">NL3D::CMaterial::texEnvOpRGB()</a>, <a class="el" href="a05981.html#l00096">uint8</a>, and <a class="el" href="a06258.html#l00636">unTouch()</a>. +<p> +Referenced by <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, and <a class="el" href="a06262.html#l00520">NL3D::CPSQuad::updateMatBeforeRendering()</a>. +<p> +<div class="fragment"><pre>00734 { +00736 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuada69">isMultiTextureEnabled</a>() && <a class="code" href="a03188.html#NL3D_1_1CPSQuadp8">_MainOp</a> == <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a> && driver->isTextureAddrModeSupported(CMaterial::OffsetTexture)) +00737 { +00738 CTextureBump *tb = dynamic_cast<CTextureBump *>((ITexture *) <a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a>); +00739 <span class="keywordflow">if</span> (tb != NULL) +00740 { +00741 <span class="keywordtype">float</span> normFactor = tb->getNormalizationFactor(); +00742 <span class="keywordflow">if</span> (normFactor == 0.f) <span class="comment">// have we computed the normalization factor ?</span> +00743 { +00745 tb->generate(); +00746 normFactor = tb->getNormalizationFactor(); +00747 tb->release(); +00748 } +00749 <span class="keyword">const</span> <span class="keywordtype">float</span> bMat[] = { <a class="code" href="a03188.html#NL3D_1_1CPSQuadp3">_BumpFactor</a> * normFactor, 0.f, 0.f, <a class="code" href="a03188.html#NL3D_1_1CPSQuadp3">_BumpFactor</a> * normFactor}; +00750 driver->setMatrix2DForTextureOffsetAddrMode(1, bMat); +00751 } +00752 } +00753 +00754 <span class="keywordflow">if</span> (!<a class="code" href="a03188.html#NL3D_1_1CPSQuadb17">isTouched</a>() && <a class="code" href="a03188.html#NL3D_1_1CPSQuadb0">areBasicCapsForcedLocal</a>() == <a class="code" href="a03188.html#NL3D_1_1CPSQuade0">areBasicCapsForced</a>()) <span class="keywordflow">return</span>; +00755 <span class="keywordflow">if</span> (!<a class="code" href="a03188.html#NL3D_1_1CPSQuada69">isMultiTextureEnabled</a>()) +00756 { +00757 mat.setTexture(0, primary); +00758 mat.texEnvOpRGB(0, CMaterial::Modulate); +00759 mat.setTexture(1, NULL); +00760 } +00761 <span class="keywordflow">else</span> +00762 { +00763 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuadp8">_MainOp</a> != <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>) +00764 { +00765 <a class="code" href="a03188.html#NL3D_1_1CPSQuadb29">setupMultiTexEnv</a>(_MainOp, primary, _Texture2, mat); +00766 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> &= ~(<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx3">EnvBumpMapUsed</a>; +00767 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> &= ~(<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx1">AlternateTextureUsed</a>; +00768 } +00769 <span class="keywordflow">else</span> +00770 { +00771 <span class="keywordflow">if</span> (!<a class="code" href="a03188.html#NL3D_1_1CPSQuadt0">_ForceBasicCaps</a> && driver->isTextureAddrModeSupported(CMaterial::OffsetTexture)) <span class="comment">// envbumpmap supported ?</span> +00772 { +00773 CTextureBump *tb = dynamic_cast<CTextureBump *>((ITexture *) <a class="code" href="a03188.html#NL3D_1_1CPSQuadp19">_Texture2</a>); +00774 <span class="keywordflow">if</span> (tb != NULL) +00775 { +00776 <span class="keywordtype">float</span> normFactor = tb->getNormalizationFactor(); +00777 <span class="keywordflow">if</span> (normFactor == 0.f) <span class="comment">// have we computed the normalization factor ?</span> +00778 { +00780 tb->generate(); +00781 normFactor = tb->getNormalizationFactor(); +00782 tb->release(); +00783 } +00784 <a class="code" href="a03188.html#NL3D_1_1CPSQuadb29">setupMultiTexEnv</a>(_MainOp, primary, _Texture2, mat); +00785 } +00786 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> &= ~(<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx1">AlternateTextureUsed</a>; +00787 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> |= (<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx3">EnvBumpMapUsed</a>; +00788 } +00789 <span class="keywordflow">else</span> <span class="comment">// switch to alternate</span> +00790 { +00791 <span class="keywordflow">if</span> (<a class="code" href="a03188.html#NL3D_1_1CPSQuada67">isAlternateTexEnabled</a>()) +00792 { +00793 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> |= (<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx1">AlternateTextureUsed</a>; +00794 <a class="code" href="a03188.html#NL3D_1_1CPSQuadb29">setupMultiTexEnv</a>(_AlternateOp, primary, _AlternateTexture2, mat); +00795 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> &= ~(<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx3">EnvBumpMapUsed</a>; +00796 } +00797 <span class="keywordflow">else</span> <span class="comment">// display the texture as it</span> +00798 { +00799 <a class="code" href="a03188.html#NL3D_1_1CPSQuadb29">setupMultiTexEnv</a>(Decal, primary, NULL, mat); +00800 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> &= ~(<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx1">AlternateTextureUsed</a>; +00801 <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> &= ~(<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx3">EnvBumpMapUsed</a>; +00802 } +00803 } +00804 } +00805 } +00806 +00807 (<a class="code" href="a03188.html#NL3D_1_1CPSQuade0">areBasicCapsForced</a>()); +00808 <a class="code" href="a03188.html#NL3D_1_1CPSQuadb31">unTouch</a>(); +00809 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadb29" doxytag="NL3D::CPSMultiTexturedParticle::setupMultiTexEnv" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::setupMultiTexEnv </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> </td> + <td class="mdname" nowrap> <em>op</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03487.html">ITexture</a> * </td> + <td class="mdname" nowrap> <em>tex1</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03487.html">ITexture</a> * </td> + <td class="mdname" nowrap> <em>tex2</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02839.html">CMaterial</a> & </td> + <td class="mdname" nowrap> <em>mat</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected]</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="a06257.html#l00812">812</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw5">Decal</a>, <a class="el" href="a05968.html#l00479">NL3D::CMaterial::enableTexAddrMode()</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>, <a class="el" href="a05968.html#l00505">NL3D::CMaterial::setTexAddressingMode()</a>, <a class="el" href="a05968.html#l00322">NL3D::CMaterial::setTexture()</a>, and <a class="el" href="a05641.html#l00214">NL3D::CMaterial::texEnvOpRGB()</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00733">setupMaterial()</a>. +<p> +<div class="fragment"><pre>00813 { +00814 <span class="keywordflow">switch</span> (op) +00815 { +00816 <span class="keywordflow">case</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw2">Add</a>: +00817 mat.setTexture(0, tex1); +00818 mat.setTexture(1, tex2); +00819 mat.texEnvOpRGB(0, CMaterial::Modulate); +00820 mat.texEnvOpRGB(1, CMaterial::Add); +00821 mat.enableTexAddrMode(<span class="keyword">false</span>); +00822 <span class="keywordflow">break</span>; +00823 <span class="keywordflow">case</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw9">Modulate</a>: +00824 mat.setTexture(0, tex1); +00825 mat.setTexture(1, tex2); +00826 mat.texEnvOpRGB(0, CMaterial::Modulate); +00827 mat.texEnvOpRGB(1, CMaterial::Modulate); +00828 mat.enableTexAddrMode(<span class="keyword">false</span>); +00829 <span class="keywordflow">break</span>; +00830 <span class="keywordflow">case</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw6">EnvBumpMap</a>: +00831 mat.setTexture(0, tex2); +00832 mat.setTexture(1, tex1); +00833 mat.texEnvOpRGB(0, CMaterial::Replace); +00834 mat.texEnvOpRGB(1, CMaterial::Modulate); +00835 mat.enableTexAddrMode(<span class="keyword">true</span>); +00836 mat.setTexAddressingMode(0, CMaterial::FetchTexture); +00837 mat.setTexAddressingMode(1, CMaterial::OffsetTexture); +00838 <span class="keywordflow">break</span>; +00839 <span class="keywordflow">case</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadw12NL3D_1_1CPSQuadw5">Decal</a>: +00840 mat.setTexture(0, tex1); +00841 mat.texEnvOpRGB(0, CMaterial::Replace); +00842 mat.setTexture(1, NULL); +00843 mat.enableTexAddrMode(<span class="keyword">false</span>); +00844 <span class="keywordflow">break</span>; +00845 <span class="keywordflow">default</span>: <span class="keywordflow">break</span>; +00846 } +00847 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada102" doxytag="NL3D::CPSMultiTexturedParticle::setUseLocalDate" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::setUseLocalDate </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>use</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> +Use the particle age rather than the global time to compute textures coordinates. +<p> + +<p> +Definition at line <a class="el" href="a06257.html#l00940">940</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, and <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx5">ScrollUseLocalDate</a>. +<p> +<div class="fragment"><pre>00941 { +00942 <span class="keywordflow">if</span> (use) <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> |= <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx5">ScrollUseLocalDate</a>; +00943 <span class="keywordflow">else</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> &= ~ ScrollUseLocalDate; +00944 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuada103" doxytag="NL3D::CPSMultiTexturedParticle::setUseLocalDateAlt" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::setUseLocalDateAlt </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>use</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> +Use the particle age rather than the global time to compute textures coordinates. (when alternate texture is used). +<p> + +<p> +Definition at line <a class="el" href="a06257.html#l00948">948</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, and <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx6">ScrollUseLocalDateAlternate</a>. +<p> +<div class="fragment"><pre>00949 { +00950 <span class="keywordflow">if</span> (use) <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> |= <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx6">ScrollUseLocalDateAlternate</a>; +00951 <span class="keywordflow">else</span> <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> &= ~ ScrollUseLocalDateAlternate; +00952 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadb30" doxytag="NL3D::CPSMultiTexturedParticle::touch" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::touch </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> [inline, protected]</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="a06258.html#l00635">635</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx8">TouchFlag</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00656">enableAlternateTex()</a>, <a class="el" href="a06257.html#l00636">enableMultiTexture()</a>, <a class="el" href="a06257.html#l00923">setAlternateTexOp()</a>, <a class="el" href="a06258.html#l00609">setBumpFactor()</a>, <a class="el" href="a06257.html#l00908">setMainTexOp()</a>, <a class="el" href="a06257.html#l00890">setTexture2()</a>, <a class="el" href="a06257.html#l00875">setTexture2Alternate()</a>, and <a class="el" href="a06262.html#l00249">NL3D::CPSQuad::updateMatAndVbForTexture()</a>. +<p> +<div class="fragment"><pre>00635 { <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> |= (<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx8">TouchFlag</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadb31" doxytag="NL3D::CPSMultiTexturedParticle::unTouch" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSMultiTexturedParticle::unTouch </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> [inline, protected]</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="a06258.html#l00636">636</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +References <a class="el" href="a06258.html#l00629">_MultiTexState</a>, <a class="el" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx8">TouchFlag</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00733">setupMaterial()</a>. +<p> +<div class="fragment"><pre>00636 { <a class="code" href="a03188.html#NL3D_1_1CPSQuadp10">_MultiTexState</a> &= ~ (<a class="code" href="a04558.html#a7">uint8</a>) <a class="code" href="a03188.html#NL3D_1_1CPSQuadx7NL3D_1_1CPSQuadx8">TouchFlag</a>; } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSQuadp1" doxytag="NL3D::CPSMultiTexturedParticle::_AlternateOp" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> <a class="el" href="a03188.html#NL3D_1_1CPSQuadp1">NL3D::CPSMultiTexturedParticle::_AlternateOp</a><code> [protected]</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="a06258.html#l00617">617</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00656">enableAlternateTex()</a>, <a class="el" href="a06258.html#l00550">getAlternateTexOp()</a>, <a class="el" href="a06257.html#l00923">setAlternateTexOp()</a>, <a class="el" href="a06257.html#l00875">setTexture2Alternate()</a>, and <a class="el" href="a06257.html#l00733">setupMaterial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadp2" doxytag="NL3D::CPSMultiTexturedParticle::_AlternateTexture2" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03408.html">NLMISC::CSmartPtr</a><<a class="el" href="a03487.html">ITexture</a>> <a class="el" href="a03188.html#NL3D_1_1CPSQuadp2">NL3D::CPSMultiTexturedParticle::_AlternateTexture2</a><code> [protected]</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="a06258.html#l00619">619</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00636">enableMultiTexture()</a>, <a class="el" href="a06257.html#l00968">enumTexs()</a>, <a class="el" href="a06258.html#l00544">getTexture2Alternate()</a>, <a class="el" href="a06257.html#l00923">setAlternateTexOp()</a>, <a class="el" href="a06257.html#l00875">setTexture2Alternate()</a>, and <a class="el" href="a06257.html#l00733">setupMaterial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadp3" doxytag="NL3D::CPSMultiTexturedParticle::_BumpFactor" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03188.html#NL3D_1_1CPSQuadp3">NL3D::CPSMultiTexturedParticle::_BumpFactor</a><code> [protected]</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="a06258.html#l00644">644</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="a06258.html#l00610">getBumpFactor()</a>, <a class="el" href="a06258.html#l00609">setBumpFactor()</a>, and <a class="el" href="a06257.html#l00733">setupMaterial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadt0" doxytag="NL3D::CPSMultiTexturedParticle::_ForceBasicCaps" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03188.html#NL3D_1_1CPSQuadt0">NL3D::CPSMultiTexturedParticle::_ForceBasicCaps</a> = false<code> [static, protected]</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="a06257.html#l00628">628</a> of file <a class="el" href="a06257.html">ps_particle_basic.cpp</a>. +<p> +Referenced by <a class="el" href="a06258.html#l00598">areBasicCapsForced()</a>, <a class="el" href="a06258.html#l00595">forceBasicCaps()</a>, and <a class="el" href="a06257.html#l00733">setupMaterial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadp8" doxytag="NL3D::CPSMultiTexturedParticle::_MainOp" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03188.html#NL3D_1_1CPSQuadw12">TOperator</a> <a class="el" href="a03188.html#NL3D_1_1CPSQuadp8">NL3D::CPSMultiTexturedParticle::_MainOp</a><code> [protected]</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="a06258.html#l00617">617</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00636">enableMultiTexture()</a>, <a class="el" href="a06257.html#l00968">enumTexs()</a>, <a class="el" href="a06258.html#l00533">getMainTexOp()</a>, <a class="el" href="a06257.html#l00908">setMainTexOp()</a>, <a class="el" href="a06257.html#l00890">setTexture2()</a>, and <a class="el" href="a06257.html#l00733">setupMaterial()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadp10" doxytag="NL3D::CPSMultiTexturedParticle::_MultiTexState" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a03188.html#NL3D_1_1CPSQuadp10">NL3D::CPSMultiTexturedParticle::_MultiTexState</a><code> [protected]</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="a06258.html#l00629">629</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="a06258.html#l00638">areBasicCapsForcedLocal()</a>, <a class="el" href="a06257.html#l00656">enableAlternateTex()</a>, <a class="el" href="a06257.html#l00636">enableMultiTexture()</a>, <a class="el" href="a06258.html#l00639">forceBasicCapsLocal()</a>, <a class="el" href="a06258.html#l00602">getUseLocalDate()</a>, <a class="el" href="a06258.html#l00606">getUseLocalDateAlt()</a>, <a class="el" href="a06258.html#l00537">isAlternateTexEnabled()</a>, <a class="el" href="a06258.html#l00632">isAlternateTextureUsed()</a>, <a class="el" href="a06258.html#l00633">isEnvBumpMapUsed()</a>, <a class="el" href="a06258.html#l00519">isMultiTextureEnabled()</a>, <a class="el" href="a06258.html#l00637">isTouched()</a>, <a class="el" href="a06257.html#l00733">setupMaterial()</a>, <a class="el" href="a06257.html#l00940">setUseLocalDate()</a>, <a class="el" href="a06257.html#l00948">setUseLocalDateAlt()</a>, <a class="el" href="a06258.html#l00635">touch()</a>, and <a class="el" href="a06258.html#l00636">unTouch()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadp17" doxytag="NL3D::CPSMultiTexturedParticle::_TexScroll" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03660.html">NLMISC::CVector2f</a> <a class="el" href="a03188.html#NL3D_1_1CPSQuadp17">NL3D::CPSMultiTexturedParticle::_TexScroll</a>[2]<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +texture scrolling +<p> + +<p> +Definition at line <a class="el" href="a06258.html#l00622">622</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00636">enableMultiTexture()</a>, <a class="el" href="a06258.html#l00563">getScrollSpeed()</a>, and <a class="el" href="a06258.html#l00558">setScrollSpeed()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadp18" doxytag="NL3D::CPSMultiTexturedParticle::_TexScrollAlternate" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03660.html">NLMISC::CVector2f</a> <a class="el" href="a03188.html#NL3D_1_1CPSQuadp18">NL3D::CPSMultiTexturedParticle::_TexScrollAlternate</a>[2]<code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +alternate texture scrollMultiTextureEnabled +<p> + +<p> +Definition at line <a class="el" href="a06258.html#l00624">624</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00656">enableAlternateTex()</a>, <a class="el" href="a06258.html#l00577">getAlternateScrollSpeed()</a>, and <a class="el" href="a06258.html#l00572">setAlternateScrollSpeed()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSQuadp19" doxytag="NL3D::CPSMultiTexturedParticle::_Texture2" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03408.html">NLMISC::CSmartPtr</a><<a class="el" href="a03487.html">ITexture</a>> <a class="el" href="a03188.html#NL3D_1_1CPSQuadp19">NL3D::CPSMultiTexturedParticle::_Texture2</a><code> [protected]</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="a06258.html#l00618">618</a> of file <a class="el" href="a06258.html">ps_particle_basic.h</a>. +<p> +Referenced by <a class="el" href="a06257.html#l00656">enableAlternateTex()</a>, <a class="el" href="a06257.html#l00636">enableMultiTexture()</a>, <a class="el" href="a06257.html#l00968">enumTexs()</a>, <a class="el" href="a06258.html#l00525">getTexture2()</a>, <a class="el" href="a06257.html#l00908">setMainTexOp()</a>, <a class="el" href="a06257.html#l00890">setTexture2()</a>, and <a class="el" href="a06257.html#l00733">setupMaterial()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06258.html">ps_particle_basic.h</a><li><a class="el" href="a06257.html">ps_particle_basic.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:18:51 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |