X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=colorspace_conversion_effect.h;h=15ad0addbc04394d2f70650c211495e2b0c2cacb;hp=93db321d79a3f9e201efca2e5ee6d35fd19e195e;hb=e22b57d30085d193da7829e0bc082ad1a310963e;hpb=b10c546f579c7ccb5939161e61a71cd18a3f9bbd;ds=sidebyside diff --git a/colorspace_conversion_effect.h b/colorspace_conversion_effect.h index 93db321..15ad0ad 100644 --- a/colorspace_conversion_effect.h +++ b/colorspace_conversion_effect.h @@ -12,8 +12,12 @@ #include "effect_chain.h" class ColorspaceConversionEffect : public Effect { -public: +private: + // Should not be instantiated by end users. ColorspaceConversionEffect(); + friend class EffectChain; + +public: virtual std::string effect_type_id() const { return "ColorspaceConversionEffect"; } std::string output_fragment_shader();