]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pipeline.h
Derive ProgramCompiler::DeclarationCombiner from BlockModifier
[libs/gl.git] / source / pipeline.h
index b450d0a5864ab76adcde1f92c1442a94b37fac89..4ee594444a5e6c465d50347793c572f6f2e076ff 100644 (file)
@@ -87,7 +87,10 @@ public:
        Pipeline(unsigned, unsigned, bool = false);
        ~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
@@ -104,10 +107,10 @@ public:
        /** Adds a postprocessor to the pipeline. */
        void add_postprocessor(PostProcessor &);
 
-       virtual void setup_frame() const;
-       virtual void finish_frame() const;
+       virtual void setup_frame(Renderer &);
+       virtual void finish_frame();
 
-       void render() const;
+       void render();
        virtual void render(Renderer &, const Tag &tag = Tag()) const;
 
 private: