]> git.sesse.net Git - movit/blobdiff - effect.h
Implement gamma expansion from sRGB.
[movit] / effect.h
index a7b0e4be0565a0375b0ed4231c3bf03e5894b75a..c53a1556b28e500396387344f2dd6fd8aab28d27 100644 (file)
--- a/effect.h
+++ b/effect.h
@@ -19,6 +19,9 @@ public:
        virtual bool needs_many_samples() { return false; }
        virtual bool needs_mipmaps() { return false; }
 
+       virtual std::string output_convenience_uniforms();
+       virtual std::string output_glsl() = 0;
+
        // Neither of these take ownership.
        bool set_int(const std::string&, int value);
        bool set_float(const std::string &key, float value);