Interface IRenderMode

All Superinterfaces:
com.badlogic.gdx.utils.Disposable
All Known Implementing Classes:
RenderModeCubemapProjections, RenderModeMain, RenderModeOpenXR, RenderModeStereoscopic

public interface IRenderMode extends com.badlogic.gdx.utils.Disposable
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
     
    com.badlogic.gdx.graphics.glutils.FrameBuffer
     
    void
    render(ISceneRenderer sgr, ICamera camera, double t, int rw, int rh, int tw, int th, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, IPostProcessor.PostProcessBean ppb)
    Renders the scene.
    void
    resize(int rw, int rh, int tw, int th)
    Resizes the assets of this renderer to the given new size

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

    dispose
  • Method Details Link icon

    • render Link icon

      void render(ISceneRenderer sgr, ICamera camera, double t, int rw, int rh, int tw, int th, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, IPostProcessor.PostProcessBean ppb)
      Renders the scene.
      Parameters:
      sgr - The scene 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, usually of the screen.
      th - The final target height, usually of the screen.
      fb - The frame buffer, if any.
      ppb - The post process bean.
    • resize Link icon

      void resize(int rw, int rh, int tw, int th)
      Resizes the assets of this renderer to the given new size
      Parameters:
      rw - New render buffer width.
      rh - New render buffer height.
      tw - New target (screen) width.
      th - New target (screen) height.
    • getRenderingContext Link icon

      RenderingContext getRenderingContext()
    • getResultBuffer Link icon

      com.badlogic.gdx.graphics.glutils.FrameBuffer getResultBuffer()