CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iPolygonTexture Struct Reference

This is a interface to an object responsible for containing the data required for a lighted texture on a polygon. More...

#include <polygon.h>

Inheritance diagram for iPolygonTexture:

iBase List of all members.

Public Methods

virtual iMaterialHandleGetMaterialHandle ()=0
 Get the material handle associated with this polygon. More...

virtual csPolyTextureMappingGetTMapping () const=0
 Get the mapping to use for this texture. More...

virtual csPolyLightMapMappingGetLMapping () const=0
 Get the mapping to use for this lightmap. More...

virtual iLightMapGetLightMap ()=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...


Detailed Description

This is a interface to an object responsible for containing the data required for a lighted texture on a polygon.

Definition at line 403 of file polygon.h.


Member Function Documentation

virtual void* iPolygonTexture::GetCacheData int    idx [pure virtual]
 

Get data used internally by texture cache.

virtual int iPolygonTexture::GetLightCellShift   [pure virtual]
 

Query log2 (cell size).

virtual int iPolygonTexture::GetLightCellSize   [pure virtual]
 

Query the size of one light cell (always a power of two).

virtual iLightMap* iPolygonTexture::GetLightMap   [pure virtual]
 

Get light map.

virtual csPolyLightMapMapping* iPolygonTexture::GetLMapping   const [pure virtual]
 

Get the mapping to use for this lightmap.

virtual iMaterialHandle* iPolygonTexture::GetMaterialHandle   [pure virtual]
 

Get the material handle associated with this polygon.

virtual csPolyTextureMapping* iPolygonTexture::GetTMapping   const [pure virtual]
 

Get the mapping to use for this texture.

virtual void iPolygonTexture::SetCacheData int    idx,
void *    d
[pure virtual]
 

Set data used internally by texture cache.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14