Package gaiasky.render.system
Class ShapeRenderSystem
java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.render.system.ShapeRenderSystem
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,IRenderSystem
System that renders shapes through a
ShapeRenderer
-
Nested Class Summary
Nested classes/interfaces inherited from class gaiasky.render.system.AbstractRenderSystem
AbstractRenderSystem.RenderSystemRunnable
-
Field Summary
Fields inherited from class gaiasky.render.system.AbstractRenderSystem
alphas, aux, auxd, comp, postRunnables, preRunnables, programs, rc
-
Constructor Summary
ConstructorDescriptionShapeRenderSystem
(SceneGraphRenderer.RenderGroup rg, float[] alphas, com.badlogic.gdx.graphics.glutils.ShaderProgram spriteShader) -
Method Summary
Modifier and TypeMethodDescriptionvoid
renderStud
(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t) void
resize
(int w, int h) void
updateBatchSize
(int w, int h) Methods inherited from class gaiasky.render.system.AbstractRenderSystem
addDepthBufferUniforms, addEffectsUniforms, addGravWaveUniforms, addPostRunnables, addPreRunnables, addPreviousFrameUniforms, addRelativisticUniforms, addVRScale, dispose, getAlpha, getAlpha, getRenderGroup, getShaderProgram, render, run
-
Constructor Details
-
ShapeRenderSystem
public ShapeRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, com.badlogic.gdx.graphics.glutils.ShaderProgram spriteShader)
-
-
Method Details
-
renderStud
public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t) - Specified by:
renderStud
in classAbstractRenderSystem
-
resize
public void resize(int w, int h) - Specified by:
resize
in interfaceIRenderSystem
- Overrides:
resize
in classAbstractRenderSystem
-
updateBatchSize
public void updateBatchSize(int w, int h) - Specified by:
updateBatchSize
in interfaceIRenderSystem
- Overrides:
updateBatchSize
in classAbstractRenderSystem
-