1 #ifndef _ALPHA_DIVISION_EFFECT_H
2 #define _ALPHA_DIVISION_EFFECT_H 1
4 // Convert premultiplied alpha to postmultiplied alpha, simply by multiplying.
8 class AlphaDivisionEffect : public Effect {
10 AlphaDivisionEffect() {}
11 virtual std::string effect_type_id() const { return "AlphaDivisionEffect"; }
12 std::string output_fragment_shader();
15 #endif // !defined(_ALPHA_DIVISION_EFFECT_H)