X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=gamma_compression_effect.h;fp=gamma_compression_effect.h;h=2744d2ddf65f809e96a301cdcb0e016e499c8f25;hp=0155ee54b32fb28313d22785d91497e7f40a08c8;hb=38dfb378427d1c97113ad7644c39f7695be84c49;hpb=545c9c70d0be03667a8d78da6be29836fa9c4f1d diff --git a/gamma_compression_effect.h b/gamma_compression_effect.h index 0155ee5..2744d2d 100644 --- a/gamma_compression_effect.h +++ b/gamma_compression_effect.h @@ -13,8 +13,12 @@ #define COMPRESSION_CURVE_SIZE 4096 class GammaCompressionEffect : public Effect { -public: +private: + // Should not be instantiated by end users. GammaCompressionEffect(); + friend class EffectChain; + +public: virtual std::string effect_type_id() const { return "GammaCompressionEffect"; } std::string output_fragment_shader();