class csLightMap The static and all dynamic lightmaps for one or more mipmap-levels of a polygon
The static and all dynamic lightmaps for one or more mipmap-levels of a polygon
This function also calculates the mean color of the lightmap.
friend class Dumper
csRGBLightMap static_lm
csRGBLightMap real_lm
csShadowMap* first_smap
long size
long lm_size
int lwidth
int rwidth
HighColorCache_Data* hicolorcache
int mean_r
void ConvertToMixingMode(unsigned char* mr, unsigned char* mg, unsigned char* mb, int sz)
This function correctly recognizes a dynamic lightmap which only
contains shadow information and does not do the conversion in that
case.
void SetSize(int w, int h, int lms)
csLightMap()
virtual ~csLightMap()
csRGBLightMap& GetStaticMap()
csRGBLightMap& GetRealMap()
void GetMeanLighting(int& r, int& g, int& b)
int GetWidth()
int GetHeight()
int GetRealWidth()
int GetRealHeight()
long GetSize()
HighColorCache_Data* GetHighColorCacheData()
void SetHighColorCacheData(HighColorCache_Data *d)
void Alloc(int w, int h, int lms, int r, int g, int b)
void MipmapLightMap(int w, int h, int lms, csLightMap* source, int w2, int h2, int lms2)
void CopyLightMap(csLightMap* source)
csShadowMap* NewShadowMap(csLight* light, int w, int h, int lms)
void AllocStaticLM(int w, int h, int lms)
csShadowMap* FindShadowMap(csLight* light)
void DelShadowMap(csShadowMap* plm)
bool ReadFromCache(int w, int h, int lms, csPolygonSet* owner, csPolygon3D* poly, int index, csWorld* world)
void Cache(csPolygonSet* owner, csPolygon3D* poly, int index, csWorld* world)
void ConvertToMixingMode()
void ConvertFor3dDriver(bool requirePO2, int maxAspect = 32767)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de