X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=gamma_expansion_effect.h;h=043731baf15ef48c8812d1ec6fb6e5234a5b87a3;hp=ce999902f7be24b4ddace89ea12384cb7dbf5def;hb=38dfb378427d1c97113ad7644c39f7695be84c49;hpb=545c9c70d0be03667a8d78da6be29836fa9c4f1d diff --git a/gamma_expansion_effect.h b/gamma_expansion_effect.h index ce99990..043731b 100644 --- a/gamma_expansion_effect.h +++ b/gamma_expansion_effect.h @@ -13,8 +13,12 @@ #define EXPANSION_CURVE_SIZE 256 class GammaExpansionEffect : public Effect { -public: +private: + // Should not be instantiated by end users. GammaExpansionEffect(); + friend class EffectChain; + +public: virtual std::string effect_type_id() const { return "GammaExpansionEffect"; } std::string output_fragment_shader();