Package gaiasky.render
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 TypeMethodDescriptionvoid
doneLoading(com.badlogic.gdx.assets.AssetManager manager)
Actually initializes all the clockwork of this renderer using the assets in the given managervoid
initialize(com.badlogic.gdx.assets.AssetManager manager)
Initializes the renderer, sending all the necessary assets to the manager for loadingvoid
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 sceneMethods 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 usedt
- The delta time computed in the update method in secondsrw
- The width of the render bufferrh
- The height of the render buffertw
- The final target widthth
- The final target heightfb
- The frame buffer to write to, if anyppb
- 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
-