]> git.sesse.net Git - movit/blobdiff - fft_pass_effect.h
Formalize the notion of messing with sampler state.
[movit] / fft_pass_effect.h
index 1fd4ea2c1886ed0bd6fb1f358954989770e0e5da..460a946be4dcbdb24f8bddfcc011cb3cdb6af6a0 100644 (file)
@@ -98,10 +98,13 @@ public:
                *width = *virtual_width = input_width;
                *height = *virtual_height = input_height;
        }
+
+       virtual void inform_added(EffectChain *chain) { this->chain = chain; }
        
        enum Direction { HORIZONTAL = 0, VERTICAL = 1 };
 
 private:
+       EffectChain *chain;
        int input_width, input_height;
        GLuint tex;
        int fft_size;