#include <renderentity.h>
Inheritance diagram for RenderEntity:
Render objects are derived from Activator for easy on/off management. The base Render method returns false if the object is not active.
Public Member Functions | |
RenderEntity () | |
virtual | ~RenderEntity () |
virtual bool | Render (Frustum *pkFrustum=0, bool bForce=false) |
bool | IsActive () const |
virtual void | Activate () |
virtual void | Deactivate () |
bool | Toggle () |
Public Attributes | |
unsigned int | m_uiLastFrame |
Static Public Attributes | |
unsigned int | s_uiFrameCount |
Protected Attributes | |
bool | m_bActive |
|
|
|
|
|
Render object
Reimplemented in Camera, Console, Light, MeshEntity, ProfileManager, Room, SceneNode, Skeleton, SkyBox, SkyDome, and Sprite. |
|
Query state of object
|
|
Activate object |
|
Deactivate object |
|
Toggle active state. This method does not need to be overloaded, it is only a wrapper to Activate and Deactivate
|
|
Frame counter (at 500 frames per second, can be active ~100 days continously before loop, and then it will just skip one frame -> safe enough) |
|
Last frame count we were rendered |
|
Active flag |