Module OgamlGraphics.DrawParameter.BlendMode

Blending modes manipulation

Submodules

Equation Blending equations enumeration
Factor Blending factors enumeration
type t = {color : Equation.t; alpha : Equation.t}
Blending mode structure. This encapsulates a color blending equation and an alpha blending equation.

Record fields

color : Equation.t
alpha : Equation.t

See : OgamlGraphics.DrawParameter.BlendMode.Equation
val default : t
Default blending mode, replaces the old color by the new one
val alpha : t
Common alpha blending mode
val additive : t
Additive blending mode
val soft_additive : t
Soft additive blending mode