]> git.tdb.fi Git - libs/gl.git/blobdiff - source/colorcurve.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / colorcurve.h
index dac0ac08ab689382ace03041070d4db77ec873e2..3f65b04916897c6d85bde7ec4f33fece160a3cd1 100644 (file)
@@ -49,7 +49,9 @@ private:
        ProgramData shdata;
        Texture1D curve;
        Texturing texturing;
-       const Mesh &quad;
+       RefPtr<Mesh> quad;
+       RefPtr<Sampler> linear_sampler;
+       RefPtr<Sampler> nearest_sampler;
 
 public:
        ColorCurve();
@@ -61,10 +63,6 @@ public:
        /** Sets the exponent of the */
        void set_brightness_response(float);
 
-       // Deprecated functions
-       void set_peak(float);
-       void set_brightness(float);
-
        /** Sets the gamma value used for mapping output colors.  Allowed range is
        from 0.1 to 10. */
        void set_gamma(float);