X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=multiply_effect.h;h=9e3542de65969fbbc084da7b267747d9b4132ea9;hb=39b6975420669958ed9f4013440aea415134a902;hp=92e98e30944ec61eedca44e75e27276cef26a609;hpb=c5b9c3df43caa7a88f2f729a5c52359ca8ca537f;p=movit diff --git a/multiply_effect.h b/multiply_effect.h index 92e98e3..9e3542d 100644 --- a/multiply_effect.h +++ b/multiply_effect.h @@ -16,8 +16,9 @@ namespace movit { class MultiplyEffect : public Effect { public: MultiplyEffect(); - virtual std::string effect_type_id() const { return "MultiplyEffect"; } - std::string output_fragment_shader(); + std::string effect_type_id() const override { return "MultiplyEffect"; } + std::string output_fragment_shader() override; + bool one_to_one_sampling() const override { return true; } private: RGBATuple factor;