Class DissolveBlend

All Implemented Interfaces:
LXLoopTask, LXPath, LXSerializable, LXParameterListener

public class DissolveBlend extends LXBlend
The dissolve blend is a special blend used in the crossfader. It is a normal linear blend except that full alpha on this blend represents an averaging of the two colors, and it also disregards the alpha channel of the individual pixels.
  • Constructor Details

    • DissolveBlend

      public DissolveBlend(LX lx)
  • Method Details

    • blend

      public void blend(int[] dst, int[] src, double alpha, int[] output, LXModel model)
      Description copied from class: LXBlend
      Blends the src buffer onto the destination buffer at the specified alpha amount.
      Specified by:
      blend in class LXBlend
      Parameters:
      dst - Destination buffer (lower layer)
      src - Source buffer (top layer)
      alpha - Alpha blend, from 0-1
      output - Output buffer, which may be the same as src or dst
      model - A model which indicates the set of points to blend