]> git.tdb.fi Git - libs/gl.git/blobdiff - source/blend.h
Support overriding uniforms in inherited Techniques
[libs/gl.git] / source / blend.h
index 3d7368bb8bfeda7c27c92aaa07172f5ae10111d9..e7b291e617dab5c2044e787c99ee7a09a7dfcac5 100644 (file)
@@ -1,15 +1,10 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2008, 2010  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GL_BLEND_H_
 #define MSP_GL_BLEND_H_
 
+#include <msp/strings/lexicalcast.h>
 #include "bindable.h"
 #include "gl.h"
+#include <msp/gl/extensions/ext_blend_minmax.h>
 
 namespace Msp {
 namespace GL {
@@ -61,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