]> git.sesse.net Git - movit/blobdiff - alpha_multiplication_effect.h
Release Movit 1.3.2. (From a branch, since I do not want to break ABI compatibility...
[movit] / alpha_multiplication_effect.h
index b9cf251e6719fb022e8f651b1f4d952461433895..f342719c5987b0e3304e5b0782811829b3680faa 100644 (file)
@@ -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)