namespace Msp {
namespace GL {
-Blend::Blend():
- enabled(false),
- equation(ADD),
- src_factor(ONE),
- dst_factor(ZERO),
- constant(0.0f, 0.0f, 0.0f, 0.0f),
- write_mask(WRITE_ALL)
-{ }
-
Blend::Blend(BlendFactor sf, BlendFactor df):
enabled(true),
- equation(ADD),
src_factor(sf),
- dst_factor(df),
- constant(0.0f, 0.0f, 0.0f, 0.0f),
- write_mask(WRITE_ALL)
+ dst_factor(df)
{ }
Blend::Blend(BlendEquation e, BlendFactor sf, BlendFactor df):
enabled(true),
equation(e),
src_factor(sf),
- dst_factor(df),
- constant(0.0f, 0.0f, 0.0f, 0.0f),
- write_mask(WRITE_ALL)
+ dst_factor(df)
{ }