Color.ColorBlendMixinStr

this mixin can be used to alphablend two uint colors; colu32name is variable that holds color to blend, destu32name is variable that holds "current" color (from surface, for example). alpha value of destu32name doesn't matter. alpha value of colu32name means: 255 for replace color, 0 for keep destu32name.

WARNING! This function does blending in RGB space, and RGB space is not linear!

struct Color
@safe
enum ColorBlendMixinStr (
string colu32name
string destu32name
)

Meta