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