X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fblend.h;h=e7b291e617dab5c2044e787c99ee7a09a7dfcac5;hp=dd3f9404d72a2831c3442a994a64b90bbaff6812;hb=573ea4e5602c4321cc1d75daf9ed0beed5cde280;hpb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8 diff --git a/source/blend.h b/source/blend.h index dd3f9404..e7b291e6 100644 --- a/source/blend.h +++ b/source/blend.h @@ -1,8 +1,10 @@ #ifndef MSP_GL_BLEND_H_ #define MSP_GL_BLEND_H_ +#include #include "bindable.h" #include "gl.h" +#include namespace Msp { namespace GL { @@ -54,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