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/a02841.html | 251 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 251 insertions(+) create mode 100644 docs/doxygen/nel/a02841.html (limited to 'docs/doxygen/nel/a02841.html') diff --git a/docs/doxygen/nel/a02841.html b/docs/doxygen/nel/a02841.html new file mode 100644 index 00000000..4b99297b --- /dev/null +++ b/docs/doxygen/nel/a02841.html @@ -0,0 +1,251 @@ + + +NeL: NL3D::CMaterial::CLightMap struct Reference + + + +
+

NL3D::CMaterial::CLightMap Struct Reference

#include <material.h> +

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

Public Member Functions

 CLightMap ()
void serial (NLMISC::IStream &f)
void serial2 (NLMISC::IStream &f)

Data Fields

CRGBA Color
CRGBA Factor
CSmartPtr< ITextureTexture
+


Constructor & Destructor Documentation

+

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

+ +

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

+References NLMISC::CRGBA::set(). +

+

00601                 {
+00602                         Factor.set(255, 255, 255, 255);
+00603                         Color.set(255, 255, 255, 255);
+00604                 }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CMaterial::CLightMap::serial NLMISC::IStream f  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 438 of file material.cpp. +

+References NLMISC::IStream::isReading(), NLMISC::IStream::serial(), and NLMISC::IStream::serialPolyPtr(). +

+

00439 {
+00440         f.serial(Factor);
+00441         // Serial texture descriptor.
+00442         ITexture*       text= NULL;
+00443         if(f.isReading())
+00444         {
+00445                 f.serialPolyPtr(text);
+00446                 Texture= text;
+00447         }
+00448         else
+00449         {
+00450                 text= Texture;
+00451                 f.serialPolyPtr(text);
+00452         }
+00453 }
+
+

+ + + + +
+ + + + + + + + + + +
void NL3D::CMaterial::CLightMap::serial2 NLMISC::IStream f  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 456 of file material.cpp. +

+References NLMISC::IStream::isReading(), NLMISC::IStream::serial(), NLMISC::IStream::serialPolyPtr(), NLMISC::IStream::serialVersion(), and sint. +

+

00457 {
+00458         sint    ver= f.serialVersion(0);
+00459 
+00460         f.serial(Factor);
+00461         f.serial(Color);
+00462         // Serial texture descriptor.
+00463         ITexture*       text= NULL;
+00464         if(f.isReading())
+00465         {
+00466                 f.serialPolyPtr(text);
+00467                 Texture= text;
+00468         }
+00469         else
+00470         {
+00471                 text= Texture;
+00472                 f.serialPolyPtr(text);
+00473         }
+00474 }
+
+


Field Documentation

+

+ + + + +
+ + +
CRGBA NL3D::CMaterial::CLightMap::Color +
+
+ + + + + +
+   + + +

+ +

+Definition at line 599 of file material.h.

+

+ + + + +
+ + +
CRGBA NL3D::CMaterial::CLightMap::Factor +
+
+ + + + + +
+   + + +

+ +

+Definition at line 598 of file material.h.

+

+ + + + +
+ + +
CSmartPtr<ITexture> NL3D::CMaterial::CLightMap::Texture +
+
+ + + + + +
+   + + +

+ +

+Definition at line 597 of file material.h.

+


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