Public Methods |
virtual iMaterialHandle* | GetMaterialHandle ()=0 |
| Get the material handle associated with this polygon.
|
virtual float | GetFDU ()=0 |
| Get the u-value of the textures bounding box' lower left corner.
|
virtual float | GetFDV ()=0 |
| Get the v-value of the textures bounding box' lower left corner.
|
virtual int | GetWidth ()=0 |
| Get width of lighted texture (power of 2).
|
virtual int | GetHeight ()=0 |
| Get height of lighted texture.
|
virtual int | GetShiftU ()=0 |
| Get the power of the lowest power of 2 that is not smaller than the texture bounding box' width that is: 2^shift_u >= texbbox-width > 2^(shift_u-1).
|
virtual int | GetIMinU ()=0 |
| Get the rounded u-value of the textures bounding box' lower left corner.
|
virtual int | GetIMinV ()=0 |
| Get the rounded v-value of the textures bounding box' lower left corner.
|
virtual void | GetTextureBox (float &fMinU, float &fMinV, float &fMaxU, float &fMaxV)=0 |
| Get texture box.
|
virtual int | GetOriginalWidth ()=0 |
| Get original width.
|
virtual iPolygon3D* | GetPolygon ()=0 |
| Get polygon.
|
virtual bool | DynamicLightsDirty ()=0 |
| Check if dynamic lighting information should be recalculated.
|
virtual bool | RecalculateDynamicLights ()=0 |
| Recalculate all pseudo and real dynamic lights if the texture is dirty. More...
|
virtual iLightMap* | GetLightMap ()=0 |
| Get light map.
|
virtual int | GetLightCellSize ()=0 |
| Query the size of one light cell (always a power of two).
|
virtual int | GetLightCellShift ()=0 |
| Query log2 (cell size).
|
virtual void* | GetCacheData (int idx)=0 |
| Get data used internally by texture cache.
|
virtual void | SetCacheData (int idx, void *d)=0 |
| Set data used internally by texture cache.
|