X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;h=407648bc9c5a6887e331d01bb4d372390509c219;hp=f41e7e4a5e72966a9dd0a56255aca32cf6a3449b;hb=7d78534e38d50892ca57d3a17f27214ac094ea58;hpb=ac4fc36aa70ffefb6b9632dc0abea5cbbce5387b diff --git a/effect_chain.h b/effect_chain.h index f41e7e4..407648b 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -1,6 +1,12 @@ #ifndef _MOVIT_EFFECT_CHAIN_H #define _MOVIT_EFFECT_CHAIN_H 1 +// An EffectChain is the largest basic entity in Movit; it contains everything +// needed to connects a series of effects, from inputs to outputs, and render +// them. Generally you set up your effect chain once and then call its render +// functions once per frame; setting one up can be relatively expensive, +// but rendering is fast. + #include #include #include @@ -229,8 +235,6 @@ private: Effect *dither_effect; std::vector inputs; // Also contained in nodes. - - GLuint fbo; std::vector phases; unsigned num_dither_bits;