Class MixFilter

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

public final class MixFilter extends FxFilter
  • Field Details

    • mix

      public float mix
  • Constructor Details

    • MixFilter

      public MixFilter()
  • Method Details

    • setInput

      public MixFilter setInput(FrameBuffer buffer1, FrameBuffer buffer2)
    • setInput

      public MixFilter setInput(Texture texture1, Texture texture2)
    • setInput

      public MixFilter setInput(FrameBuffer input)
      Overrides:
      setInput in class FxFilter
    • setInput

      public MixFilter setInput(Texture input)
      Overrides:
      setInput in class FxFilter
    • resize

      public void resize(int width, int height)
      Description copied from class: FxFilter
      This method should be called once filter will be added. Also it must be called on every application resize as usual.
      Overrides:
      resize in class FxFilter
    • 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
    • onBeforeRender

      protected void onBeforeRender()
      Description copied from class: FxFilter
      This method gets called just before rendering.
      Overrides:
      onBeforeRender in class FxFilter