Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
smlt::StageManager Class Reference
Inheritance diagram for smlt::StageManager:
smlt::Updateable smlt::Window smlt::KOSWindow smlt::PSPWindow smlt::SDL2Window


struct  IteratorPair

Public Member Functions

 StageManager (Window *window)
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)
uint32_t stage_node_pool_capacity () const
uint32_t stage_node_pool_capacity_in_bytes () const
- 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 Types

typedef Polylist< StageNode, StageStagePool

Protected Member Functions

void clean_up ()

Protected Attributes

StagePool pool_
StageNodePool node_pool_
StageNodeManager< StagePool, StageID, Stagemanager_


struct IteratorPair

Member Function Documentation

◆ stage()

StagePtr smlt::StageManager::stage ( StageID  s)


A shared_ptr to the stage

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