Class VignettingFilter

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

public final class VignettingFilter extends FxFilter
  • Field Details

    • vignetteX

      public float vignetteX
    • vignetteY

      public float vignetteY
    • centerX

      public float centerX
    • centerY

      public float centerY
    • intensity

      public float intensity
    • saturation

      public float saturation
    • saturationMul

      public float saturationMul
    • saturationEnabled

      public boolean saturationEnabled
    • lutEnabled

      public boolean lutEnabled
    • lutIntensity

      public float lutIntensity
    • lutIndex1

      public int lutIndex1
    • lutIndex2

      public int lutIndex2
    • lutStep

      public float lutStep
    • lutStepOffset

      public float lutStepOffset
    • lutIndexOffset

      public float lutIndexOffset
  • Constructor Details

    • VignettingFilter

      public VignettingFilter(boolean controlSaturation)
  • Method Details

    • setLut

      public void setLut(Texture texture)
      Sets the texture with which gradient mapping will be performed.
    • 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