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::Pipeline Class Reference
Inheritance diagram for smlt::Pipeline:
smlt::TypedDestroyableObject< Pipeline, Compositor > smlt::RefCounted< Pipeline > smlt::DestroyableObject smlt::TwoPhaseConstructed

Public Member Functions

 Pipeline (Compositor *render_sequence, const std::string &name, StageID stage_id, CameraID camera_id)
 
CameraPtr camera () const
 
StagePtr stage () const
 
TexturePtr target () const
 
uint32_t clear_flags () const
 
int32_t priority () const
 
PipelinePtr set_priority (int32_t priority)
 
void deactivate ()
 
void activate ()
 
bool is_active () const
 
PipelinePtr set_viewport (const Viewport &v)
 
PipelinePtr set_target (TextureID t)
 
PipelinePtr set_clear_flags (uint32_t viewport_clear_flags)
 
PipelinePtr set_detail_level_distances (float nearest_cutoff, float near_cutoff, float mid_cutoff, float far_cutoff)
 
DetailLevel detail_level_at_distance (float dist) const
 
PipelinePtr set_name (const std::string &name)
 
std::string name () const
 
PipelinePtr set_camera (CameraID c)
 
- Public Member Functions inherited from smlt::TypedDestroyableObject< Pipeline, Compositor >
 TypedDestroyableObject (Compositor *owner)
 
void destroy () override
 
void destroy_immediately () override
 
- Public Member Functions inherited from smlt::DestroyableObject
bool is_marked_for_destruction () const
 
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
 
virtual void clean_up ()
 

Public Attributes

Property< decltype(&Pipeline::viewport_)> viewport = { this, &Pipeline::viewport_ }
 

Friends

class Compositor
 

Additional Inherited Members

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

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