Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
- data BlendFactor
- data BlendEquation
- data BlendMode = BlendMode {}
- blendAlpha :: BlendMode
- blendAdd :: BlendMode
- blendMultiply :: BlendMode
- blendNone :: BlendMode
Documentation
data BlendFactor Source
Enumeration of the blending factors
BlendFactorZero | (0, 0, 0, 0) |
BlendFactorOne | (1, 1, 1, 1) |
BlendFactorSrcColor | (src.r, src.g, src.b, src.a) |
BlendFactorOneMinusSrcColor | (1, 1, 1, 1) - (src.r, src.g, src.b, src.a) |
BlendFactorDstColor | (dst.r, dst.g, dst.b, dst.a) |
BlendFactorOneMinusDstColor | (1, 1, 1, 1) - (dst.r, dst.g, dst.b, dst.a) |
BlendFactorSrcAlpha | (src.a, src.a, src.a, src.a) |
BlendFactorOneMinusSrcAlpha | (1, 1, 1, 1) - (src.a, src.a, src.a, src.a) |
BlendFactorDstAlpha | (dst.a, dst.a, dst.a, dst.a) |
BlendFactorOneMinusDstAlpha | (1, 1, 1, 1) - (dst.a, dst.a, dst.a, dst.a) |
data BlendEquation Source
Enumeration of the blending equations
BlendEquationAdd | Pixel = Src * SrcFactor + Dst * DstFactor |
BlendEquationSubtract | Pixel = Src * SrcFactor - Dst * DstFactor |
Available blending modes for drawing.
BlendMode | |
|