#include <polytext.h>
Inheritance diagram for csLightingPolyTexQueue:

Public Methods | |
| csLightingPolyTexQueue (csLight *light, bool dynamic, bool gouraud_only) | |
| virtual | ~csLightingPolyTexQueue () |
| csLight* | GetCsLight () const |
| Get the light. | |
| virtual iLight* | GetLight () const |
| Get the light. | |
| virtual bool | GetGouraudOnly () const |
| Get gouraud only state. | |
| virtual bool | IsDynamic () const |
| Return true if dynamic. | |
| virtual void | SetColor (const csColor &col) |
| Set the current color. | |
| virtual const csColor& | GetColor () const |
| Get the current color. | |
| void | AddPolyTexture (csPolyTexture *pt) |
| Add a csPolyTexture to the queue. More... | |
| void | UpdateMaps (csLight *light, const csVector3 &lightpos, const csColor &lightcolor) |
| Update all lightmaps or shadowmaps mentioned in the queue. | |
Public Attributes | |
| SCF_DECLARE_IBASE | |
It represents a queue holding references to csPolyTexture for all polygons that were hit by a light during the lighting process.
|
|
Add a csPolyTexture to the queue. Only call this when the polytexture is not already there! A csPolyTexture should be added to the queue when it gets a shadow_bitmap. |