Thrive
Classes | Public Member Functions | Static Public Member Functions | List of all members
thrive::RenderSystem Class Reference

System for rendering a single frame per update. More...

#include <render_system.h>

Inheritance diagram for thrive::RenderSystem:
thrive::System

Classes

struct  Implementation
 

Public Member Functions

 RenderSystem ()
 Constructor.
 
 ~RenderSystem ()
 Destructor.
 
void init (GameState *gameState) override
 Initializes the system.
 
void shutdown () override
 Shuts down the system.
 
void update (int renderTime, int) override
 Renders a single frame. More...
 
- Public Member Functions inherited from thrive::System
 System ()
 Constructor.
 
virtual ~System ()=0
 Destructor.
 
virtual void activate ()
 Called by GameState::activate() More...
 
virtual void deactivate ()
 Called by GameState::deactivate() More...
 
bool enabled () const
 Whether this system is enabled. More...
 
Engine * engine () const
 The system's engine. More...
 
EntityManager * entityManager () const
 Returns the system's entity manager. More...
 
GameState * gameState () const
 Returns the system's game state. More...
 
virtual void initNamed (std::string name, GameState *gameState)
 Initializes the system and gives it a name. More...
 
std::string getName ()
 Returns system name.
 
void setEnabled (bool enabled)
 Sets the enabled status of this system. More...
 

Static Public Member Functions

static luabind::scope luaBindings ()
 Lua bindings. More...
 
- Static Public Member Functions inherited from thrive::System
static luabind::scope luaBindings ()
 Lua bindings. More...
 

Detailed Description

System for rendering a single frame per update.

Member Function Documentation

luabind::scope RenderSystem::luaBindings ( )
static

Lua bindings.

Exposes:

Returns
void RenderSystem::update ( int  renderTime,
int   
)
overridevirtual

Renders a single frame.

Calls OgreRoot::renderOneFrame(float).

Parameters
renderTime

Implements thrive::System.


The documentation for this class was generated from the following files: