Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Public Attributes | Friends | List of all members
smlt::Compositor Class Reference
Inheritance diagram for smlt::Compositor:
smlt::RefCounted< Compositor > smlt::TwoPhaseConstructed

Public Member Functions

 Compositor (Window *window)
 
PipelinePtr new_pipeline (const std::string &name, StageID stage, CameraID camera, const Viewport &viewport=Viewport(), TextureID target=TextureID(), int32_t priority=0)
 
PipelinePtr render (StagePtr stage, CameraPtr camera)
 
PipelinePtr render (StageID stage_id, CameraID camera_id)
 
std::list< PipelinePtr >::iterator begin ()
 
std::list< PipelinePtr >::iterator end ()
 
PipelinePtr find_pipeline (const std::string &name)
 
bool destroy_pipeline (const std::string &name)
 
void destroy_all_pipelines ()
 
void destroy_pipeline_immediately (const std::string &name)
 
bool has_pipeline (const std::string &name)
 
void set_renderer (Renderer *renderer)
 
void run ()
 
void clean_up ()
 
sig::signal< void(Pipeline &)> & signal_pipeline_started ()
 
sig::signal< void(Pipeline &)> & signal_pipeline_finished ()
 
void destroy_object (PipelinePtr pipeline)
 
void destroy_object_immediately (PipelinePtr pipeline)
 
 S_DEFINE_PROPERTY (window, &Compositor::window_)
 
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
 

Public Attributes

RenderOptions render_options
 

Friends

class Pipeline
 

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< Compositor >
typedef std::shared_ptr< Compositorptr
 
typedef std::weak_ptr< Compositorwptr
 
- Static Public Member Functions inherited from smlt::RefCounted< Compositor >
static RefCounted< Compositor >::ptr create (Args &&... args)
 
static RefCounted< Compositor >::ptr create ()
 
- Protected Member Functions inherited from smlt::RefCounted< Compositor >
 RefCounted (Args &&...)
 

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