![]() |
Public API Reference |
#include <polygon.h>
Inheritance diagram for iPolygonTexture:

Public Methods | |
| virtual iMaterialHandle * | GetMaterialHandle ()=0 |
| Get the material handle associated with this polygon. More... | |
| virtual const csLightMapMapping & | GetMapping () const=0 |
| Get the mapping to use for this lightmap. More... | |
| virtual bool | DynamicLightsDirty ()=0 |
| Check if dynamic lighting information should be recalculated. More... | |
| virtual bool | RecalculateDynamicLights ()=0 |
| Recalculate all pseudo and real dynamic lights if the texture is dirty. More... | |
| virtual iLightMap * | GetLightMap ()=0 |
| Get light map. More... | |
| virtual int | GetLightCellSize ()=0 |
| Query the size of one light cell (always a power of two). More... | |
| virtual int | GetLightCellShift ()=0 |
| Query log2 (cell size). More... | |
| virtual void * | GetCacheData (int idx)=0 |
| Get data used internally by texture cache. More... | |
| virtual void | SetCacheData (int idx, void *d)=0 |
| Set data used internally by texture cache. More... | |
Definition at line 387 of file polygon.h.
|
|
Check if dynamic lighting information should be recalculated.
|
|
|
Get data used internally by texture cache.
|
|
|
Query log2 (cell size).
|
|
|
Query the size of one light cell (always a power of two).
|
|
|
Get light map.
|
|
|
Get the mapping to use for this lightmap.
|
|
|
Get the material handle associated with this polygon.
|
|
|
Recalculate all pseudo and real dynamic lights if the texture is dirty. The function returns true if there was a recalculation (then the texture needs to be removed from the texture cache). |
|
||||||||||||
|
Set data used internally by texture cache.
|