Interface ISGR

  • All Superinterfaces:
    All Known Implementing Classes:
    SGR, SGRCubemapProjections, SGRFov, SGROpenVR, SGRStereoscopic

    public interface ISGR
    extends com.badlogic.gdx.utils.Disposable
    Interface that must be extended by all types of scene graph renderers
    • Method Detail

      • render

        void render​(SceneGraphRenderer sgr,
                    ICamera camera,
                    double t,
                    int rw,
                    int rh,
                    int tw,
                    int th,
                    IPostProcessor.PostProcessBean ppb)
        Renders the scene
        sgr - The scene graph renderer object
        camera - The camera.
        t - The time in seconds since the start
        rw - The width of the buffer
        rh - The height of the buffer
        tw - The final target width
        th - The final target height
        fb - The frame buffer, if any
        ppb - The post processing bean
      • resize

        void resize​(int w,
                    int h)
        Resizes the assets of this renderer to the given new size
        w - New width
        h - New height
      • getResultBuffer getResultBuffer()