X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=gamma_expansion_effect.h;h=043731baf15ef48c8812d1ec6fb6e5234a5b87a3;hp=ce999902f7be24b4ddace89ea12384cb7dbf5def;hb=fc55857d9ccf1edcc141fa0853a8bf2d6b40b4dc;hpb=b10c546f579c7ccb5939161e61a71cd18a3f9bbd 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();