+ friend class EffectChain;
+
+public:
+ virtual std::string effect_type_id() const { return "GammaCompressionEffect"; }
+ std::string output_fragment_shader();
+
+ virtual bool needs_srgb_primaries() const { return false; }
+
+ // Actually needs postmultiplied input as well as outputting it.
+ // EffectChain will take care of that.
+ virtual AlphaHandling alpha_handling() const { return OUTPUT_POSTMULTIPLIED_ALPHA; }