]> 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 1e5b6aa4c9894529e44cb0094c5b9a08837b01e6..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,9 +86,16 @@ 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.
+       A ColorCurve postprocessor is recommended for full benefit. */
        void set_hdr(bool);
+
        void set_multisample(unsigned);
 
        // Deprecated