1 #ifndef _MOVIT_ALPHA_MULTIPLICATION_EFFECT_H
2 #define _MOVIT_ALPHA_MULTIPLICATION_EFFECT_H 1
4 // Convert postmultiplied alpha to premultiplied alpha, simply by multiplying.
12 class AlphaMultiplicationEffect : public Effect {
14 AlphaMultiplicationEffect() {}
15 virtual std::string effect_type_id() const { return "AlphaMultiplicationEffect"; }
16 std::string output_fragment_shader();
17 virtual bool one_to_one_sampling() const { return true; }
22 #endif // !defined(_MOVIT_ALPHA_MULTIPLICATION_EFFECT_H)