3 This file is part of libmspgl
4 Copyright © 2008, 2010 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
10 #include "version_1_2.h"
21 Blend::Blend(BlendFactor sf, BlendFactor df):
27 Blend::Blend(BlendEquation e, BlendFactor sf, BlendFactor df):
33 static RequireVersion _ver(1, 2);
36 void Blend::bind() const
43 glBlendFunc(src_factor, dst_factor);
53 const Blend &Blend::alpha()
55 static Blend blend(SRC_ALPHA, ONE_MINUS_SRC_ALPHA);