]> git.sesse.net Git - movit/blobdiff - glow_effect.h
Add a white balance effect (port of my white balance effect from Frei0r).
[movit] / glow_effect.h
index 7ee164dceab630d2d1ab2f7573ce4f581bbb037a..04b48f9aa165e55ab7ba139dba36c883fb492f9b 100644 (file)
@@ -11,10 +11,11 @@ class MixEffect;
 class GlowEffect : public Effect {
 public:
        GlowEffect();
+       virtual std::string effect_type_id() const { return "GlowEffect"; }
 
        virtual bool needs_srgb_primaries() const { return false; }
 
-       virtual void add_self_to_effect_chain(EffectChain *chain, const std::vector<Effect *> &input);
+       virtual void rewrite_graph(EffectChain *graph, Node *self);
        virtual bool set_float(const std::string &key, float value);
 
        virtual std::string output_fragment_shader() {