aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02436.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a02436.html')
-rw-r--r--docs/doxygen/nel/a02436.html2919
1 files changed, 2919 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02436.html b/docs/doxygen/nel/a02436.html
new file mode 100644
index 00000000..950db9af
--- /dev/null
+++ b/docs/doxygen/nel/a02436.html
@@ -0,0 +1,2919 @@
+<!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::CDriverGLStates 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CDriverGLStates Class Reference</h1><code>#include &lt;<a class="el" href="a05651.html">driver_opengl_states.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Class for optimizing calls to openGL states, by caching old ones. All following call with OpenGL must be done with only one instance of this class:<ul>
+<li>glEnable() glDisable() with:<ul>
+<li>GL_BLEND</li><li>GL_CULL_FACE</li><li>GL_ALPHA_TEST</li><li>GL_LIGHTING</li><li>GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP_ARB.</li><li>GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T, GL_TEXTURE_GEN_R</li><li>GL_COLOR_MATERIAL</li><li>GL_FOG</li></ul>
+</li><li>glActiveTextureARB()</li><li>glClientActiveTextureARB()</li><li>glEnableClientState() glDisableClientState() with:<ul>
+<li>GL_VERTEX_ARRAY</li><li>GL_NORMAL_ARRAY</li><li>GL_VERTEX_WEIGHTING_EXT</li><li>GL_COLOR_ARRAY</li><li>GL_SECONDARY_COLOR_ARRAY_EXT</li><li>GL_TEXTURE_COORD_ARRAY</li><li>GL_VERTEX_ATTRIB_ARRAY0_NV + i.</li></ul>
+</li><li>glDepthMask()</li><li>glAlphaFunc()</li><li>glBlendFunc()</li><li>glDepthFunc()</li><li>glMaterialf() and glMaterialfv() for:<ul>
+<li>GL_EMISSION</li><li>GL_AMBIENT</li><li>GL_DIFFUSE</li><li>GL_SPECULAR</li><li>GL_SHININESS</li></ul>
+</li><li>glDepthRange()</li><li>glColorMaterial()</li><li>glTexGeni() <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+</li></ul>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00079">79</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Texture Mode setting.</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0">TTextureMode</a> { <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw2">TextureDisabled</a>,
+<a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw0">Texture2D</a>,
+<a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw1">TextureCubeMap</a>,
+<a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw3">TextureModeCount</a>
+ }</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_1">activeTextureARB</a> (<a class="el" href="a04558.html#a15">uint</a> stage)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">same as glActiveTextureARB(). usefull for setTextureMode. <a href="#NL3D_1_1CDriverGLStatesz121_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_2">forceActiveTextureARB</a> (<a class="el" href="a04558.html#a15">uint</a> stage)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">same as active texture arb, but with no cache check <a href="#NL3D_1_1CDriverGLStatesz121_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_3">getActiveTextureARB</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get active texture <a href="#NL3D_1_1CDriverGLStatesz121_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_4">resetTextureMode</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_5">setTextureMode</a> (<a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0">TTextureMode</a> texMode)</td></tr>
+
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesa0">alphaFunc</a> (float threshold)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">glAlphaFunc <a href="#NL3D_1_1CDriverGLStatesa0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesa1">blendFunc</a> (GLenum <a class="el" href="a04223.html#a652">src</a>, GLenum dst)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">glBlendFunc. <a href="#NL3D_1_1CDriverGLStatesa1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesa2">CDriverGLStates</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. no-op. <a href="#NL3D_1_1CDriverGLStatesa2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesa3">depthFunc</a> (GLenum zcomp)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">glDepthFunc. <a href="#NL3D_1_1CDriverGLStatesa3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesa4">forceDefaults</a> (<a class="el" href="a04558.html#a15">uint</a> nbTextureStages)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reset all OpenGL states of interest to default, and update caching. <a href="#NL3D_1_1CDriverGLStatesa4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesa5">init</a> (bool supportTextureCubeMap)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Vertex Array enabling.</div></td></tr>
+<tr><td colspan="2"><div class="groupText">equivalent to glEnableClientState() / glDisableClientState(). NB: Not modified by forceDefaults() <br><br></div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz123_0">clientActiveTextureARB</a> (<a class="el" href="a04558.html#a15">uint</a> stage)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">same as glClientActiveTextureARB(). usefull for enableTexCoordArray. <a href="#NL3D_1_1CDriverGLStatesz123_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz123_1">enableColorArray</a> (bool enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">same as glClientActiveTextureARB(). usefull for enableTexCoordArray. <a href="#NL3D_1_1CDriverGLStatesz123_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz123_2">enableNormalArray</a> (bool enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">same as glClientActiveTextureARB(). usefull for enableTexCoordArray. <a href="#NL3D_1_1CDriverGLStatesz123_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz123_3">enableSecondaryColorArray</a> (bool enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">same as glClientActiveTextureARB(). usefull for enableTexCoordArray. <a href="#NL3D_1_1CDriverGLStatesz123_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz123_4">enableTexCoordArray</a> (bool enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">NB: caller must call correct <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz123_0">clientActiveTextureARB()</a> before. <a href="#NL3D_1_1CDriverGLStatesz123_4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz123_5">enableVertexArray</a> (bool enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">same as glClientActiveTextureARB(). usefull for enableTexCoordArray. <a href="#NL3D_1_1CDriverGLStatesz123_5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz123_6">enableVertexAttribArray</a> (<a class="el" href="a04558.html#a15">uint</a> glIndex, bool enable)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz123_7">enableVertexAttribArrayForEXTVertexShader</a> (<a class="el" href="a04558.html#a15">uint</a> glIndex, bool enable, <a class="el" href="a04558.html#a15">uint</a> *variants)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz123_8">enableWeightArray</a> (bool enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">same as glClientActiveTextureARB(). usefull for enableTexCoordArray. <a href="#NL3D_1_1CDriverGLStatesz123_8"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">enable if !0</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz117_0">enableAlphaTest</a> (<a class="el" href="a04558.html#a15">uint</a> enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">enable and set good AlphaFunc. <a href="#NL3D_1_1CDriverGLStatesz117_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz117_1">enableBlend</a> (<a class="el" href="a04558.html#a15">uint</a> enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">enable and set good AlphaFunc. <a href="#NL3D_1_1CDriverGLStatesz117_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz117_2">enableCullFace</a> (<a class="el" href="a04558.html#a15">uint</a> enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">enable and set good AlphaFunc. <a href="#NL3D_1_1CDriverGLStatesz117_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz117_3">enableFog</a> (<a class="el" href="a04558.html#a15">uint</a> enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">enable and set good AlphaFunc. <a href="#NL3D_1_1CDriverGLStatesz117_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz117_4">enableLighting</a> (<a class="el" href="a04558.html#a15">uint</a> enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">enable and set good AlphaFunc. <a href="#NL3D_1_1CDriverGLStatesz117_4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz117_5">enableZWrite</a> (<a class="el" href="a04558.html#a15">uint</a> enable)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">enable and set good AlphaFunc. <a href="#NL3D_1_1CDriverGLStatesz117_5"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Material setting.</div></td></tr>
+<tr><td colspan="2"><div class="groupText">Each f() get an uint32 for fast comparison, and OpenGL colors. <br><br></div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz119_0">setAmbient</a> (<a class="el" href="a04558.html#a11">uint32</a> packedColor, const GLfloat color[4])</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz119_1">setDepthRange</a> (float zDelta)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz119_2">setDiffuse</a> (<a class="el" href="a04558.html#a11">uint32</a> packedColor, const GLfloat color[4])</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz119_3">setEmissive</a> (<a class="el" href="a04558.html#a11">uint32</a> packedColor, const GLfloat color[4])</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz119_4">setShininess</a> (float shin)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz119_5">setSpecular</a> (<a class="el" href="a04558.html#a11">uint32</a> packedColor, const GLfloat color[4])</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz119_6">setTexGenMode</a> (<a class="el" href="a04558.html#a15">uint</a> stage, GLint mode)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz119_7">setVertexColorLighted</a> (bool enable)</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr0">_ColorArrayEnabled</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr1">_CurAlphaTest</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr2">_CurAlphaTestThreshold</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr3">_CurAmbient</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr4">_CurBlend</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>GLenum&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr5">_CurBlendDst</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>GLenum&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr6">_CurBlendSrc</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr7">_CurCullFace</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>GLenum&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr8">_CurDepthFunc</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr9">_CurDiffuse</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr10">_CurEmissive</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr11">_CurFog</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr12">_CurLighting</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr13">_CurrentActiveTextureARB</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr14">_CurrentClientActiveTextureARB</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr15">_CurShininess</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr16">_CurSpecular</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr17">_CurZRangeDelta</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr18">_CurZWrite</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr19">_NormalArrayEnabled</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr20">_SecondaryColorArrayEnabled</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr21">_TexCoordArrayEnabled</a> [8]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>GLint&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr22">_TexGenMode</a> [8]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr23">_TextureCubeMapSupported</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0">TTextureMode</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr24">_TextureMode</a> [8]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr25">_VertexArrayEnabled</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr26">_VertexAttribArrayEnabled</a> [CVertexBuffer::NumValue]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr27">_VertexColorLighted</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr28">_WeightArrayEnabled</a></td></tr>
+
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz121_0" doxytag="NL3D::CDriverGLStates::TTextureMode" ></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="a02436.html#NL3D_1_1CDriverGLStatesz121_0">NL3D::CDriverGLStates::TTextureMode</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </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_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw2" doxytag="TextureDisabled" ></a>TextureDisabled</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw0" doxytag="Texture2D" ></a>Texture2D</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw1" doxytag="TextureCubeMap" ></a>TextureCubeMap</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw3" doxytag="TextureModeCount" ></a>TextureModeCount</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00127">127</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00473">setTextureMode()</a>.
+<p>
+<div class="fragment"><pre>00127 {<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw2">TextureDisabled</a>, <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw0">Texture2D</a>, <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw1">TextureCubeMap</a>, <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw3">TextureModeCount</a>};
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesa2" doxytag="NL3D::CDriverGLStates::CDriverGLStates" ></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::CDriverGLStates::CDriverGLStates </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor. no-op.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00037">37</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00185">_TextureCubeMapSupported</a>.
+<p>
+<div class="fragment"><pre>00038 {
+00039 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr23">_TextureCubeMapSupported</a>= <span class="keyword">false</span>;
+00040 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz121_1" doxytag="NL3D::CDriverGLStates::activeTextureARB" ></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::CDriverGLStates::activeTextureARB </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stage</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+same as glActiveTextureARB(). usefull for setTextureMode.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00507">507</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00186">_CurrentActiveTextureARB</a>, <a class="el" href="a05645.html#l00188">nglActiveTextureARB</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05652.html#l00941">NL3D::CDriverGL::activateTexture()</a>, <a class="el" href="a05642.html#l02185">NL3D::CDriverGL::copyFrameBufferToTexture()</a>, <a class="el" href="a05648.html#l00197">NL3D::CDriverGL::disableUserTextureMatrix()</a>, <a class="el" href="a05648.html#l00920">NL3D::CDriverGL::endLightMapMultiPass()</a>, <a class="el" href="a05643.html#l00699">NL3D::CDriverGL::forceActivateTexEnvColor()</a>, <a class="el" href="a05652.html#l01054">NL3D::CDriverGL::forceActivateTexEnvMode()</a>, <a class="el" href="a05642.html#l02686">NL3D::CDriverGL::initEMBM()</a>, <a class="el" href="a05642.html#l01440">NL3D::CDriverGL::resetTextureShaders()</a>, <a class="el" href="a05642.html#l02673">NL3D::CDriverGL::setEMBMMatrix()</a>, <a class="el" href="a05642.html#l02398">NL3D::CDriverGL::setMatrix2DForTextureOffsetAddrMode()</a>, <a class="el" href="a05648.html#l00117">NL3D::CDriverGL::setTextureEnvFunction()</a>, <a class="el" href="a05648.html#l00238">NL3D::CDriverGL::setTextureShaders()</a>, <a class="el" href="a05648.html#l01733">NL3D::CDriverGL::setupCloudPass()</a>, <a class="el" href="a05648.html#l00670">NL3D::CDriverGL::setupLightMapPass()</a>, <a class="el" href="a05648.html#l01561">NL3D::CDriverGL::setupPPLNoSpecPass()</a>, <a class="el" href="a05648.html#l01376">NL3D::CDriverGL::setupPPLPass()</a>, <a class="el" href="a05648.html#l00985">NL3D::CDriverGL::setupSpecularBegin()</a>, <a class="el" href="a05648.html#l01022">NL3D::CDriverGL::setupSpecularEnd()</a>, <a class="el" href="a05648.html#l01067">NL3D::CDriverGL::setupSpecularPass()</a>, <a class="el" href="a05652.html#l00361">NL3D::CDriverGL::setupTextureEx()</a>, <a class="el" href="a05648.html#l00160">NL3D::CDriverGL::setupUserTextureMatrix()</a>, <a class="el" href="a05648.html#l02064">NL3D::CDriverGL::setupWaterPassNV20()</a>, and <a class="el" href="a05652.html#l00807">NL3D::CDriverGL::uploadTexture()</a>.
+<p>
+<div class="fragment"><pre>00508 {
+00509 <span class="keywordflow">if</span>( <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr13">_CurrentActiveTextureARB</a> != stage )
+00510 {
+00511 <a class="code" href="a04222.html#a0">nglActiveTextureARB</a>(GL_TEXTURE0_ARB+stage);
+00512 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr13">_CurrentActiveTextureARB</a>= stage;
+00513 }
+00514 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesa0" doxytag="NL3D::CDriverGLStates::alphaFunc" ></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::CDriverGLStates::alphaFunc </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>threshold</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+glAlphaFunc
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00284">284</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00176">_CurAlphaTestThreshold</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00285 {
+00286 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00287 <span class="preprocessor"></span> <span class="keywordflow">if</span>(threshold != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr2">_CurAlphaTestThreshold</a>)
+00288 <span class="preprocessor">#endif</span>
+00289 <span class="preprocessor"></span> {
+00290 <span class="comment">// new state</span>
+00291 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr2">_CurAlphaTestThreshold</a>= threshold;
+00292 <span class="comment">// setup function.</span>
+00293 glAlphaFunc(GL_GREATER, _CurAlphaTestThreshold);
+00294 }
+00295 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesa1" doxytag="NL3D::CDriverGLStates::blendFunc" ></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::CDriverGLStates::blendFunc </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">GLenum&nbsp;</td>
+ <td class="mdname" nowrap> <em>src</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>GLenum&nbsp;</td>
+ <td class="mdname" nowrap> <em>dst</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+glBlendFunc.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00252">252</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00174">_CurBlendDst</a>, <a class="el" href="a05651.html#l00173">_CurBlendSrc</a>, and <a class="el" href="a05646.html#l01124">src</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00670">NL3D::CDriverGL::setupLightMapPass()</a>, <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>, and <a class="el" href="a05648.html#l01067">NL3D::CDriverGL::setupSpecularPass()</a>.
+<p>
+<div class="fragment"><pre>00253 {
+00254 <span class="comment">// If different from current setup, update.</span>
+00255 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00256 <span class="preprocessor"></span> <span class="keywordflow">if</span>( <a class="code" href="a04223.html#a652">src</a>!= <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr6">_CurBlendSrc</a> || dst!=<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr5">_CurBlendDst</a> )
+00257 <span class="preprocessor">#endif</span>
+00258 <span class="preprocessor"></span> {
+00259 <span class="comment">// new state.</span>
+00260 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr6">_CurBlendSrc</a>= <a class="code" href="a04223.html#a652">src</a>;
+00261 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr5">_CurBlendDst</a>= dst;
+00262 <span class="comment">// Setup GLState.</span>
+00263 glBlendFunc(_CurBlendSrc, _CurBlendDst);
+00264 }
+00265 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz123_0" doxytag="NL3D::CDriverGLStates::clientActiveTextureARB" ></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::CDriverGLStates::clientActiveTextureARB </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stage</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+same as glClientActiveTextureARB(). usefull for enableTexCoordArray.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00594">594</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00194">_CurrentClientActiveTextureARB</a>, <a class="el" href="a05645.html#l00189">nglClientActiveTextureARB</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00631">enableVertexAttribArrayForEXTVertexShader()</a>, <a class="el" href="a05653.html#l00920">NL3D::CDriverGL::setupGlArraysForEXTVertexShader()</a>, <a class="el" href="a05653.html#l00449">NL3D::CDriverGL::setupUVPtr()</a>, <a class="el" href="a05653.html#l00792">NL3D::CDriverGL::toggleGlArraysForEXTVertexShader()</a>, and <a class="el" href="a05653.html#l00748">NL3D::CDriverGL::toggleGlArraysForNVVertexProgram()</a>.
+<p>
+<div class="fragment"><pre>00595 {
+00596 <span class="keywordflow">if</span>( <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr14">_CurrentClientActiveTextureARB</a> != stage )
+00597 {
+00598 <a class="code" href="a04222.html#a1">nglClientActiveTextureARB</a>(GL_TEXTURE0_ARB+stage);
+00599 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr14">_CurrentClientActiveTextureARB</a>= stage;
+00600 }
+00601 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesa3" doxytag="NL3D::CDriverGLStates::depthFunc" ></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::CDriverGLStates::depthFunc </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">GLenum&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>zcomp</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+glDepthFunc.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00268">268</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00175">_CurDepthFunc</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00269 {
+00270 <span class="comment">// If different from current setup, update.</span>
+00271 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00272 <span class="preprocessor"></span> <span class="keywordflow">if</span>( zcomp != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr8">_CurDepthFunc</a> )
+00273 <span class="preprocessor">#endif</span>
+00274 <span class="preprocessor"></span> {
+00275 <span class="comment">// new state.</span>
+00276 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr8">_CurDepthFunc</a>= zcomp;
+00277 <span class="comment">// Setup GLState.</span>
+00278 glDepthFunc(_CurDepthFunc);
+00279 }
+00280 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz117_0" doxytag="NL3D::CDriverGLStates::enableAlphaTest" ></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::CDriverGLStates::enableAlphaTest </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+enable and set good AlphaFunc.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00188">188</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00169">_CurAlphaTest</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00189 {
+00190 <span class="comment">// If different from current setup, update.</span>
+00191 <span class="keywordtype">bool</span> enabled= (enable!=0);
+00192 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00193 <span class="preprocessor"></span> <span class="keywordflow">if</span>( enabled != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr1">_CurAlphaTest</a> )
+00194 <span class="preprocessor">#endif</span>
+00195 <span class="preprocessor"></span> {
+00196 <span class="comment">// new state.</span>
+00197 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr1">_CurAlphaTest</a>= enabled;
+00198
+00199 <span class="comment">// Setup GLState.</span>
+00200 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr1">_CurAlphaTest</a>)
+00201 {
+00202 glEnable(GL_ALPHA_TEST);
+00203 }
+00204 <span class="keywordflow">else</span>
+00205 {
+00206 glDisable(GL_ALPHA_TEST);
+00207 }
+00208 }
+00209 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz117_1" doxytag="NL3D::CDriverGLStates::enableBlend" ></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::CDriverGLStates::enableBlend </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+enable and set good AlphaFunc.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00150">150</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00166">_CurBlend</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00670">NL3D::CDriverGL::setupLightMapPass()</a>, <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>, and <a class="el" href="a05648.html#l01067">NL3D::CDriverGL::setupSpecularPass()</a>.
+<p>
+<div class="fragment"><pre>00151 {
+00152 <span class="comment">// If different from current setup, update.</span>
+00153 <span class="keywordtype">bool</span> enabled= (enable!=0);
+00154 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00155 <span class="preprocessor"></span> <span class="keywordflow">if</span>( enabled != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr4">_CurBlend</a> )
+00156 <span class="preprocessor">#endif</span>
+00157 <span class="preprocessor"></span> {
+00158 <span class="comment">// new state.</span>
+00159 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr4">_CurBlend</a>= enabled;
+00160 <span class="comment">// Setup GLState.</span>
+00161 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr4">_CurBlend</a>)
+00162 glEnable(GL_BLEND);
+00163 <span class="keywordflow">else</span>
+00164 glDisable(GL_BLEND);
+00165 }
+00166 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz123_1" doxytag="NL3D::CDriverGLStates::enableColorArray" ></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::CDriverGLStates::enableColorArray </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+same as glClientActiveTextureARB(). usefull for enableTexCoordArray.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00561">561</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00192">_ColorArrayEnabled</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00653">NL3D::CDriverGL::beginLightMapMultiPass()</a>, <a class="el" href="a05650.html#l00631">enableVertexAttribArrayForEXTVertexShader()</a>, <a class="el" href="a05648.html#l00948">NL3D::CDriverGL::resetLightMapVertexSetup()</a>, <a class="el" href="a05653.html#l00838">NL3D::CDriverGL::setupGlArraysForNVVertexProgram()</a>, <a class="el" href="a05653.html#l00676">NL3D::CDriverGL::setupGlArraysStd()</a>, <a class="el" href="a05653.html#l00792">NL3D::CDriverGL::toggleGlArraysForEXTVertexShader()</a>, and <a class="el" href="a05653.html#l00748">NL3D::CDriverGL::toggleGlArraysForNVVertexProgram()</a>.
+<p>
+<div class="fragment"><pre>00562 {
+00563 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr0">_ColorArrayEnabled</a> != enable)
+00564 {
+00565 <span class="keywordflow">if</span>(enable)
+00566 glEnableClientState(GL_COLOR_ARRAY);
+00567 <span class="keywordflow">else</span>
+00568 glDisableClientState(GL_COLOR_ARRAY);
+00569 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr0">_ColorArrayEnabled</a>= enable;
+00570 }
+00571 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz117_2" doxytag="NL3D::CDriverGLStates::enableCullFace" ></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::CDriverGLStates::enableCullFace </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+enable and set good AlphaFunc.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00169">169</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00168">_CurCullFace</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00170 {
+00171 <span class="comment">// If different from current setup, update.</span>
+00172 <span class="keywordtype">bool</span> enabled= (enable!=0);
+00173 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00174 <span class="preprocessor"></span> <span class="keywordflow">if</span>( enabled != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr7">_CurCullFace</a> )
+00175 <span class="preprocessor">#endif</span>
+00176 <span class="preprocessor"></span> {
+00177 <span class="comment">// new state.</span>
+00178 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr7">_CurCullFace</a>= enabled;
+00179 <span class="comment">// Setup GLState.</span>
+00180 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr7">_CurCullFace</a>)
+00181 glEnable(GL_CULL_FACE);
+00182 <span class="keywordflow">else</span>
+00183 glDisable(GL_CULL_FACE);
+00184 }
+00185 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz117_3" doxytag="NL3D::CDriverGLStates::enableFog" ></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::CDriverGLStates::enableFog </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+enable and set good AlphaFunc.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00695">695</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00167">_CurFog</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05642.html#l02239">NL3D::CDriverGL::enableFog()</a>, and <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00696 {
+00697 <span class="comment">// If different from current setup, update.</span>
+00698 <span class="keywordtype">bool</span> enabled= (enable!=0);
+00699 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00700 <span class="preprocessor"></span> <span class="keywordflow">if</span>( enabled != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr11">_CurFog</a> )
+00701 <span class="preprocessor">#endif</span>
+00702 <span class="preprocessor"></span> {
+00703 <span class="comment">// new state.</span>
+00704 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr11">_CurFog</a>= enabled;
+00705 <span class="comment">// Setup GLState.</span>
+00706 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr11">_CurFog</a>)
+00707 glEnable(GL_FOG);
+00708 <span class="keywordflow">else</span>
+00709 glDisable(GL_FOG);
+00710 }
+00711 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz117_4" doxytag="NL3D::CDriverGLStates::enableLighting" ></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::CDriverGLStates::enableLighting </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+enable and set good AlphaFunc.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00212">212</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00170">_CurLighting</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00653">NL3D::CDriverGL::beginLightMapMultiPass()</a>, and <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00213 {
+00214 <span class="comment">// If different from current setup, update.</span>
+00215 <span class="keywordtype">bool</span> enabled= (enable!=0);
+00216 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00217 <span class="preprocessor"></span> <span class="keywordflow">if</span>( enabled != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr12">_CurLighting</a> )
+00218 <span class="preprocessor">#endif</span>
+00219 <span class="preprocessor"></span> {
+00220 <span class="comment">// new state.</span>
+00221 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr12">_CurLighting</a>= enabled;
+00222 <span class="comment">// Setup GLState.</span>
+00223 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr12">_CurLighting</a>)
+00224 glEnable(GL_LIGHTING);
+00225 <span class="keywordflow">else</span>
+00226 glDisable(GL_LIGHTING);
+00227 }
+00228 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz123_2" doxytag="NL3D::CDriverGLStates::enableNormalArray" ></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::CDriverGLStates::enableNormalArray </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+same as glClientActiveTextureARB(). usefull for enableTexCoordArray.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00537">537</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00190">_NormalArrayEnabled</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00631">enableVertexAttribArrayForEXTVertexShader()</a>, <a class="el" href="a05653.html#l00676">NL3D::CDriverGL::setupGlArraysStd()</a>, <a class="el" href="a05653.html#l00792">NL3D::CDriverGL::toggleGlArraysForEXTVertexShader()</a>, and <a class="el" href="a05653.html#l00748">NL3D::CDriverGL::toggleGlArraysForNVVertexProgram()</a>.
+<p>
+<div class="fragment"><pre>00538 {
+00539 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr19">_NormalArrayEnabled</a> != enable)
+00540 {
+00541 <span class="keywordflow">if</span>(enable)
+00542 glEnableClientState(GL_NORMAL_ARRAY);
+00543 <span class="keywordflow">else</span>
+00544 glDisableClientState(GL_NORMAL_ARRAY);
+00545 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr19">_NormalArrayEnabled</a>= enable;
+00546 }
+00547 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz123_3" doxytag="NL3D::CDriverGLStates::enableSecondaryColorArray" ></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::CDriverGLStates::enableSecondaryColorArray </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+same as glClientActiveTextureARB(). usefull for enableTexCoordArray.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00575">575</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00193">_SecondaryColorArrayEnabled</a>, and <a class="el" href="a05645.html#l00390">nglSecondaryColor3ubEXT</a>.
+<p>
+Referenced by <a class="el" href="a05653.html#l00838">NL3D::CDriverGL::setupGlArraysForNVVertexProgram()</a>, and <a class="el" href="a05653.html#l00748">NL3D::CDriverGL::toggleGlArraysForNVVertexProgram()</a>.
+<p>
+<div class="fragment"><pre>00576 {
+00577 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr20">_SecondaryColorArrayEnabled</a> != enable)
+00578 {
+00579 <span class="keywordflow">if</span>(enable)
+00580 glEnableClientState(GL_SECONDARY_COLOR_ARRAY_EXT);
+00581 <span class="keywordflow">else</span>
+00582 glDisableClientState(GL_SECONDARY_COLOR_ARRAY_EXT);
+00583 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr20">_SecondaryColorArrayEnabled</a>= enable;
+00584 <span class="comment">// If disable</span>
+00585 <span class="keywordflow">if</span>(!enable)
+00586 {
+00587 <span class="comment">// GeForceFx Bug: Must reset Secondary color to 0 (if comes from a VP), else bugs</span>
+00588 <a class="code" href="a04222.html#a164">nglSecondaryColor3ubEXT</a>(0,0,0);
+00589 }
+00590 }
+00591 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz123_4" doxytag="NL3D::CDriverGLStates::enableTexCoordArray" ></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::CDriverGLStates::enableTexCoordArray </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+NB: caller must call correct <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz123_0">clientActiveTextureARB()</a> before.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00604">604</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00194">_CurrentClientActiveTextureARB</a>, and <a class="el" href="a05651.html#l00195">_TexCoordArrayEnabled</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00631">enableVertexAttribArrayForEXTVertexShader()</a>, <a class="el" href="a05653.html#l00449">NL3D::CDriverGL::setupUVPtr()</a>, <a class="el" href="a05653.html#l00792">NL3D::CDriverGL::toggleGlArraysForEXTVertexShader()</a>, and <a class="el" href="a05653.html#l00748">NL3D::CDriverGL::toggleGlArraysForNVVertexProgram()</a>.
+<p>
+<div class="fragment"><pre>00605 {
+00606 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr21">_TexCoordArrayEnabled</a>[<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr14">_CurrentClientActiveTextureARB</a>] != enable)
+00607 {
+00608 <span class="keywordflow">if</span>(enable)
+00609 glEnableClientState(GL_TEXTURE_COORD_ARRAY);
+00610 <span class="keywordflow">else</span>
+00611 glDisableClientState(GL_TEXTURE_COORD_ARRAY);
+00612 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr21">_TexCoordArrayEnabled</a>[<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr14">_CurrentClientActiveTextureARB</a>]= enable;
+00613 }
+00614 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz123_5" doxytag="NL3D::CDriverGLStates::enableVertexArray" ></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::CDriverGLStates::enableVertexArray </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+same as glClientActiveTextureARB(). usefull for enableTexCoordArray.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00525">525</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00189">_VertexArrayEnabled</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00631">enableVertexAttribArrayForEXTVertexShader()</a>, <a class="el" href="a05653.html#l00676">NL3D::CDriverGL::setupGlArraysStd()</a>, <a class="el" href="a05653.html#l00792">NL3D::CDriverGL::toggleGlArraysForEXTVertexShader()</a>, and <a class="el" href="a05653.html#l00748">NL3D::CDriverGL::toggleGlArraysForNVVertexProgram()</a>.
+<p>
+<div class="fragment"><pre>00526 {
+00527 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr25">_VertexArrayEnabled</a> != enable)
+00528 {
+00529 <span class="keywordflow">if</span>(enable)
+00530 glEnableClientState(GL_VERTEX_ARRAY);
+00531 <span class="keywordflow">else</span>
+00532 glDisableClientState(GL_VERTEX_ARRAY);
+00533 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr25">_VertexArrayEnabled</a>= enable;
+00534 }
+00535 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz123_6" doxytag="NL3D::CDriverGLStates::enableVertexAttribArray" ></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::CDriverGLStates::enableVertexAttribArray </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>glIndex</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>enable</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+For vertexProgram. do not check if supported or not.
+<p>
+Definition at line <a class="el" href="a05650.html#l00617">617</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00196">_VertexAttribArrayEnabled</a>, <a class="el" href="a05646.html#l00105">GL_VERTEX_ATTRIB_ARRAY0_NV</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05653.html#l00838">NL3D::CDriverGL::setupGlArraysForNVVertexProgram()</a>, and <a class="el" href="a05653.html#l00748">NL3D::CDriverGL::toggleGlArraysForNVVertexProgram()</a>.
+<p>
+<div class="fragment"><pre>00618 {
+00619 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr26">_VertexAttribArrayEnabled</a>[glIndex] != enable)
+00620 {
+00621 <span class="keywordflow">if</span>(enable)
+00622 glEnableClientState(glIndex+GL_VERTEX_ATTRIB_ARRAY0_NV);
+00623 <span class="keywordflow">else</span>
+00624 glDisableClientState(glIndex+GL_VERTEX_ATTRIB_ARRAY0_NV);
+00625 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr26">_VertexAttribArrayEnabled</a>[glIndex]= enable;
+00626 }
+00627 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz123_7" doxytag="NL3D::CDriverGLStates::enableVertexAttribArrayForEXTVertexShader" ></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::CDriverGLStates::enableVertexAttribArrayForEXTVertexShader </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>glIndex</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>enable</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>variants</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Same as enableVertexAttribArray, but for EXTVertexShader (need variant ID) <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>firstVariantSymbol</em>&nbsp;</td><td>the first variant symbol</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00631">631</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00196">_VertexAttribArrayEnabled</a>, <a class="el" href="a05650.html#l00594">clientActiveTextureARB()</a>, <a class="el" href="a05650.html#l00561">enableColorArray()</a>, <a class="el" href="a05650.html#l00537">enableNormalArray()</a>, <a class="el" href="a05650.html#l00604">enableTexCoordArray()</a>, <a class="el" href="a05650.html#l00525">enableVertexArray()</a>, <a class="el" href="a05645.html#l00351">nglDisableVariantClientStateEXT</a>, <a class="el" href="a05645.html#l00350">nglEnableVariantClientStateEXT</a>, <a class="el" href="a05622.html#l00416">nlstop</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05653.html#l00920">NL3D::CDriverGL::setupGlArraysForEXTVertexShader()</a>, and <a class="el" href="a05653.html#l00792">NL3D::CDriverGL::toggleGlArraysForEXTVertexShader()</a>.
+<p>
+<div class="fragment"><pre>00632 {
+00633 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr26">_VertexAttribArrayEnabled</a>[glIndex] != enable)
+00634 {
+00635 <span class="keywordflow">switch</span>(glIndex)
+00636 {
+00637 <span class="keywordflow">case</span> 0: <span class="comment">// position </span>
+00638 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz123_5">enableVertexArray</a>(enable);
+00639 <span class="keywordflow">break</span>;
+00640 <span class="keywordflow">case</span> 1: <span class="comment">// skin weight</span>
+00641 <span class="keywordflow">if</span>(enable)
+00642 <a class="code" href="a04222.html#a132">nglEnableVariantClientStateEXT</a>(variants[CDriverGL::EVSSkinWeightVariant]);
+00643 <span class="keywordflow">else</span>
+00644 <a class="code" href="a04222.html#a133">nglDisableVariantClientStateEXT</a>(variants[CDriverGL::EVSSkinWeightVariant]);
+00645 <span class="keywordflow">break</span>;
+00646 <span class="keywordflow">case</span> 2: <span class="comment">// normal</span>
+00647 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz123_2">enableNormalArray</a>(enable);
+00648 <span class="keywordflow">break</span>;
+00649 <span class="keywordflow">case</span> 3: <span class="comment">// color</span>
+00650 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz123_1">enableColorArray</a>(enable);
+00651 <span class="keywordflow">break</span>;
+00652 <span class="keywordflow">case</span> 4: <span class="comment">// secondary color</span>
+00653 <span class="keywordflow">if</span>(enable)
+00654 <a class="code" href="a04222.html#a132">nglEnableVariantClientStateEXT</a>(variants[CDriverGL::EVSSecondaryColorVariant]);
+00655 <span class="keywordflow">else</span>
+00656 <a class="code" href="a04222.html#a133">nglDisableVariantClientStateEXT</a>(variants[CDriverGL::EVSSecondaryColorVariant]);
+00657 <span class="keywordflow">break</span>;
+00658 <span class="keywordflow">case</span> 5: <span class="comment">// fog coordinate</span>
+00659 <span class="keywordflow">if</span>(enable)
+00660 <a class="code" href="a04222.html#a132">nglEnableVariantClientStateEXT</a>(variants[CDriverGL::EVSFogCoordsVariant]);
+00661 <span class="keywordflow">else</span>
+00662 <a class="code" href="a04222.html#a133">nglDisableVariantClientStateEXT</a>(variants[CDriverGL::EVSFogCoordsVariant]);
+00663 <span class="keywordflow">break</span>;
+00664 <span class="keywordflow">case</span> 6: <span class="comment">// palette skin</span>
+00665 <span class="keywordflow">if</span>(enable)
+00666 <a class="code" href="a04222.html#a132">nglEnableVariantClientStateEXT</a>(variants[CDriverGL::EVSPaletteSkinVariant]);
+00667 <span class="keywordflow">else</span>
+00668 <a class="code" href="a04222.html#a133">nglDisableVariantClientStateEXT</a>(variants[CDriverGL::EVSPaletteSkinVariant]);
+00669 <span class="keywordflow">break</span>;
+00670 <span class="keywordflow">case</span> 7: <span class="comment">// empty</span>
+00671 <a class="code" href="a04199.html#a12">nlstop</a>
+00672 <span class="keywordflow">break</span>;
+00673 <span class="keywordflow">case</span> 8:
+00674 <span class="keywordflow">case</span> 9:
+00675 <span class="keywordflow">case</span> 10:
+00676 <span class="keywordflow">case</span> 11:
+00677 <span class="keywordflow">case</span> 12:
+00678 <span class="keywordflow">case</span> 13:
+00679 <span class="keywordflow">case</span> 14:
+00680 <span class="keywordflow">case</span> 15:
+00681 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz123_0">clientActiveTextureARB</a>(glIndex - 8);
+00682 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz123_4">enableTexCoordArray</a>(enable);
+00683 <span class="keywordflow">break</span>;
+00684 <span class="keywordflow">default</span>:
+00685 <a class="code" href="a04199.html#a12">nlstop</a>; <span class="comment">// invalid value</span>
+00686 <span class="keywordflow">break</span>;
+00687 }
+00688 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr26">_VertexAttribArrayEnabled</a>[glIndex]= enable;
+00689 }
+00690 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz123_8" doxytag="NL3D::CDriverGLStates::enableWeightArray" ></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::CDriverGLStates::enableWeightArray </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+same as glClientActiveTextureARB(). usefull for enableTexCoordArray.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00549">549</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00191">_WeightArrayEnabled</a>.
+<p>
+<div class="fragment"><pre>00550 {
+00551 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr28">_WeightArrayEnabled</a> != enable)
+00552 {
+00553 <span class="keywordflow">if</span>(enable)
+00554 glEnableClientState(GL_VERTEX_WEIGHTING_EXT);
+00555 <span class="keywordflow">else</span>
+00556 glDisableClientState(GL_VERTEX_WEIGHTING_EXT);
+00557 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr28">_WeightArrayEnabled</a>= enable;
+00558 }
+00559 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz117_5" doxytag="NL3D::CDriverGLStates::enableZWrite" ></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::CDriverGLStates::enableZWrite </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+enable and set good AlphaFunc.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00231">231</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00171">_CurZWrite</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05642.html#l01520">NL3D::CDriverGL::clearZBuffer()</a>, and <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00232 {
+00233 <span class="comment">// If different from current setup, update.</span>
+00234 <span class="keywordtype">bool</span> enabled= (enable!=0);
+00235 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00236 <span class="preprocessor"></span> <span class="keywordflow">if</span>( enabled != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr18">_CurZWrite</a> )
+00237 <span class="preprocessor">#endif</span>
+00238 <span class="preprocessor"></span> {
+00239 <span class="comment">// new state.</span>
+00240 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr18">_CurZWrite</a>= enabled;
+00241 <span class="comment">// Setup GLState.</span>
+00242 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr18">_CurZWrite</a>)
+00243 glDepthMask(GL_TRUE);
+00244 <span class="keywordflow">else</span>
+00245 glDepthMask(GL_FALSE);
+00246 }
+00247 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz121_2" doxytag="NL3D::CDriverGLStates::forceActiveTextureARB" ></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::CDriverGLStates::forceActiveTextureARB </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stage</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+same as active texture arb, but with no cache check
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00517">517</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00186">_CurrentActiveTextureARB</a>, <a class="el" href="a05645.html#l00188">nglActiveTextureARB</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00518 {
+00519 <a class="code" href="a04222.html#a0">nglActiveTextureARB</a>(GL_TEXTURE0_ARB+stage);
+00520 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr13">_CurrentActiveTextureARB</a>= stage;
+00521 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesa4" doxytag="NL3D::CDriverGLStates::forceDefaults" ></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::CDriverGLStates::forceDefaults </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>nbTextureStages</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Reset all OpenGL states of interest to default, and update caching.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00067">67</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00169">_CurAlphaTest</a>, <a class="el" href="a05651.html#l00176">_CurAlphaTestThreshold</a>, <a class="el" href="a05651.html#l00179">_CurAmbient</a>, <a class="el" href="a05651.html#l00166">_CurBlend</a>, <a class="el" href="a05651.html#l00174">_CurBlendDst</a>, <a class="el" href="a05651.html#l00173">_CurBlendSrc</a>, <a class="el" href="a05651.html#l00168">_CurCullFace</a>, <a class="el" href="a05651.html#l00175">_CurDepthFunc</a>, <a class="el" href="a05651.html#l00180">_CurDiffuse</a>, <a class="el" href="a05651.html#l00178">_CurEmissive</a>, <a class="el" href="a05651.html#l00167">_CurFog</a>, <a class="el" href="a05651.html#l00170">_CurLighting</a>, <a class="el" href="a05651.html#l00186">_CurrentActiveTextureARB</a>, <a class="el" href="a05651.html#l00194">_CurrentClientActiveTextureARB</a>, <a class="el" href="a05651.html#l00182">_CurShininess</a>, <a class="el" href="a05651.html#l00181">_CurSpecular</a>, <a class="el" href="a05651.html#l00200">_CurZRangeDelta</a>, <a class="el" href="a05651.html#l00171">_CurZWrite</a>, <a class="el" href="a05651.html#l00198">_TexGenMode</a>, <a class="el" href="a05651.html#l00185">_TextureCubeMapSupported</a>, <a class="el" href="a05651.html#l00187">_TextureMode</a>, <a class="el" href="a05651.html#l00183">_VertexColorLighted</a>, <a class="el" href="a05645.html#l00188">nglActiveTextureARB</a>, <a class="el" href="a05645.html#l00189">nglClientActiveTextureARB</a>, <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw2">TextureDisabled</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a05642.html#l01536">NL3D::CDriverGL::swapBuffers()</a>.
+<p>
+<div class="fragment"><pre>00068 {
+00069 <span class="comment">// Enable / disable.</span>
+00070 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr11">_CurFog</a>= <span class="keyword">false</span>;
+00071 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr4">_CurBlend</a>= <span class="keyword">false</span>;
+00072 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr7">_CurCullFace</a>= <span class="keyword">true</span>;
+00073 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr1">_CurAlphaTest</a>= <span class="keyword">false</span>;
+00074 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr12">_CurLighting</a>= <span class="keyword">false</span>;
+00075 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr18">_CurZWrite</a>= <span class="keyword">true</span>;
+00076 <span class="comment">// setup GLStates.</span>
+00077 glDisable(GL_FOG);
+00078 glDisable(GL_BLEND);
+00079 glEnable(GL_CULL_FACE);
+00080 glDisable(GL_ALPHA_TEST);
+00081 glDisable(GL_LIGHTING);
+00082 glDepthMask(GL_TRUE);
+00083
+00084 <span class="comment">// Func.</span>
+00085 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr6">_CurBlendSrc</a>= GL_SRC_ALPHA;
+00086 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr5">_CurBlendDst</a>= GL_ONE_MINUS_SRC_ALPHA;
+00087 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr8">_CurDepthFunc</a>= GL_LEQUAL;
+00088 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr2">_CurAlphaTestThreshold</a>= 0.5f;
+00089 <span class="comment">// setup GLStates.</span>
+00090 glBlendFunc(_CurBlendSrc, _CurBlendDst);
+00091 glDepthFunc(_CurDepthFunc);
+00092 glAlphaFunc(GL_GREATER, _CurAlphaTestThreshold);
+00093
+00094 <span class="comment">// Materials.</span>
+00095 <a class="code" href="a04558.html#a11">uint32</a> packedOne= (<a class="code" href="a03337.html">CRGBA</a>(255,255,255,255)).getPacked();
+00096 <a class="code" href="a04558.html#a11">uint32</a> packedZero= (CRGBA(0,0,0,255)).getPacked();
+00097 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr10">_CurEmissive</a>= packedZero;
+00098 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr3">_CurAmbient</a>= packedOne;
+00099 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr9">_CurDiffuse</a>= packedOne;
+00100 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr16">_CurSpecular</a>= packedZero;
+00101 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr15">_CurShininess</a>= 1;
+00102
+00103 <span class="comment">// Lighted vertex color</span>
+00104 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr27">_VertexColorLighted</a>=<span class="keyword">false</span>;
+00105 glDisable(GL_COLOR_MATERIAL);
+00106
+00107 <span class="comment">// setup GLStates.</span>
+00108 <span class="keyword">static</span> <span class="keyword">const</span> GLfloat one[4]= {1,1,1,1};
+00109 <span class="keyword">static</span> <span class="keyword">const</span> GLfloat zero[4]= {0,0,0,1};
+00110 glMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, zero);
+00111 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, one);
+00112 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, one);
+00113 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, zero);
+00114 glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, _CurShininess);
+00115
+00116
+00117 <span class="comment">// TexModes</span>
+00118 <a class="code" href="a04558.html#a15">uint</a> stage;
+00119 <span class="keywordflow">for</span>(stage=0;stage&lt;nbStages; stage++)
+00120 {
+00121 <span class="comment">// disable texturing.</span>
+00122 <a class="code" href="a04222.html#a0">nglActiveTextureARB</a>(GL_TEXTURE0_ARB+stage);
+00123 glDisable(GL_TEXTURE_2D);
+00124 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr23">_TextureCubeMapSupported</a>)
+00125 glDisable(GL_TEXTURE_CUBE_MAP_ARB);
+00126 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr24">_TextureMode</a>[stage]= <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw2">TextureDisabled</a>;
+00127
+00128 <span class="comment">// Tex gen init</span>
+00129 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr22">_TexGenMode</a>[stage] = 0;
+00130 glDisable( GL_TEXTURE_GEN_S );
+00131 glDisable( GL_TEXTURE_GEN_T );
+00132 glDisable( GL_TEXTURE_GEN_R );
+00133 glDisable( GL_TEXTURE_GEN_Q );
+00134 }
+00135
+00136 <span class="comment">// ActiveTexture current texture to 0.</span>
+00137 <a class="code" href="a04222.html#a0">nglActiveTextureARB</a>(GL_TEXTURE0_ARB);
+00138 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr13">_CurrentActiveTextureARB</a>= 0;
+00139 <a class="code" href="a04222.html#a1">nglClientActiveTextureARB</a>(GL_TEXTURE0_ARB);
+00140 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr14">_CurrentClientActiveTextureARB</a>= 0;
+00141
+00142 <span class="comment">// Depth range</span>
+00143 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr17">_CurZRangeDelta</a> = 0;
+00144 glDepthRange (0, 1);
+00145 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz121_3" doxytag="NL3D::CDriverGLStates::getActiveTextureARB" ></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#a15">uint</a> NL3D::CDriverGLStates::getActiveTextureARB </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get active texture
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00133">133</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+References <a class="el" href="a05651.html#l00186">_CurrentActiveTextureARB</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00133 { <span class="keywordflow">return</span> <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr13">_CurrentActiveTextureARB</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesa5" doxytag="NL3D::CDriverGLStates::init" ></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::CDriverGLStates::init </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>supportTextureCubeMap</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00044">44</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00192">_ColorArrayEnabled</a>, <a class="el" href="a05651.html#l00190">_NormalArrayEnabled</a>, <a class="el" href="a05651.html#l00193">_SecondaryColorArrayEnabled</a>, <a class="el" href="a05651.html#l00195">_TexCoordArrayEnabled</a>, <a class="el" href="a05651.html#l00185">_TextureCubeMapSupported</a>, <a class="el" href="a05651.html#l00189">_VertexArrayEnabled</a>, <a class="el" href="a05651.html#l00196">_VertexAttribArrayEnabled</a>, <a class="el" href="a05651.html#l00191">_WeightArrayEnabled</a>, <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00045 {
+00046 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr23">_TextureCubeMapSupported</a>= supportTextureCubeMap;
+00047
+00048 <span class="comment">// By default all arrays are disabled.</span>
+00049 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr25">_VertexArrayEnabled</a>= <span class="keyword">false</span>;
+00050 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr19">_NormalArrayEnabled</a>= <span class="keyword">false</span>;
+00051 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr28">_WeightArrayEnabled</a>= <span class="keyword">false</span>;
+00052 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr0">_ColorArrayEnabled</a>= <span class="keyword">false</span>;
+00053 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr20">_SecondaryColorArrayEnabled</a>= <span class="keyword">false</span>;
+00054 <a class="code" href="a04558.html#a15">uint</a> i;
+00055 <span class="keywordflow">for</span>(i=0; i&lt;<a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>; i++)
+00056 {
+00057 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr21">_TexCoordArrayEnabled</a>[i]= <span class="keyword">false</span>;
+00058 }
+00059 <span class="keywordflow">for</span>(i=0; i&lt;CVertexBuffer::NumValue; i++)
+00060 {
+00061 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr26">_VertexAttribArrayEnabled</a>[i]= <span class="keyword">false</span>;
+00062 }
+00063 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz121_4" doxytag="NL3D::CDriverGLStates::resetTextureMode" ></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::CDriverGLStates::resetTextureMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00461">461</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00186">_CurrentActiveTextureARB</a>, <a class="el" href="a05651.html#l00185">_TextureCubeMapSupported</a>, <a class="el" href="a05651.html#l00187">_TextureMode</a>, and <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw2">TextureDisabled</a>.
+<p>
+<div class="fragment"><pre>00462 {
+00463 glDisable(GL_TEXTURE_2D);
+00464 <span class="keywordflow">if</span> (<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr23">_TextureCubeMapSupported</a>)
+00465 {
+00466 glDisable(GL_TEXTURE_CUBE_MAP_ARB);
+00467 }
+00468 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr24">_TextureMode</a>[<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr13">_CurrentActiveTextureARB</a>]= <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw2">TextureDisabled</a>;
+00469 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz119_0" doxytag="NL3D::CDriverGLStates::setAmbient" ></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::CDriverGLStates::setAmbient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>packedColor</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const GLfloat&nbsp;</td>
+ <td class="mdname" nowrap> <em>color</em>[4]</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00311">311</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00179">_CurAmbient</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00312 {
+00313 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00314 <span class="preprocessor"></span> <span class="keywordflow">if</span>( packedColor!=<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr3">_CurAmbient</a> )
+00315 <span class="preprocessor">#endif</span>
+00316 <span class="preprocessor"></span> {
+00317 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr3">_CurAmbient</a>= packedColor;
+00318 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, color);
+00319 }
+00320 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz119_1" doxytag="NL3D::CDriverGLStates::setDepthRange" ></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::CDriverGLStates::setDepthRange </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>zDelta</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00400">400</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00200">_CurZRangeDelta</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00401 {
+00402 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00403 <span class="preprocessor"></span> <span class="keywordflow">if</span> (zDelta != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr17">_CurZRangeDelta</a>)
+00404 <span class="preprocessor">#endif</span>
+00405 <span class="preprocessor"></span> {
+00406 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr17">_CurZRangeDelta</a> = zDelta;
+00407
+00408 <span class="comment">// Setup the range</span>
+00409 glDepthRange (zDelta, 1+zDelta);
+00410 }
+00411 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz119_2" doxytag="NL3D::CDriverGLStates::setDiffuse" ></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::CDriverGLStates::setDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>packedColor</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const GLfloat&nbsp;</td>
+ <td class="mdname" nowrap> <em>color</em>[4]</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00323">323</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00180">_CurDiffuse</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00324 {
+00325 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00326 <span class="preprocessor"></span> <span class="keywordflow">if</span>( packedColor!=<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr9">_CurDiffuse</a> )
+00327 <span class="preprocessor">#endif</span>
+00328 <span class="preprocessor"></span> {
+00329 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr9">_CurDiffuse</a>= packedColor;
+00330 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, color);
+00331 }
+00332 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz119_3" doxytag="NL3D::CDriverGLStates::setEmissive" ></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::CDriverGLStates::setEmissive </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>packedColor</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const GLfloat&nbsp;</td>
+ <td class="mdname" nowrap> <em>color</em>[4]</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00299">299</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00178">_CurEmissive</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00300 {
+00301 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00302 <span class="preprocessor"></span> <span class="keywordflow">if</span>( packedColor!=<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr10">_CurEmissive</a> )
+00303 <span class="preprocessor">#endif</span>
+00304 <span class="preprocessor"></span> {
+00305 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr10">_CurEmissive</a>= packedColor;
+00306 glMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, color);
+00307 }
+00308 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz119_4" doxytag="NL3D::CDriverGLStates::setShininess" ></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::CDriverGLStates::setShininess </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>shin</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00347">347</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00182">_CurShininess</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00348 {
+00349 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00350 <span class="preprocessor"></span> <span class="keywordflow">if</span>( shin != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr15">_CurShininess</a> )
+00351 <span class="preprocessor">#endif</span>
+00352 <span class="preprocessor"></span> {
+00353 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr15">_CurShininess</a>= shin;
+00354 glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, shin);
+00355 }
+00356 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz119_5" doxytag="NL3D::CDriverGLStates::setSpecular" ></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::CDriverGLStates::setSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>packedColor</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const GLfloat&nbsp;</td>
+ <td class="mdname" nowrap> <em>color</em>[4]</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00335">335</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00181">_CurSpecular</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00336 {
+00337 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00338 <span class="preprocessor"></span> <span class="keywordflow">if</span>( packedColor!=<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr16">_CurSpecular</a> )
+00339 <span class="preprocessor">#endif</span>
+00340 <span class="preprocessor"></span> {
+00341 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr16">_CurSpecular</a>= packedColor;
+00342 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, color);
+00343 }
+00344 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz119_6" doxytag="NL3D::CDriverGLStates::setTexGenMode" ></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::CDriverGLStates::setTexGenMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>stage</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>GLint&nbsp;</td>
+ <td class="mdname" nowrap> <em>mode</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00414">414</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00198">_TexGenMode</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00117">NL3D::CDriverGL::setTextureEnvFunction()</a>, <a class="el" href="a05648.html#l00670">NL3D::CDriverGL::setupLightMapPass()</a>, <a class="el" href="a05648.html#l00985">NL3D::CDriverGL::setupSpecularBegin()</a>, and <a class="el" href="a05648.html#l01022">NL3D::CDriverGL::setupSpecularEnd()</a>.
+<p>
+<div class="fragment"><pre>00415 {
+00416 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00417 <span class="preprocessor"></span> <span class="keywordflow">if</span> (mode != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr22">_TexGenMode</a>[stage])
+00418 <span class="preprocessor">#endif</span>
+00419 <span class="preprocessor"></span> {
+00420 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr22">_TexGenMode</a>[stage] = mode;
+00421
+00422 <span class="keywordflow">if</span>(mode==0)
+00423 {
+00424 glDisable( GL_TEXTURE_GEN_S );
+00425 glDisable( GL_TEXTURE_GEN_T );
+00426 glDisable( GL_TEXTURE_GEN_R );
+00427 glDisable( GL_TEXTURE_GEN_Q );
+00428 }
+00429 <span class="keywordflow">else</span>
+00430 {
+00431 glTexGeni( GL_S, GL_TEXTURE_GEN_MODE, mode);
+00432 glTexGeni( GL_T, GL_TEXTURE_GEN_MODE, mode);
+00433 glTexGeni( GL_R, GL_TEXTURE_GEN_MODE, mode);
+00434 <span class="comment">/* Object or Eye Space ? =&gt; enable W generation. VERY IMPORTANT because </span>
+00435 <span class="comment"> was a bug with VegetableRender and ShadowRender:</span>
+00436 <span class="comment"> - Vegetable use the TexCoord1.w in his VertexProgram</span>
+00437 <span class="comment"> - Shadow Render don't use any TexCoord in VB (since projected)</span>
+00438 <span class="comment"> =&gt; TexCoord1.w dirty!!</span>
+00439 <span class="comment"> */</span>
+00440 <span class="keywordflow">if</span>(mode==GL_OBJECT_LINEAR || mode==GL_EYE_LINEAR)
+00441 {
+00442 glTexGeni( GL_Q, GL_TEXTURE_GEN_MODE, mode);
+00443 }
+00444 <span class="keywordflow">else</span>
+00445 {
+00446 glTexGeni( GL_Q, GL_TEXTURE_GEN_MODE, GL_EYE_LINEAR);
+00447 }
+00448 <span class="comment">// Enable All.</span>
+00449 glEnable( GL_TEXTURE_GEN_S );
+00450 glEnable( GL_TEXTURE_GEN_T );
+00451 glEnable( GL_TEXTURE_GEN_R );
+00452 glEnable( GL_TEXTURE_GEN_Q );
+00453 }
+00454 }
+00455 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz121_5" doxytag="NL3D::CDriverGLStates::setTextureMode" ></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::CDriverGLStates::setTextureMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0">TTextureMode</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>texMode</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+change if needed the texture mode of the current active Texture ARB. NB: if CubeMap extension not supported, TextureCubeMap &lt;=&gt; TextureDisabled.
+<p>
+Definition at line <a class="el" href="a05650.html#l00473">473</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00186">_CurrentActiveTextureARB</a>, <a class="el" href="a05651.html#l00185">_TextureCubeMapSupported</a>, <a class="el" href="a05651.html#l00187">_TextureMode</a>, <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw0">Texture2D</a>, <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw1">TextureCubeMap</a>, and <a class="el" href="a05651.html#l00127">TTextureMode</a>.
+<p>
+Referenced by <a class="el" href="a05652.html#l00941">NL3D::CDriverGL::activateTexture()</a>, <a class="el" href="a05642.html#l02185">NL3D::CDriverGL::copyFrameBufferToTexture()</a>, <a class="el" href="a05648.html#l01067">NL3D::CDriverGL::setupSpecularPass()</a>, <a class="el" href="a05652.html#l00361">NL3D::CDriverGL::setupTextureEx()</a>, and <a class="el" href="a05652.html#l00807">NL3D::CDriverGL::uploadTexture()</a>.
+<p>
+<div class="fragment"><pre>00474 {
+00475 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0">TTextureMode</a> oldTexMode = <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr24">_TextureMode</a>[<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr13">_CurrentActiveTextureARB</a>];
+00476 <span class="keywordflow">if</span>(oldTexMode != texMode)
+00477 {
+00478 <span class="comment">// Disable first old mode.</span>
+00479 <span class="keywordflow">if</span>(oldTexMode == <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw0">Texture2D</a>)
+00480 glDisable(GL_TEXTURE_2D);
+00481 <span class="keywordflow">else</span> <span class="keywordflow">if</span>(oldTexMode == <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw1">TextureCubeMap</a>)
+00482 {
+00483 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr23">_TextureCubeMapSupported</a>)
+00484 glDisable(GL_TEXTURE_CUBE_MAP_ARB);
+00485 <span class="keywordflow">else</span>
+00486 glDisable(GL_TEXTURE_2D);
+00487 }
+00488
+00489 <span class="comment">// Enable new mode.</span>
+00490 <span class="keywordflow">if</span>(texMode == <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw0">Texture2D</a>)
+00491 glEnable(GL_TEXTURE_2D);
+00492 <span class="keywordflow">else</span> <span class="keywordflow">if</span>(texMode == <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesz121_0NL3D_1_1CDriverGLStatesw1">TextureCubeMap</a>)
+00493 {
+00494 <span class="keywordflow">if</span>(<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr23">_TextureCubeMapSupported</a>)
+00495 glEnable(GL_TEXTURE_CUBE_MAP_ARB);
+00496 <span class="keywordflow">else</span>
+00497 glDisable(GL_TEXTURE_2D);
+00498 }
+00499
+00500 <span class="comment">// new mode.</span>
+00501 _TextureMode[<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr13">_CurrentActiveTextureARB</a>]= texMode;
+00502 }
+00503 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesz119_7" doxytag="NL3D::CDriverGLStates::setVertexColorLighted" ></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::CDriverGLStates::setVertexColorLighted </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05650.html#l00370">370</a> of file <a class="el" href="a05650.html">driver_opengl_states.cpp</a>.
+<p>
+References <a class="el" href="a05651.html#l00180">_CurDiffuse</a>, <a class="el" href="a05651.html#l00183">_VertexColorLighted</a>, <a class="el" href="a06340.html#l00340">NLMISC::CRGBA::A</a>, <a class="el" href="a06340.html#l00338">NLMISC::CRGBA::B</a>, <a class="el" href="a05648.html#l00071">NL3D::convColor()</a>, <a class="el" href="a06340.html#l00336">NLMISC::CRGBA::G</a>, <a class="el" href="a06340.html#l00334">NLMISC::CRGBA::R</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a05648.html#l00257">NL3D::CDriverGL::setupMaterial()</a>.
+<p>
+<div class="fragment"><pre>00371 {
+00372 <span class="preprocessor">#ifndef NL3D_GLSTATE_DISABLE_CACHE</span>
+00373 <span class="preprocessor"></span> <span class="keywordflow">if</span>( enable != <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr27">_VertexColorLighted</a>)
+00374 <span class="preprocessor">#endif</span>
+00375 <span class="preprocessor"></span> {
+00376 <a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr27">_VertexColorLighted</a>= enable;
+00377
+00378 <span class="keywordflow">if</span> (<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr27">_VertexColorLighted</a>)
+00379 {
+00380 glEnable (GL_COLOR_MATERIAL);
+00381 glColorMaterial (GL_FRONT_AND_BACK, GL_DIFFUSE);
+00382 }
+00383 <span class="keywordflow">else</span>
+00384 {
+00385 glDisable (GL_COLOR_MATERIAL);
+00386 <span class="comment">// Since we leave glColorMaterial mode, GL diffuse is now scracth. reset him to current value.</span>
+00387 <a class="code" href="a03337.html">CRGBA</a> diffCol;
+00388 diffCol.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo3">R</a>= (<a class="code" href="a04558.html#a7">uint8</a>)((<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr9">_CurDiffuse</a> &gt;&gt; 24) &amp; 255);
+00389 diffCol.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo2">G</a>= (<a class="code" href="a04558.html#a7">uint8</a>)((<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr9">_CurDiffuse</a> &gt;&gt; 16) &amp; 255);
+00390 diffCol.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo1">B</a>= (<a class="code" href="a04558.html#a7">uint8</a>)((<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr9">_CurDiffuse</a> &gt;&gt; 8) &amp; 255);
+00391 diffCol.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a>= (<a class="code" href="a04558.html#a7">uint8</a>)((<a class="code" href="a02436.html#NL3D_1_1CDriverGLStatesr9">_CurDiffuse</a> ) &amp; 255);
+00392 GLfloat glColor[4];
+00393 <a class="code" href="a05363.html#a405">convColor</a>(diffCol, glColor);
+00394 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, glColor);
+00395 }
+00396 }
+00397 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr0" doxytag="NL3D::CDriverGLStates::_ColorArrayEnabled" ></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="a02436.html#NL3D_1_1CDriverGLStatesr0">NL3D::CDriverGLStates::_ColorArrayEnabled</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00192">192</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00561">enableColorArray()</a>, and <a class="el" href="a05650.html#l00044">init()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr1" doxytag="NL3D::CDriverGLStates::_CurAlphaTest" ></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="a02436.html#NL3D_1_1CDriverGLStatesr1">NL3D::CDriverGLStates::_CurAlphaTest</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00169">169</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00188">enableAlphaTest()</a>, and <a class="el" href="a05650.html#l00067">forceDefaults()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr2" doxytag="NL3D::CDriverGLStates::_CurAlphaTestThreshold" ></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="a02436.html#NL3D_1_1CDriverGLStatesr2">NL3D::CDriverGLStates::_CurAlphaTestThreshold</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00176">176</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00284">alphaFunc()</a>, and <a class="el" href="a05650.html#l00067">forceDefaults()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr3" doxytag="NL3D::CDriverGLStates::_CurAmbient" ></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#a11">uint32</a> <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr3">NL3D::CDriverGLStates::_CurAmbient</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00179">179</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00067">forceDefaults()</a>, and <a class="el" href="a05650.html#l00311">setAmbient()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr4" doxytag="NL3D::CDriverGLStates::_CurBlend" ></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="a02436.html#NL3D_1_1CDriverGLStatesr4">NL3D::CDriverGLStates::_CurBlend</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00166">166</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00150">enableBlend()</a>, and <a class="el" href="a05650.html#l00067">forceDefaults()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr5" doxytag="NL3D::CDriverGLStates::_CurBlendDst" ></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"> GLenum <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr5">NL3D::CDriverGLStates::_CurBlendDst</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00174">174</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00252">blendFunc()</a>, and <a class="el" href="a05650.html#l00067">forceDefaults()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr6" doxytag="NL3D::CDriverGLStates::_CurBlendSrc" ></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"> GLenum <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr6">NL3D::CDriverGLStates::_CurBlendSrc</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00173">173</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00252">blendFunc()</a>, and <a class="el" href="a05650.html#l00067">forceDefaults()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr7" doxytag="NL3D::CDriverGLStates::_CurCullFace" ></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="a02436.html#NL3D_1_1CDriverGLStatesr7">NL3D::CDriverGLStates::_CurCullFace</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00168">168</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00169">enableCullFace()</a>, and <a class="el" href="a05650.html#l00067">forceDefaults()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr8" doxytag="NL3D::CDriverGLStates::_CurDepthFunc" ></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"> GLenum <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr8">NL3D::CDriverGLStates::_CurDepthFunc</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00175">175</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00268">depthFunc()</a>, and <a class="el" href="a05650.html#l00067">forceDefaults()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr9" doxytag="NL3D::CDriverGLStates::_CurDiffuse" ></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#a11">uint32</a> <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr9">NL3D::CDriverGLStates::_CurDiffuse</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00180">180</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00067">forceDefaults()</a>, <a class="el" href="a05650.html#l00323">setDiffuse()</a>, and <a class="el" href="a05650.html#l00370">setVertexColorLighted()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr10" doxytag="NL3D::CDriverGLStates::_CurEmissive" ></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#a11">uint32</a> <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr10">NL3D::CDriverGLStates::_CurEmissive</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00178">178</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00067">forceDefaults()</a>, and <a class="el" href="a05650.html#l00299">setEmissive()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr11" doxytag="NL3D::CDriverGLStates::_CurFog" ></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="a02436.html#NL3D_1_1CDriverGLStatesr11">NL3D::CDriverGLStates::_CurFog</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00167">167</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00695">enableFog()</a>, and <a class="el" href="a05650.html#l00067">forceDefaults()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr12" doxytag="NL3D::CDriverGLStates::_CurLighting" ></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="a02436.html#NL3D_1_1CDriverGLStatesr12">NL3D::CDriverGLStates::_CurLighting</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00170">170</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00212">enableLighting()</a>, and <a class="el" href="a05650.html#l00067">forceDefaults()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr13" doxytag="NL3D::CDriverGLStates::_CurrentActiveTextureARB" ></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#a15">uint</a> <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr13">NL3D::CDriverGLStates::_CurrentActiveTextureARB</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00186">186</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00507">activeTextureARB()</a>, <a class="el" href="a05650.html#l00517">forceActiveTextureARB()</a>, <a class="el" href="a05650.html#l00067">forceDefaults()</a>, <a class="el" href="a05651.html#l00133">getActiveTextureARB()</a>, <a class="el" href="a05650.html#l00461">resetTextureMode()</a>, and <a class="el" href="a05650.html#l00473">setTextureMode()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr14" doxytag="NL3D::CDriverGLStates::_CurrentClientActiveTextureARB" ></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#a15">uint</a> <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr14">NL3D::CDriverGLStates::_CurrentClientActiveTextureARB</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00194">194</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00594">clientActiveTextureARB()</a>, <a class="el" href="a05650.html#l00604">enableTexCoordArray()</a>, and <a class="el" href="a05650.html#l00067">forceDefaults()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr15" doxytag="NL3D::CDriverGLStates::_CurShininess" ></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="a02436.html#NL3D_1_1CDriverGLStatesr15">NL3D::CDriverGLStates::_CurShininess</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00182">182</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00067">forceDefaults()</a>, and <a class="el" href="a05650.html#l00347">setShininess()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr16" doxytag="NL3D::CDriverGLStates::_CurSpecular" ></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#a11">uint32</a> <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr16">NL3D::CDriverGLStates::_CurSpecular</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00181">181</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00067">forceDefaults()</a>, and <a class="el" href="a05650.html#l00335">setSpecular()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr17" doxytag="NL3D::CDriverGLStates::_CurZRangeDelta" ></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="a02436.html#NL3D_1_1CDriverGLStatesr17">NL3D::CDriverGLStates::_CurZRangeDelta</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00200">200</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00067">forceDefaults()</a>, and <a class="el" href="a05650.html#l00400">setDepthRange()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr18" doxytag="NL3D::CDriverGLStates::_CurZWrite" ></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="a02436.html#NL3D_1_1CDriverGLStatesr18">NL3D::CDriverGLStates::_CurZWrite</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00171">171</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00231">enableZWrite()</a>, and <a class="el" href="a05650.html#l00067">forceDefaults()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr19" doxytag="NL3D::CDriverGLStates::_NormalArrayEnabled" ></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="a02436.html#NL3D_1_1CDriverGLStatesr19">NL3D::CDriverGLStates::_NormalArrayEnabled</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00190">190</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00537">enableNormalArray()</a>, and <a class="el" href="a05650.html#l00044">init()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr20" doxytag="NL3D::CDriverGLStates::_SecondaryColorArrayEnabled" ></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="a02436.html#NL3D_1_1CDriverGLStatesr20">NL3D::CDriverGLStates::_SecondaryColorArrayEnabled</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00193">193</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00575">enableSecondaryColorArray()</a>, and <a class="el" href="a05650.html#l00044">init()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr21" doxytag="NL3D::CDriverGLStates::_TexCoordArrayEnabled" ></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="a02436.html#NL3D_1_1CDriverGLStatesr21">NL3D::CDriverGLStates::_TexCoordArrayEnabled</a>[8]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00195">195</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00604">enableTexCoordArray()</a>, and <a class="el" href="a05650.html#l00044">init()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr22" doxytag="NL3D::CDriverGLStates::_TexGenMode" ></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"> GLint <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr22">NL3D::CDriverGLStates::_TexGenMode</a>[8]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00198">198</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00067">forceDefaults()</a>, and <a class="el" href="a05650.html#l00414">setTexGenMode()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr23" doxytag="NL3D::CDriverGLStates::_TextureCubeMapSupported" ></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="a02436.html#NL3D_1_1CDriverGLStatesr23">NL3D::CDriverGLStates::_TextureCubeMapSupported</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00185">185</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00037">CDriverGLStates()</a>, <a class="el" href="a05650.html#l00067">forceDefaults()</a>, <a class="el" href="a05650.html#l00044">init()</a>, <a class="el" href="a05650.html#l00461">resetTextureMode()</a>, and <a class="el" href="a05650.html#l00473">setTextureMode()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr24" doxytag="NL3D::CDriverGLStates::_TextureMode" ></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="a02436.html#NL3D_1_1CDriverGLStatesz121_0">TTextureMode</a> <a class="el" href="a02436.html#NL3D_1_1CDriverGLStatesr24">NL3D::CDriverGLStates::_TextureMode</a>[8]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00187">187</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00067">forceDefaults()</a>, <a class="el" href="a05650.html#l00461">resetTextureMode()</a>, and <a class="el" href="a05650.html#l00473">setTextureMode()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr25" doxytag="NL3D::CDriverGLStates::_VertexArrayEnabled" ></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="a02436.html#NL3D_1_1CDriverGLStatesr25">NL3D::CDriverGLStates::_VertexArrayEnabled</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00189">189</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00525">enableVertexArray()</a>, and <a class="el" href="a05650.html#l00044">init()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr26" doxytag="NL3D::CDriverGLStates::_VertexAttribArrayEnabled" ></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="a02436.html#NL3D_1_1CDriverGLStatesr26">NL3D::CDriverGLStates::_VertexAttribArrayEnabled</a>[CVertexBuffer::NumValue]<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00196">196</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00617">enableVertexAttribArray()</a>, <a class="el" href="a05650.html#l00631">enableVertexAttribArrayForEXTVertexShader()</a>, and <a class="el" href="a05650.html#l00044">init()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr27" doxytag="NL3D::CDriverGLStates::_VertexColorLighted" ></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="a02436.html#NL3D_1_1CDriverGLStatesr27">NL3D::CDriverGLStates::_VertexColorLighted</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00183">183</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00067">forceDefaults()</a>, and <a class="el" href="a05650.html#l00370">setVertexColorLighted()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CDriverGLStatesr28" doxytag="NL3D::CDriverGLStates::_WeightArrayEnabled" ></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="a02436.html#NL3D_1_1CDriverGLStatesr28">NL3D::CDriverGLStates::_WeightArrayEnabled</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05651.html#l00191">191</a> of file <a class="el" href="a05651.html">driver_opengl_states.h</a>.
+<p>
+Referenced by <a class="el" href="a05650.html#l00549">enableWeightArray()</a>, and <a class="el" href="a05650.html#l00044">init()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05651.html">driver_opengl_states.h</a><li><a class="el" href="a05650.html">driver_opengl_states.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:45:57 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>