X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpipeline.h;h=4ee594444a5e6c465d50347793c572f6f2e076ff;hb=6dc2da27f0831d4172fcfeba4900616fd6c844b8;hp=b450d0a5864ab76adcde1f92c1442a94b37fac89;hpb=d031a80ea06e3ccd01041e9c6024fa62adf25160;p=libs%2Fgl.git diff --git a/source/pipeline.h b/source/pipeline.h index b450d0a5..4ee59444 100644 --- a/source/pipeline.h +++ b/source/pipeline.h @@ -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: