CrystalSpace

Public API Reference

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

iLightIterator Struct Reference
[Lighting]

Iterator to iterate over all static lights in the engine. More...

#include <light.h>

Inheritance diagram for iLightIterator:

iBase csLightIt List of all members.

Public Methods

virtual void Restart ()=0
 Restart iterator. More...

virtual iLightFetch ()=0
 Get light from iterator. Return NULL at end. More...

virtual iSectorGetLastSector ()=0
 Get the sector for the last fetched light. More...


Detailed Description

Iterator to iterate over all static lights in the engine.

This iterator assumes there are no fundamental changes in the engine while it is being used. If changes to the engine happen the results are unpredictable.

Definition at line 402 of file iengine/light.h.


Member Function Documentation

virtual iLight* iLightIterator::Fetch   [pure virtual]
 

Get light from iterator. Return NULL at end.

Implemented in csLightIt.

virtual iSector* iLightIterator::GetLastSector   [pure virtual]
 

Get the sector for the last fetched light.

Implemented in csLightIt.

virtual void iLightIterator::Restart   [pure virtual]
 

Restart iterator.

Implemented in csLightIt.


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