Package arc.graphics

Class Blending

java.lang.Object
arc.graphics.Blending

public class Blending extends Object
Blending modes, can be instantiated to make custom blending.
  • Field Details

    • normal

      public static final Blending normal
    • additive

      public static final Blending additive
    • disabled

      public static final Blending disabled
    • src

      public final int src
    • dst

      public final int dst
    • srcAlpha

      public final int srcAlpha
    • dstAlpha

      public final int dstAlpha
  • Constructor Details

    • Blending

      public Blending(int src, int dst)
    • Blending

      public Blending(int src, int dst, int srcAlpha, int dstAlpha)
  • Method Details

    • apply

      public void apply()
      Enables/disables blending and sets the correct GL blend function.