The OpenD Programming Language

alphaBlendRGB

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

This variant is faster than alphaBlendRGBA, but leads to a wrong alpha-channel value in the target. Useful because of the performance advantage in cases where the resulting alpha does not matter. See BlendAccuracy for further explanation.

  1. void alphaBlendRGB(Pixel[] target, Pixel[] source)
    @safe pure nothrow @nogc @safe
    void
    alphaBlendRGB
    (
    scope Pixel[] target
    ,
    scope const Pixel[] source
    )
  2. void alphaBlendRGB(Pixel pxTarget, Pixel pxSource)

Meta