X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=alpha_multiplication_effect.h;h=f342719c5987b0e3304e5b0782811829b3680faa;hp=b9cf251e6719fb022e8f651b1f4d952461433895;hb=refs%2Fheads%2F1.3.x-release;hpb=ac4fc36aa70ffefb6b9632dc0abea5cbbce5387b diff --git a/alpha_multiplication_effect.h b/alpha_multiplication_effect.h index b9cf251..f342719 100644 --- a/alpha_multiplication_effect.h +++ b/alpha_multiplication_effect.h @@ -7,11 +7,16 @@ #include "effect.h" +namespace movit { + class AlphaMultiplicationEffect : public Effect { public: AlphaMultiplicationEffect() {} virtual std::string effect_type_id() const { return "AlphaMultiplicationEffect"; } std::string output_fragment_shader(); + virtual bool one_to_one_sampling() const { return true; } }; +} // namespace movit + #endif // !defined(_MOVIT_ALPHA_MULTIPLICATION_EFFECT_H)