X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fblend.h;h=e7b291e617dab5c2044e787c99ee7a09a7dfcac5;hp=1ba43ceb272eba972430bc4fee94cd786bdcbce4;hb=6eb1cf196dbe5a2c39b29b49b6901ae7d2b4e803;hpb=80977251da90a6878b82d143c22b8335284d3b3e diff --git a/source/blend.h b/source/blend.h index 1ba43ceb..e7b291e6 100644 --- a/source/blend.h +++ b/source/blend.h @@ -1,6 +1,7 @@ #ifndef MSP_GL_BLEND_H_ #define MSP_GL_BLEND_H_ +#include #include "bindable.h" #include "gl.h" #include @@ -55,8 +56,13 @@ public: static void unbind(); static const Blend &alpha(); + static const Blend &additive(); + static const Blend &additive_alpha(); }; +void operator>>(const LexicalConverter &, BlendFactor &); +void operator<<(LexicalConverter &, BlendFactor); + } // namespace GL } // namespace Msp