Package gaiasky.render.process
Class RenderModeAbstract
java.lang.Object
gaiasky.render.process.RenderModeAbstract
- Direct Known Subclasses:
RenderModeCubemap
,RenderModeMain
,RenderModeOpenXR
,RenderModeStereoscopic
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.badlogic.gdx.utils.viewport.Viewport
Viewport to use in normal modeprotected RenderingContext
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.graphics.glutils.FrameBuffer
protected void
postProcessCancel
(IPostProcessor.PostProcessBean ppb, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, boolean postproc) protected boolean
postProcessCapture
(IPostProcessor.PostProcessBean ppb, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, int rw, int rh, BooleanSupplier captureFunction) protected void
postProcessRender
(IPostProcessor.PostProcessBean ppb, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, boolean postproc, ICamera camera, int rw, int rh) protected void
sendOrientationUpdate
(com.badlogic.gdx.graphics.PerspectiveCamera cam, int w, int h)
-
Field Details
-
resultBuffer
protected com.badlogic.gdx.graphics.glutils.FrameBuffer resultBuffer -
rc
-
extendViewport
protected com.badlogic.gdx.utils.viewport.Viewport extendViewportViewport 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, BooleanSupplier captureFunction) -
postProcessRender
protected void postProcessRender(IPostProcessor.PostProcessBean ppb, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, boolean postproc, ICamera camera, int rw, int rh) -
postProcessCancel
protected void postProcessCancel(IPostProcessor.PostProcessBean ppb, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, boolean postproc) -
getRenderingContext
-
getResultBuffer
public com.badlogic.gdx.graphics.glutils.FrameBuffer getResultBuffer() -
sendOrientationUpdate
protected void sendOrientationUpdate(com.badlogic.gdx.graphics.PerspectiveCamera cam, int w, int h)
-