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/a03465.html | 168 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100644 docs/doxygen/nel/a03465.html (limited to 'docs/doxygen/nel/a03465.html') diff --git a/docs/doxygen/nel/a03465.html b/docs/doxygen/nel/a03465.html new file mode 100644 index 00000000..05ceda14 --- /dev/null +++ b/docs/doxygen/nel/a03465.html @@ -0,0 +1,168 @@ + + +NeL: NL3D::CSurfaceLightGrid::CCellCorner struct Reference + + + +
+

NL3D::CSurfaceLightGrid::CCellCorner Struct Reference

#include <surface_light_grid.h> +

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

Public Member Functions

void serial (NLMISC::IStream &f)

Data Fields

uint8 Light [NumLightPerCorner]
 Light that influence this point. 0xFF if none. if Light[i]==0xFF, then Light[j] with j>i is disabled too.

uint8 LocalAmbientId
uint8 SunContribution
 Contribution of Sun.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CSurfaceLightGrid::CCellCorner::serial NLMISC::IStream f  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 76 of file surface_light_grid.h. +

+References NLMISC::IStream::isReading(), nlassert, NLMISC::IStream::serial(), NLMISC::IStream::serialVersion(), and uint. +

+

00077                 {
+00078                         uint    ver= f.serialVersion(1);
+00079                         nlassert(NumLightPerCorner==2);
+00080 
+00081                         if(ver>=1)
+00082                         {
+00083                                 f.serial(LocalAmbientId);
+00084                         }
+00085                         else if(f.isReading())
+00086                         {
+00087                                 LocalAmbientId= 0xFF;
+00088                         }
+00089                         f.serial(SunContribution);
+00090                         f.serial(Light[0]);
+00091                         f.serial(Light[1]);
+00092                 }
+
+


Field Documentation

+

+ + + + +
+ + +
uint8 NL3D::CSurfaceLightGrid::CCellCorner::Light[NumLightPerCorner] +
+
+ + + + + +
+   + + +

+Light that influence this point. 0xFF if none. if Light[i]==0xFF, then Light[j] with j>i is disabled too. +

+ +

+Definition at line 70 of file surface_light_grid.h. +

+Referenced by NL3D::CIGSurfaceLight::build(), NL3D::CInstanceLighter::dilateLightingOnSurfaceCells(), NL3D::CSurfaceLightGrid::getStaticLightSetup(), NL3D::CInstanceLighter::light(), and NL3D::CInstanceLighter::processIGPointLightRT().

+

+ + + + +
+ + +
uint8 NL3D::CSurfaceLightGrid::CCellCorner::LocalAmbientId +
+
+ + + + + +
+   + + +

+Id of the ambiant Light to take for this corner. Ambient light are stored too in ig->getPointLigths() If 0xFF => take Ambient of the sun. +

+Definition at line 74 of file surface_light_grid.h. +

+Referenced by NL3D::CIGSurfaceLight::build(), NL3D::CInstanceLighter::dilateLightingOnSurfaceCells(), NL3D::CSurfaceLightGrid::getStaticLightSetup(), NL3D::CInstanceLighter::light(), and NL3D::CInstanceLighter::processIGPointLightRT().

+

+ + + + +
+ + +
uint8 NL3D::CSurfaceLightGrid::CCellCorner::SunContribution +
+
+ + + + + +
+   + + +

+Contribution of Sun. +

+ +

+Definition at line 68 of file surface_light_grid.h. +

+Referenced by NL3D::CInstanceLighter::computeSunContribution(), NL3D::CInstanceLighter::dilateLightingOnSurfaceCells(), NL3D::CSurfaceLightGrid::getStaticLightSetup(), and NL3D::CInstanceLighter::light().

+


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