Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
smlt::SceneBase Class Referenceabstract
Inheritance diagram for smlt::SceneBase:
smlt::Updateable smlt::Scene< Loading > smlt::Scene< Splash > smlt::Scene< T > smlt::scenes::Loading smlt::scenes::Splash smlt::PhysicsScene< T >

Public Types

typedef std::shared_ptr< SceneBaseptr

Public Member Functions

 SceneBase (Window *window)
void _call_load ()
void _call_unload ()
void _call_activate ()
void _call_deactivate ()
bool is_loaded () const
bool is_active () const
const std::string name () const
void set_name (const std::string &name)
bool destroy_on_unload () const
void set_destroy_on_unload (bool v)
bool unload_on_deactivate () const
void set_unload_on_deactivate (bool v)
- Public Member Functions inherited from smlt::Updateable
virtual void _update_thunk (float dt)
virtual void _late_update_thunk (float dt)
virtual void _fixed_update_thunk (float step)

Protected Member Functions

virtual void load ()=0
virtual void unload ()
virtual void activate ()
virtual void deactivate ()
void link_pipeline (const std::string &name)
void unlink_pipeline (const std::string &name)
void link_pipeline (PipelinePtr pipeline)
void unlink_pipeline (PipelinePtr pipeline)
template<typename T >
get_load_arg (int i)
 S_DEFINE_PROPERTY (window, &SceneBase::window_)
 S_DEFINE_PROPERTY (app, &SceneBase::app_)
 S_DEFINE_PROPERTY (input, &SceneBase::input_)
 S_DEFINE_PROPERTY (scenes, &SceneBase::scene_manager_)
 S_DEFINE_PROPERTY (compositor, &SceneBase::compositor_)


class SceneManager

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