BlendFactor dst_factor = ZERO;
Color constant = { 0.0f, 0.0f, 0.0f, 0.0f };
ColorWriteMask write_mask = WRITE_ALL;
+ bool alpha_to_coverage = false;
Blend() = default;
Blend(BlendFactor, BlendFactor);
inline bool Blend::operator==(const Blend &other) const
{
return enabled==other.enabled && equation==other.equation && src_factor==other.src_factor &&
- dst_factor==other.dst_factor && constant==other.constant && write_mask==other.write_mask;
+ dst_factor==other.dst_factor && constant==other.constant && write_mask==other.write_mask &&
+ alpha_to_coverage==other.alpha_to_coverage;
}