]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effects/colorcurve.h
Access builtin resources through a global instance
[libs/gl.git] / source / effects / colorcurve.h
index e34834aa4e72bf83311b8b9bc41fd657c1d2ba83..f274bf06bde57040e7ae1f489fa6793d3f6560ac 100644 (file)
@@ -40,7 +40,7 @@ public:
 
                Template();
 
-               virtual ColorCurve *create(Resources &, unsigned, unsigned) const;
+               virtual ColorCurve *create(unsigned, unsigned) const;
        };
 
 private:
@@ -52,13 +52,15 @@ private:
        const Sampler &nearest_sampler;
 
 public:
-       ColorCurve(Resources &);
+       ColorCurve();
 
        /** Set exposure adjustment in EV units.  Positive values brighten the
        image, negative values darken it.  Zero is neutral. */
        void set_exposure_adjust(float);
 
-       /** Sets the exponent of the */
+       /** Sets the exponent of the brightness response curve.  It must be greater
+       than zero and at most one.  A value of one gives a linear response; closer
+       to zero results in a more gentle curve. */
        void set_brightness_response(float);
 
        /** Sets the gamma value used for mapping output colors.  Allowed range is