#include <lighting.h>
Inheritance diagram for iLightingInfo:
Public Methods | |
virtual void | InitializeDefault ()=0 |
Initialize the lighting information to some default (mostly black). | |
virtual bool | ReadFromCache (int id)=0 |
Read the lighting information from the cache. More... | |
virtual bool | WriteToCache (int id)=0 |
Write the lighting information to the cache. More... | |
virtual void | PrepareLighting ()=0 |
Finally prepare the lighting for use. More... |
It has features to initialize lighting, to read it from a cache, ...
|
Finally prepare the lighting for use. This function must be called last. |
|
Read the lighting information from the cache. Call this instead of InitializeDefault(). Returns false if there was a problem. This function will read the data from the current VFS dir. The id is used to uniquely identify the elements of this cache. |
|
Write the lighting information to the cache. Returns false if there was a problem. This function will write the data to the current VFS dir. The id is used to uniquely identify the elements of this cache. |