Interface IProcessRenderer

  • All Superinterfaces:
    com.badlogic.gdx.utils.Disposable
    All Known Implementing Classes:
    SceneGraphRenderer

    public interface IProcessRenderer
    extends com.badlogic.gdx.utils.Disposable
    Interface for component renderers.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void doneLoading​(com.badlogic.gdx.assets.AssetManager manager)
      Actually initializes all the clockwork of this renderer using the assets in the given manager
      void initialize​(com.badlogic.gdx.assets.AssetManager manager)
      Initializes the renderer, sending all the necessary assets to the manager for loading
      void render​(ICamera camera, double dt, int rw, int rh, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, IPostProcessor.PostProcessBean ppb)
      Renders the scene.
      • Methods inherited from interface com.badlogic.gdx.utils.Disposable

        dispose
    • Method Detail

      • render

        void render​(ICamera camera,
                    double dt,
                    int rw,
                    int rh,
                    com.badlogic.gdx.graphics.glutils.FrameBuffer fb,
                    IPostProcessor.PostProcessBean ppb)
        Renders the scene.
        Parameters:
        camera - The camera to use.
        dt - The delta time computed in the update method in seconds.
        rw - The render width.
        rh - The render height.
        fb - The frame buffer to write to, if any.
        ppb - The post process bean.
      • initialize

        void initialize​(com.badlogic.gdx.assets.AssetManager manager)
        Initializes the renderer, sending all the necessary assets to the manager for loading
        Parameters:
        manager - The asset manager
      • doneLoading

        void doneLoading​(com.badlogic.gdx.assets.AssetManager manager)
        Actually initializes all the clockwork of this renderer using the assets in the given manager
        Parameters:
        manager - The asset manager