alphaBlend

Blends source into target with respect to the opacity of the source image (as stored in the alpha channel).

  1. template alphaBlend(BlendFn blend = null, BlendAccuracy accuracy = BlendAccuracy.rgba)
  2. template alphaBlend(BlendAccuracy accuracy, BlendFn blend = null)
    @safe pure nothrow @nogc
    template alphaBlend (
    BlendAccuracy accuracy
    BlendFn blend = null
    ) {}

See Also

alphaBlendRGBA and alphaBlendRGB are shorthand functions in cases where no special blending algorithm is needed.

Meta