Class CombineFilter

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

public final class CombineFilter extends FxFilter
  • Field Details

    • src1int

      public float src1int
    • src1sat

      public float src1sat
    • src2int

      public float src2int
    • src2sat

      public float src2sat
    • inputTexture2

      public Texture inputTexture2
  • Constructor Details

    • CombineFilter

      public CombineFilter()
  • Method Details

    • setInput

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

      public CombineFilter setInput(Texture texture1, Texture texture2)
    • 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