X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpipeline.h;h=35d10a41c6f5a6f3521ade05f0066a4218bebbb3;hb=6109322ffc5dec1a777807fcbefacafe94d1d5eb;hp=1e5b6aa4c9894529e44cb0094c5b9a08837b01e6;hpb=d386eadfd08b556ecb05627a7ceca14652e8b1e5;p=libs%2Fgl.git diff --git a/source/pipeline.h b/source/pipeline.h index 1e5b6aa4..35d10a41 100644 --- a/source/pipeline.h +++ b/source/pipeline.h @@ -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