From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02842.html | 491 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 491 insertions(+) create mode 100644 docs/doxygen/nel/a02842.html (limited to 'docs/doxygen/nel/a02842.html') diff --git a/docs/doxygen/nel/a02842.html b/docs/doxygen/nel/a02842.html new file mode 100644 index 00000000..fea5c7f3 --- /dev/null +++ b/docs/doxygen/nel/a02842.html @@ -0,0 +1,491 @@ + + +NeL: NL3D::CMaterial::CTexEnv struct Reference + + + +
+

NL3D::CMaterial::CTexEnv Struct Reference

#include <material.h> +

+ + + + + + + + + + + + +

Public Member Functions

 CTexEnv ()
void serial (NLMISC::IStream &f)
void setDefault ()

Data Fields

CRGBA ConstantColor
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CMaterial::CTexEnv::CTexEnv  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 560 of file material.h. +

+References setDefault(). +

+

00561                 {
+00562                         setDefault();
+00563                 }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CMaterial::CTexEnv::serial NLMISC::IStream f  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 542 of file material.h. +

+References ConstantColor, Env, NLMISC::IStream::serial(), and NLMISC::IStream::serialBitField8(). +

+

00543                 {
+00544                         Env.OpRGB= f.serialBitField8(Env.OpRGB);
+00545                         Env.SrcArg0RGB= f.serialBitField8(Env.SrcArg0RGB);
+00546                         Env.OpArg0RGB= f.serialBitField8(Env.OpArg0RGB);
+00547                         Env.SrcArg1RGB= f.serialBitField8(Env.SrcArg1RGB);
+00548                         Env.OpArg1RGB= f.serialBitField8(Env.OpArg1RGB);
+00549 
+00550                         Env.OpAlpha= f.serialBitField8(Env.OpAlpha);
+00551                         Env.SrcArg0Alpha= f.serialBitField8(Env.SrcArg0Alpha);
+00552                         Env.OpArg0Alpha= f.serialBitField8(Env.OpArg0Alpha);
+00553                         Env.SrcArg1Alpha= f.serialBitField8(Env.SrcArg1Alpha);
+00554                         Env.OpArg1Alpha= f.serialBitField8(Env.OpArg1Alpha);
+00555 
+00556                         f.serial(ConstantColor);
+00557                 }
+
+

+ + + + +
+ + + + + + + + + +
void NL3D::CMaterial::CTexEnv::setDefault  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 522 of file material.h. +

+References ConstantColor, Env, and NLMISC::CRGBA::set(). +

+Referenced by CTexEnv(), and NL3D::CMaterial::serial(). +

+

00523                 {
+00524                         // Don't worry, Visual optimize it quite well...
+00525                         // We cannot do better, because bit fields ordeinrg seems not to be standardized, so we can not 
+00526                         // set Packed directly.
+00527                         Env.OpRGB= Modulate;
+00528                         Env.SrcArg0RGB= Texture;
+00529                         Env.OpArg0RGB= SrcColor;
+00530                         Env.SrcArg1RGB= Previous;
+00531                         Env.OpArg1RGB= SrcColor;
+00532 
+00533                         Env.OpAlpha= Modulate;
+00534                         Env.SrcArg0Alpha= Texture;
+00535                         Env.OpArg0Alpha= SrcAlpha;
+00536                         Env.SrcArg1Alpha= Previous;
+00537                         Env.OpArg1Alpha= SrcAlpha;
+00538 
+00539                         ConstantColor.set(255,255,255,255);
+00540                 }
+
+


Field Documentation

+

+ + + + +
+ + +
CRGBA NL3D::CMaterial::CTexEnv::ConstantColor +
+
+ + + + + +
+   + + +

+ +

+Definition at line 520 of file material.h. +

+Referenced by NL3D::CDriverGL::activateTexEnvColor(), NL3D::CDriverGL::forceActivateTexEnvColor(), NL3D::CMaterial::getTexConstantColor(), NL3D::CMaterial::getUserColor(), serial(), setDefault(), NL3D::CDriverGL::setDisplay(), NL3D::CDriverGL::setupLightMapPass(), NL3D::CMaterial::setUserColor(), NL3D::CDriverGL::swapBuffers(), and NL3D::CMaterial::texConstantColor().

+

+ + + + +
+ + +
struct { ... } NL3D::CMaterial::CTexEnv::Env +
+
+ + + + + +
+   + + +

+ +

+Referenced by NL3D::CDriverGL::CDriverGL(), NL3D::CDriverGL::forceActivateTexEnvMode(), serial(), setDefault(), NL3D::CDriverGL::setupPPLNoSpecPass(), NL3D::CDriverGL::setupPPLPass(), NL3D::CDriverGL::setupSpecularBegin(), NL3D::CDriverGL::setupSpecularPass(), NL3D::CDriverGL::setupWaterPassNV20(), NL3D::CMaterial::texEnvArg0Alpha(), NL3D::CMaterial::texEnvArg0RGB(), NL3D::CMaterial::texEnvArg1Alpha(), NL3D::CMaterial::texEnvArg1RGB(), NL3D::CMaterial::texEnvOpAlpha(), and NL3D::CMaterial::texEnvOpRGB().

+

+ + + + +
+ + +
uint32 NL3D::CMaterial::CTexEnv::EnvPacked +
+
+ + + + + +
+   + + +

+ +

+Definition at line 504 of file material.h. +

+Referenced by NL3D::CDriverGL::activateTexEnvMode(), NL3D::CDriverGL::forceActivateTexEnvMode(), NL3D::CMaterial::getTexEnvMode(), and NL3D::CMaterial::setTexEnvMode().

+

+ + + + +
+ + +
uint32 NL3D::CMaterial::CTexEnv::OpAlpha +
+
+ + + + + +
+   + + +

+ +

+Definition at line 513 of file material.h.

+

+ + + + +
+ + +
uint32 NL3D::CMaterial::CTexEnv::OpArg0Alpha +
+
+ + + + + +
+   + + +

+ +

+Definition at line 515 of file material.h.

+

+ + + + +
+ + +
uint32 NL3D::CMaterial::CTexEnv::OpArg0RGB +
+
+ + + + + +
+   + + +

+ +

+Definition at line 509 of file material.h.

+

+ + + + +
+ + +
uint32 NL3D::CMaterial::CTexEnv::OpArg1Alpha +
+
+ + + + + +
+   + + +

+ +

+Definition at line 517 of file material.h.

+

+ + + + +
+ + +
uint32 NL3D::CMaterial::CTexEnv::OpArg1RGB +
+
+ + + + + +
+   + + +

+ +

+Definition at line 511 of file material.h.

+

+ + + + +
+ + +
uint32 NL3D::CMaterial::CTexEnv::OpRGB +
+
+ + + + + +
+   + + +

+ +

+Definition at line 507 of file material.h.

+

+ + + + +
+ + +
uint32 NL3D::CMaterial::CTexEnv::SrcArg0Alpha +
+
+ + + + + +
+   + + +

+ +

+Definition at line 514 of file material.h.

+

+ + + + +
+ + +
uint32 NL3D::CMaterial::CTexEnv::SrcArg0RGB +
+
+ + + + + +
+   + + +

+ +

+Definition at line 508 of file material.h.

+

+ + + + +
+ + +
uint32 NL3D::CMaterial::CTexEnv::SrcArg1Alpha +
+
+ + + + + +
+   + + +

+ +

+Definition at line 516 of file material.h.

+

+ + + + +
+ + +
uint32 NL3D::CMaterial::CTexEnv::SrcArg1RGB +
+
+ + + + + +
+   + + +

+ +

+Definition at line 510 of file material.h.

+


The documentation for this struct was generated from the following file: +
Generated on Tue Mar 16 06:50:31 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1