Simulant  21.12-166
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::Scene< T > Class Template Reference
Inheritance diagram for smlt::Scene< T >:
smlt::SceneBase smlt::RefCounted< T > smlt::StageManager smlt::TwoPhaseConstructed smlt::Updateable smlt::PhysicsScene< T >

Public Member Functions

 Scene (Window *window)
void clean_up () override
- Public Member Functions inherited from smlt::SceneBase
 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)
 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_)
- Public Member Functions inherited from smlt::StageManager
StagePtr new_stage (AvailablePartitioner partitioner=PARTITIONER_FRUSTUM)
StagePtr stage (StageID s)
 StageManager::stage. More...
StagePtr destroy_stage (StageID s)
std::size_t stage_count () const
bool has_stage (StageID stage_id) const
void fixed_update (float dt) override
void update (float dt) override
void late_update (float dt) override
void destroy_all_stages ()
IteratorPair each_stage ()
void destroy_object (Stage *object)
void destroy_object_immediately (Stage *object)
- Public Member Functions inherited from smlt::Updateable
virtual void _late_update_thunk (float dt)
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()

Additional Inherited Members

- Public Types inherited from smlt::SceneBase
typedef std::shared_ptr< SceneBaseptr
- Public Types inherited from smlt::RefCounted< T >
typedef std::shared_ptr< T > ptr
typedef std::weak_ptr< T > wptr
- Static Public Member Functions inherited from smlt::RefCounted< T >
template<typename... Args>
static RefCounted< T >::ptr create (Args &&... args)
static RefCounted< T >::ptr create ()
- Protected Types inherited from smlt::StageManager
typedef Polylist< StageNode, StageStagePool
typedef StageNodeManager< StagePool, StageID, StageStageList
- Protected Member Functions inherited from smlt::SceneBase
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)
void _update_thunk (float dt) override
void _fixed_update_thunk (float dt) override
std::size_t load_arg_count () const
template<typename T >
get_load_arg (int i)
- Protected Member Functions inherited from smlt::StageManager
void clean_destroyed_stages ()
- Protected Member Functions inherited from smlt::RefCounted< T >
template<typename... Args>
 RefCounted (Args &&...)
- Protected Attributes inherited from smlt::StageManager
StagePoolpool_ = nullptr
StageListmanager_ = nullptr

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