Package gaia.cu9.ari.gaiaorbit.render
Interface ISGR
-
- All Superinterfaces:
com.badlogic.gdx.utils.Disposable
- All Known Implementing Classes:
SGR
,SGRCubemap
,SGRFov
,SGRStereoscopic
public interface ISGR extends com.badlogic.gdx.utils.Disposable
Interface that must be extended by all types of scene graph renderers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
render(SceneGraphRenderer sgr, ICamera camera, double t, int rw, int rh, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, IPostProcessor.PostProcessBean ppb)
Renders the scenevoid
resize(int w, int h)
Resizes the assets of this renderer to the given new size
-
-
-
Method Detail
-
render
void render(SceneGraphRenderer sgr, ICamera camera, double t, int rw, int rh, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, IPostProcessor.PostProcessBean ppb)
Renders the scene- Parameters:
sgr
- The scene graph renderer objectcamera
- The camera.t
- The time in seconds since the startrw
- The widthrh
- The heightfb
- The frame buffer, if anyppb
- The post processing bean
-
resize
void resize(int w, int h)
Resizes the assets of this renderer to the given new size- Parameters:
w
- New widthh
- New height
-
-