X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=blur_effect.h;h=09c6f14117f47266e3ec53449202b7f829274bd3;hp=0657136181066042391e91baf4e9672fb7f4ef02;hb=f25eed80a570ae049f03b098757a070188efbc39;hpb=75c27c449aabb27ed0b028b57b20d70005a6e447 diff --git a/blur_effect.h b/blur_effect.h index 0657136..09c6f14 100644 --- a/blur_effect.h +++ b/blur_effect.h @@ -13,8 +13,11 @@ public: void set_uniforms(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num); + enum Direction { HORIZONTAL = 0, VERTICAL = 1 }; + private: float radius; + Direction direction; }; #endif // !defined(_BLUR_EFFECT_H)