iFrustumView Struct Reference
[Visibility]
This structure represents all information needed for the frustum visibility calculator.
More...
#include <iengine/fview.h>
Inheritance diagram for iFrustumView:

Public Member Functions | |
virtual csFrustumContext * | GetFrustumContext () const =0 |
Get the current frustum context. | |
virtual void | CreateFrustumContext ()=0 |
Create a new frustum context. | |
virtual csFrustumContext * | CopyFrustumContext ()=0 |
Create a copy of the current frustum context and return it. | |
virtual void | SetFrustumContext (csFrustumContext *ctxt)=0 |
This function is similar to CreateFrustumContext() but it sets the given frustum context instead. | |
virtual void | RestoreFrustumContext (csFrustumContext *original)=0 |
Restore a frustum context. | |
virtual void | SetObjectFunction (csFrustumViewObjectFunc *func)=0 |
Set the object function. | |
virtual void | CallObjectFunction (iMeshWrapper *mesh, bool vis)=0 |
Call the object function. | |
virtual float | GetRadius () const =0 |
Get the radius. | |
virtual float | GetSquaredRadius () const =0 |
Get the squared radius. | |
virtual bool | ThingShadowsEnabled ()=0 |
Return true if shadowing for things is enabled. | |
virtual bool | CheckShadowMask (unsigned int mask)=0 |
Check if a mask corresponds with the shadow mask. | |
virtual bool | CheckProcessMask (unsigned int mask)=0 |
Check if a mask corresponds with the process mask. | |
virtual void | StartNewShadowBlock ()=0 |
Start new shadow list for this frustum. | |
virtual void | SetUserdata (iFrustumViewUserdata *data)=0 |
Set or clear userdata. | |
virtual iFrustumViewUserdata * | GetUserdata ()=0 |
Get userdata. | |
virtual csPtr< iShadowBlock > | CreateShadowBlock ()=0 |
Create a new empty shadow block. |
Detailed Description
This structure represents all information needed for the frustum visibility calculator.
Definition at line 143 of file fview.h.
Member Function Documentation
|
Call the object function.
|
|
Check if a mask corresponds with the process mask.
|
|
Check if a mask corresponds with the shadow mask.
|
|
Create a copy of the current frustum context and return it. This can be used to later put it back. Use SetFrustumContext() for this. |
|
Create a new frustum context. This is typically used when going through a portal. Note that you should remember the old frustum context if you want to restore it later. The frustum context will get all the values from the current context (with SCF references properly incremented). |
|
Create a new empty shadow block.
|
|
Get the current frustum context.
|
|
Get the radius.
|
|
Get the squared radius.
|
|
Get userdata.
|
|
Restore a frustum context. Use this to restore a previously overwritten frustum context. This function will take care of properly cleaning up the current frustum context. |
|
This function is similar to CreateFrustumContext() but it sets the given frustum context instead. Also restore with RestoreFrustumContext(). |
|
Set the object function.
|
|
Set or clear userdata.
|
|
Start new shadow list for this frustum.
|
|
Return true if shadowing for things is enabled.
|
The documentation for this struct was generated from the following file:
- iengine/fview.h
Generated for Crystal Space by doxygen 1.3.9.1