X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Frender%2Fview.h;h=b8a116a65e3b80435a4aa4cdae39020dffad6252;hp=bdddb65d31b977cf896cdd3dacc1d89c470cfbd8;hb=e70662d7812464159f2e47f4bebb69d88f89ae93;hpb=28d12c73b197a16f7635badc01e42375728fde85 diff --git a/source/render/view.h b/source/render/view.h index bdddb65d..b8a116a6 100644 --- a/source/render/view.h +++ b/source/render/view.h @@ -1,6 +1,7 @@ #ifndef MSP_GL_VIEW_H_ #define MSP_GL_VIEW_H_ +#include #include "framebuffer.h" namespace Msp { @@ -17,7 +18,7 @@ application in some way. The content renderable's render() function is called with an empty tag. A Sequence can be used to specify other tags and add post-processing. */ -class View +class View: public NonCopyable { protected: Camera *camera = 0; @@ -26,6 +27,7 @@ protected: View() = default; public: + View(View &&); virtual ~View(); virtual unsigned get_width() const { return get_target().get_width(); }