X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=saturation_effect.h;h=8a3aece844aa45b9cce0d0d36e0fb4231189c33d;hp=f4d69e680ddda7b03a730a0724452d72f6e8394f;hb=b3d1c89c7c8953cb4c73b7dba50c9813042976fa;hpb=ac4fc36aa70ffefb6b9632dc0abea5cbbce5387b diff --git a/saturation_effect.h b/saturation_effect.h index f4d69e6..8a3aece 100644 --- a/saturation_effect.h +++ b/saturation_effect.h @@ -11,15 +11,20 @@ #include "effect.h" +namespace movit { + class SaturationEffect : public Effect { public: SaturationEffect(); - virtual std::string effect_type_id() const { return "SaturationEffect"; } - virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; } - std::string output_fragment_shader(); + std::string effect_type_id() const override { return "SaturationEffect"; } + AlphaHandling alpha_handling() const override { return DONT_CARE_ALPHA_TYPE; } + bool strong_one_to_one_sampling() const override { return true; } + std::string output_fragment_shader() override; private: float saturation; }; +} // namespace movit + #endif // !defined(_MOVIT_SATURATION_EFFECT_H)