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

    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, int tw, int th, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, IPostProcessor.PostProcessBean ppb)
    Renders the scene

    Methods inherited from interface com.badlogic.gdx.utils.Disposable

    dispose
  • Method Details

    • render

      void render(ICamera camera, double dt, int rw, int rh, int tw, int th, 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 width of the render buffer
      rh - The height of the render buffer
      tw - The final target width
      th - The final target 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