Class MainPostProcessor

java.lang.Object
gaiasky.render.MainPostProcessor
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, IObserver, IPostProcessor

public class MainPostProcessor extends Object implements IPostProcessor, IObserver
Centralized repository for all post-processing effects in Gaia Sky.
  • Constructor Details

    • MainPostProcessor

      public MainPostProcessor(Scene scene)
  • Method Details

    • initialize

      public void initialize(com.badlogic.gdx.assets.AssetManager manager)
      Specified by:
      initialize in interface IPostProcessor
    • doneLoading

      public void doneLoading(com.badlogic.gdx.assets.AssetManager manager)
      Specified by:
      doneLoading in interface IPostProcessor
    • initializeOffscreenPostProcessors

      public void initializeOffscreenPostProcessors()
    • getPostProcessBean

      Specified by:
      getPostProcessBean in interface IPostProcessor
    • resize

      public void resize(int width, int height, int targetWidth, int targetHeight)
      Specified by:
      resize in interface IPostProcessor
    • resizeImmediate

      public void resizeImmediate(int width, int height, int targetWidth, int targetHeight)
      Specified by:
      resizeImmediate in interface IPostProcessor
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.
    • isLightScatterEnabled

      public boolean isLightScatterEnabled()
      Specified by:
      isLightScatterEnabled in interface IPostProcessor