iShadowBlockList Struct Reference
[Lighting, Lighting]
This is a list of shadow blocks.
More...
#include <iengine/shadows.h>
Inheritance diagram for iShadowBlockList:

Public Member Functions | |
virtual void | DeleteAllShadows ()=0 |
Destroy all shadow lists and shadows in the list. | |
virtual bool | FromCurrentRegion (iShadowBlock *block)=0 |
Returns true if the shadow block belongs to the current region. | |
virtual iShadowBlock * | GetFirstShadowBlock ()=0 |
Get first shadow block in the list. | |
virtual iShadowBlock * | GetLastShadowBlock ()=0 |
Get last shadow block in the list. | |
virtual iShadowBlock * | GetNextShadowBlock (iShadowBlock *s)=0 |
Get next shadow block. | |
virtual iShadowBlock * | GetPreviousShadowBlock (iShadowBlock *s)=0 |
Get previous shadow block. | |
virtual iShadowIterator * | GetShadowIterator (const csBox3 &bbox, bool reverse=false)=0 |
Get an iterator to iterate over all shadows in this list. | |
virtual iShadowIterator * | GetShadowIterator (bool reverse=false)=0 |
Get an iterator to iterate over all shadows in this list. | |
virtual uint32 | MarkNewRegion ()=0 |
Mark a new region of shadow blocks. | |
virtual iShadowBlock * | NewShadowBlock (int num_shadows=30)=0 |
Create a new shadow block and append to the list. | |
virtual void | RemoveLastShadowBlock ()=0 |
Remove the last shadow block from this list. | |
virtual void | RestoreRegion (uint32 prev)=0 |
Restore a region (as parameter use the number returned by MarkNewRegion()). |
Detailed Description
This is a list of shadow blocks.An iShadowReceiver will get such a list.
Definition at line 143 of file shadows.h.
Member Function Documentation
|
Destroy all shadow lists and shadows in the list.
|
|
Returns true if the shadow block belongs to the current region.
|
|
Get first shadow block in the list.
|
|
Get last shadow block in the list.
|
|
Get next shadow block.
|
|
Get previous shadow block.
|
|
Get an iterator to iterate over all shadows in this list. This version will test the bounding boxes of all shadow blocks and only iterate over the shadow blocks that are potentially relevant (i.e. that potentially shadow the given bounding box). |
|
Get an iterator to iterate over all shadows in this list.
|
|
Mark a new region of shadow blocks. This is usually called after entering a portal and it allows us to easily restore the shadow list upto the point of the last portal traversal. Returns the original region. |
|
Create a new shadow block and append to the list.
|
|
Remove the last shadow block from this list.
|
|
Restore a region (as parameter use the number returned by MarkNewRegion()).
|
The documentation for this struct was generated from the following file:
- iengine/shadows.h
Generated for Crystal Space by doxygen 1.4.4