]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/windowview.h
Rename "renderable" to "content" in Effects and Scenes
[libs/gl.git] / source / render / windowview.h
index 8b6f1431d7a9df8d068a4c4975500445179797f0..9646a65d746ebcef6e7e5aa15db422d93dc5d602 100644 (file)
@@ -9,7 +9,15 @@
 namespace Msp {
 namespace GL {
 
-class WindowView: public View
+/**
+A view targeting a Graphics::Window.
+
+After rendering, buffers are swapped to show the result in the window.
+
+The aspect ratio of the view's Camera is automatically updated to match that of
+the window.
+*/
+class WindowView: public View, public sigc::trackable
 {
 private:
        Graphics::Window &window;