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