Class ChromaticAberrationFilter

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

public class ChromaticAberrationFilter extends FxFilter
  • Field Details

    • maxDistortion

      public float maxDistortion
  • Constructor Details

    • ChromaticAberrationFilter

      public ChromaticAberrationFilter(int passes)
  • 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