X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=glow_effect.h;h=04b48f9aa165e55ab7ba139dba36c883fb492f9b;hp=7ee164dceab630d2d1ab2f7573ce4f581bbb037a;hb=f52ae2984b179e8d91e3d78ecc72888644fce406;hpb=ef7665d0d3854b3464800d8d7fef9a90f14d9a9f diff --git a/glow_effect.h b/glow_effect.h index 7ee164d..04b48f9 100644 --- a/glow_effect.h +++ b/glow_effect.h @@ -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 &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() {