]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pipeline.h
Add a constructor to Pipeline which takes the size from a View
[libs/gl.git] / source / pipeline.h
index 4ee594444a5e6c465d50347793c572f6f2e076ff..35d10a41c6f5a6f3521ade05f0066a4218bebbb3 100644 (file)
@@ -18,6 +18,7 @@ class Clipping;
 class DepthTest;
 class Lighting;
 class PostProcessor;
+class View;
 
 /**
 Top-level content class.  Typically a Pipeline is used as the content
@@ -85,6 +86,10 @@ private:
 
 public:
        Pipeline(unsigned, unsigned, bool = false);
+       Pipeline(const View &);
+private:
+       void init(unsigned, unsigned);
+public:
        ~Pipeline();
 
        /* Sets high dynamic range mode.  Requires floating-point texture support.