Class RenderModeAbstract

java.lang.Object
gaiasky.render.process.RenderModeAbstract
Direct Known Subclasses:
RenderModeCubemap, RenderModeFov, RenderModeMain, RenderModeOpenVR, RenderModeStereoscopic

public class RenderModeAbstract extends Object
Abstract implementation with some useful methods for all SGRs.
  • Field Details

    • resultBuffer

      protected com.badlogic.gdx.graphics.glutils.FrameBuffer resultBuffer
    • rc

      protected RenderingContext rc
    • extendViewport

      protected com.badlogic.gdx.utils.viewport.Viewport extendViewport
      Viewport to use in normal mode
  • Constructor Details

    • RenderModeAbstract

      public RenderModeAbstract()
  • Method Details

    • postProcessCapture

      protected boolean postProcessCapture(IPostProcessor.PostProcessBean ppb, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, int rw, int rh)
    • postProcessRender

      protected void postProcessRender(IPostProcessor.PostProcessBean ppb, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, boolean postproc, ICamera camera, int rw, int rh)
    • getRenderingContext

      public RenderingContext getRenderingContext()
    • getResultBuffer

      public com.badlogic.gdx.graphics.glutils.FrameBuffer getResultBuffer()
    • sendOrientationUpdate

      protected void sendOrientationUpdate(com.badlogic.gdx.graphics.PerspectiveCamera cam, int w, int h)