java.lang.Object
gaiasky.util.gdx.contrib.postprocess.filters.Filter<CrtScreen>
gaiasky.util.gdx.contrib.postprocess.filters.CrtScreen

public final class CrtScreen
extends Filter<CrtScreen>
  • Constructor Details

    • CrtScreen

      public CrtScreen​(boolean barrelDistortion, CrtScreen.RgbMode mode, int effectsSupport)
  • Method Details

    • setTime

      public void setTime​(float elapsedSecs)
    • setRgbMode

      public void setRgbMode​(CrtScreen.RgbMode mode)
    • setColorOffset

      public void setColorOffset​(float offset)
    • setChromaticDispersion

      public void setChromaticDispersion​(com.badlogic.gdx.math.Vector2 dispersion)
    • setChromaticDispersion

      public void setChromaticDispersion​(float redCyan, float blueYellow)
    • setChromaticDispersionRC

      public void setChromaticDispersionRC​(float redCyan)
    • setChromaticDispersionBY

      public void setChromaticDispersionBY​(float blueYellow)
    • setTint

      public void setTint​(com.badlogic.gdx.graphics.Color color)
    • setTint

      public void setTint​(float r, float g, float b)
    • setDistortion

      public void setDistortion​(float distortion)
    • setZoom

      public void setZoom​(float zoom)
    • getRgbMode

      public CrtScreen.RgbMode getRgbMode()
    • getOffset

      public float getOffset()
    • getChromaticDispersion

      public com.badlogic.gdx.math.Vector2 getChromaticDispersion()
    • getZoom

      public float getZoom()
    • getTint

      public com.badlogic.gdx.graphics.Color getTint()
    • onBeforeRender

      protected void onBeforeRender()
      Description copied from class: Filter
      This method will get called just before a rendering operation occurs.
      Specified by:
      onBeforeRender in class Filter<CrtScreen>
    • rebind

      public void rebind()
      Description copied from class: Filter
      FIXME add comment
      Specified by:
      rebind in class Filter<CrtScreen>