X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect.h;h=c53a1556b28e500396387344f2dd6fd8aab28d27;hp=a7b0e4be0565a0375b0ed4231c3bf03e5894b75a;hb=f6c44598c9dad9ddd024c5f8f010d179a6d971fd;hpb=a88f299483ffe5068cd2828513078b9103325da8 diff --git a/effect.h b/effect.h index a7b0e4b..c53a155 100644 --- a/effect.h +++ b/effect.h @@ -19,6 +19,9 @@ public: virtual bool needs_many_samples() { return false; } virtual bool needs_mipmaps() { return false; } + virtual std::string output_convenience_uniforms(); + virtual std::string output_glsl() = 0; + // Neither of these take ownership. bool set_int(const std::string&, int value); bool set_float(const std::string &key, float value);