Class Convolve1dFilter

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

public final class Convolve1dFilter extends FxFilter
  • Field Details

    • length

      public int length
    • weights

      public float[] weights
    • offsets

      public float[] offsets
  • Constructor Details

    • Convolve1dFilter

      public Convolve1dFilter(int length)
    • Convolve1dFilter

      public Convolve1dFilter(int length, float[] weights_data)
    • Convolve1dFilter

      public Convolve1dFilter(int length, float[] weights_data, float[] offsets)
  • Method Details

    • setWeights

      public void setWeights(int length, float[] weights, float[] offsets)
    • dispose

      public void dispose()
      Description copied from interface: Disposable
      Releases all resources of this object.
      Specified by:
      dispose in interface Disposable
      Overrides:
      dispose 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