Package gaiasky.render
Class RenderingContext
- java.lang.Object
-
- gaiasky.render.RenderingContext
-
public class RenderingContext extends java.lang.ObjectHolds some context information useful when rendering.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRenderingContext.CubemapSide
-
Field Summary
Fields Modifier and Type Field Description RenderingContext.CubemapSidecubemapSideSide of the cubemap, if anycom.badlogic.gdx.graphics.glutils.FrameBufferfbIn case this is not null, we are using the screenshot or frame output feature.IPostProcessor.PostProcessBeanppbThe post process bean.floatscaleFactorScale factor, the ratio between the diagonal of HD resolution (1280x720) and the current resolutionVector3dvroffsetVR position offset
-
Constructor Summary
Constructors Constructor Description RenderingContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inth()Gets the heightbooleanisCubemap()voidset(int w, int h)Sets the width and heightintw()Gets the width
-
-
-
Field Detail
-
ppb
public IPostProcessor.PostProcessBean ppb
The post process bean. It may have no effects enabled.
-
fb
public com.badlogic.gdx.graphics.glutils.FrameBuffer fb
In case this is not null, we are using the screenshot or frame output feature. This is the renderToFile frame buffer.
-
vroffset
public Vector3d vroffset
VR position offset
-
scaleFactor
public float scaleFactor
Scale factor, the ratio between the diagonal of HD resolution (1280x720) and the current resolution
-
cubemapSide
public RenderingContext.CubemapSide cubemapSide
Side of the cubemap, if any
-
-