]> git.tdb.fi Git - libs/gl.git/blobdiff - source/offscreenview.h
Add OffscreenView class
[libs/gl.git] / source / offscreenview.h
diff --git a/source/offscreenview.h b/source/offscreenview.h
new file mode 100644 (file)
index 0000000..3de47f1
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef MSP_GL_OFFSCREENVIEW_H_
+#define MSP_GL_OFFSCREENVIEW_H_
+
+#include "view.h"
+
+namespace Msp {
+namespace GL {
+
+class Framebuffer;
+class RenderTarget;
+
+class OffscreenView: public View
+{
+public:
+       OffscreenView(Framebuffer &);
+       OffscreenView(RenderTarget &);
+};
+
+} // namespace GL
+} // namespace Msp
+
+#endif