![]() |
Public API Reference |
#include <shadows.h>
Inheritance diagram for iShadowBlockList:
Public Methods | |
virtual iShadowIterator * | GetShadowIterator (bool reverse=false)=0 |
Get an iterator to iterate over all shadows in this list. More... | |
virtual iShadowIterator * | GetShadowIterator (const csBox3 &bbox, bool reverse=false)=0 |
Get an iterator to iterate over all shadows in this list. More... | |
virtual iShadowBlock * | NewShadowBlock (int num_shadows=30)=0 |
Create a new shadow block and append to the list. More... | |
virtual iShadowBlock * | GetFirstShadowBlock ()=0 |
Get first shadow block in the list. More... | |
virtual iShadowBlock * | GetLastShadowBlock ()=0 |
Get last shadow block in the list. More... | |
virtual iShadowBlock * | GetNextShadowBlock (iShadowBlock *s)=0 |
Get next shadow block. More... | |
virtual iShadowBlock * | GetPreviousShadowBlock (iShadowBlock *s)=0 |
Get previous shadow block. More... | |
virtual void | RemoveLastShadowBlock ()=0 |
Remove the last shadow block from this list. More... | |
virtual void | DeleteAllShadows ()=0 |
Destroy all shadow lists and shadows in the list. More... | |
virtual uint32 | MarkNewRegion ()=0 |
Mark a new region of shadow blocks. More... | |
virtual void | RestoreRegion (uint32 prev)=0 |
Restore a region (as parameter use the number returned by MarkNewRegion()). More... | |
virtual bool | FromCurrentRegion (iShadowBlock *block)=0 |
Returns true if the shadow block belongs to the current region. More... |
An iShadowReceiver will get such a list.
Definition at line 141 of file shadows.h.
|
Destroy all shadow lists and shadows in the list.
Implemented in csShadowBlockList. |
|
Returns true if the shadow block belongs to the current region.
Implemented in csShadowBlockList. |
|
Get first shadow block in the list.
Implemented in csShadowBlockList. |
|
Get last shadow block in the list.
Implemented in csShadowBlockList. |
|
Get next shadow block.
Implemented in csShadowBlockList. |
|
Get previous shadow block.
Implemented in csShadowBlockList. |
|
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). Implemented in csShadowBlockList. |
|
Get an iterator to iterate over all shadows in this list.
Implemented in csShadowBlockList. |
|
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. Implemented in csShadowBlockList. |
|
Create a new shadow block and append to the list.
Implemented in csShadowBlockList. |
|
Remove the last shadow block from this list.
Implemented in csShadowBlockList. |
|
Restore a region (as parameter use the number returned by MarkNewRegion()).
Implemented in csShadowBlockList. |