2 #define _BLUR_EFFECT_H 1
6 class BlurEffect : public Effect {
9 std::string output_fragment_shader();
11 virtual bool needs_many_samples() const { return true; }
12 virtual bool needs_mipmaps() const { return true; }
14 void set_uniforms(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num);
16 enum Direction { HORIZONTAL = 0, VERTICAL = 1 };
23 #endif // !defined(_BLUR_EFFECT_H)