Simulant  21.12-574
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, StagePtr stage, CameraPtr camera)
 
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 (CameraPtr c)
 
bool is_complete () const
 
- Public Member Functions inherited from smlt::TypedDestroyableObject< Pipeline, Compositor >
 TypedDestroyableObject (Compositor *owner)
 
bool destroy () override
 
bool destroy_immediately () override
 
- Public Member Functions inherited from smlt::DestroyableObject
 DEFINE_SIGNAL (DestroyedSignal, signal_destroyed)
 
bool is_destroyed () 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_ }
 
- Public Attributes inherited from smlt::TypedDestroyableObject< Pipeline, Compositor >
friend Owner
 

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 &&...)
 
- Protected Attributes inherited from smlt::DestroyableObject
bool destroyed_ = false
 

Member Function Documentation

◆ is_complete()

bool smlt::Pipeline::is_complete ( ) const
inline

Returns true if the pipeline has a valid stage and camera


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