#include <string.h>
#include <assert.h>
#include "effect.h"
+#include "effect_chain.h"
#include "util.h"
#include <GL/gl.h>
params_tex_1d[key].needs_update = true;
}
+void Effect::add_self_to_effect_chain(EffectChain *chain, const std::vector<Effect *> &inputs)
+{
+ chain->add_effect_raw(this, inputs);
+}
+
// Output convenience uniforms for each parameter.
// These will be filled in per-frame.
std::string Effect::output_convenience_uniforms() const