X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Fcolorcurve.h;h=01a7d35dcb37eecfebc9fb1e3df8fc6c5b57b21f;hb=5bb193f930fb8738d099d630c4d625d82c1215b5;hp=f274bf06bde57040e7ae1f489fa6793d3f6560ac;hpb=fe2fc291a4fc618425c64112c9ffd3519f0b8a3e;p=libs%2Fgl.git diff --git a/source/effects/colorcurve.h b/source/effects/colorcurve.h index f274bf06..01a7d35d 100644 --- a/source/effects/colorcurve.h +++ b/source/effects/colorcurve.h @@ -2,13 +2,14 @@ #define MSP_GL_COLORCURVE_H_ #include "postprocessor.h" -#include "program.h" #include "programdata.h" #include "texture1d.h" namespace Msp { namespace GL { +class Program; + /** Processes oversaturated colors to preserve hues. When one color component exceeds 1.0, the overflow is distributed to the other components, scaling the @@ -75,6 +76,8 @@ public: void set_linear(); virtual void render(Renderer &, const Texture2D &, const Texture2D &); + + virtual void set_debug_name(const std::string &); }; } // namespace GL