Package gaiasky.render
Class SGRAbstract
- java.lang.Object
-
- gaiasky.render.SGRAbstract
-
- Direct Known Subclasses:
SGR,SGRCubemap,SGRFov,SGROpenVR,SGRStereoscopic
public class SGRAbstract extends java.lang.ObjectAbstract implementation with some useful methods for all SGRs.
-
-
Field Summary
Fields Modifier and Type Field Description protected com.badlogic.gdx.utils.viewport.ViewportextendViewportViewport to use in normal modeprotected RenderingContextrcprotected com.badlogic.gdx.graphics.glutils.FrameBufferresultBuffer
-
Constructor Summary
Constructors Constructor Description SGRAbstract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RenderingContextgetRenderingContext()com.badlogic.gdx.graphics.glutils.FrameBuffergetResultBuffer()protected booleanpostprocessCapture(IPostProcessor.PostProcessBean ppb, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, int rw, int rh)protected voidpostprocessRender(IPostProcessor.PostProcessBean ppb, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, boolean postproc, ICamera camera, int rw, int rh)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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()
-
-