Class LevelsFilter

java.lang.Object
arc.fx.FxFilter
arc.fx.filters.LevelsFilter
All Implemented Interfaces:
Disposable

public class LevelsFilter extends FxFilter
Controls levels of brightness and contrast
  • Field Details

    • brightness

      public float brightness
    • contrast

      public float contrast
    • saturation

      public float saturation
    • hue

      public float hue
    • gamma

      public float gamma
  • Constructor Details

    • LevelsFilter

      public LevelsFilter()
  • Method Details

    • setParams

      public void setParams()
      Description copied from class: FxFilter
      Concrete objects shall be responsible to recreate or rebind its own resources whenever its needed, usually when the OpenGL context is lost. Eg., framebuffer textures should be updated and shader parameters should be reuploaded/rebound.
      Overrides:
      setParams in class FxFilter