X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=saturation_effect.h;h=7e108e8db48362528eb7f275f02cc026b1ebbd27;hb=39b6975420669958ed9f4013440aea415134a902;hp=f4d69e680ddda7b03a730a0724452d72f6e8394f;hpb=ac4fc36aa70ffefb6b9632dc0abea5cbbce5387b;p=movit diff --git a/saturation_effect.h b/saturation_effect.h index f4d69e6..7e108e8 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 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)