X-Git-Url: http://git.tdb.fi/?p=libs%2Fdemoscene.git;a=blobdiff_plain;f=source%2Fstage.h;h=49371776b2df432f5ae311d3471677c984d0e107;hp=daf4f4b982c72ab52fa07008c79a10d2d2b1ba69;hb=5dad2cbf4556cd4b433722c172f0b468d0161de5;hpb=34051ffdca091ad3971c1382c71c5fc58b7ade0f diff --git a/source/stage.h b/source/stage.h index daf4f4b..4937177 100644 --- a/source/stage.h +++ b/source/stage.h @@ -5,8 +5,9 @@ #include #include "action.h" -struct Stage +class Stage { +public: class UseInView: public Action { public: @@ -59,13 +60,17 @@ struct Stage virtual void start(float, float); }; +protected: Msp::GL::Pipeline *pipeline; Msp::GL::Camera camera; +public: Stage(); ~Stage(); + void add_postprocessor(Msp::GL::PostProcessor &); void set_camera(const Msp::GL::Camera &); + Msp::GL::Camera &get_camera() { return camera; } }; #endif