Class FontRenderSystem
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
-
- gaia.cu9.ari.gaiaorbit.render.system.FontRenderSystem
-
- All Implemented Interfaces:
IRenderSystem
public class FontRenderSystem extends AbstractRenderSystem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
AbstractRenderSystem.RenderSystemRunnable
-
-
Field Summary
Fields Modifier and Type Field Description BitmapFontfont2dBitmapFontfontDistanceFieldBitmapFontfontTitles-
Fields inherited from class gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
alphas, aux, POINT_UPDATE_FLAG, postRunnables, preRunnables, programs, rc
-
-
Constructor Summary
Constructors Constructor Description FontRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtSpriteBatch batch, ExtShaderProgram program)FontRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtSpriteBatch batch, ExtShaderProgram program, BitmapFont fontDistanceField, BitmapFont font2d, BitmapFont fontTitles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrenderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)voidresize(int w, int h)voidupdateBatchSize(int w, int h)-
Methods inherited from class gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
addDepthBufferUniforms, addEffectsUniforms, addGravWaveUniforms, addPostRunnables, addPreRunnables, addRelativisticUniforms, getAlpha, getAlpha, getRenderGroup, getShaderProgram, render, run
-
-
-
-
Field Detail
-
fontDistanceField
public BitmapFont fontDistanceField
-
font2d
public BitmapFont font2d
-
fontTitles
public BitmapFont fontTitles
-
-
Constructor Detail
-
FontRenderSystem
public FontRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtSpriteBatch batch, ExtShaderProgram program)
-
FontRenderSystem
public FontRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtSpriteBatch batch, ExtShaderProgram program, BitmapFont fontDistanceField, BitmapFont font2d, BitmapFont fontTitles)
-
-
Method Detail
-
renderStud
public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
- Specified by:
renderStudin classAbstractRenderSystem
-
resize
public void resize(int w, int h)- Specified by:
resizein interfaceIRenderSystem- Overrides:
resizein classAbstractRenderSystem
-
updateBatchSize
public void updateBatchSize(int w, int h)- Specified by:
updateBatchSizein interfaceIRenderSystem- Overrides:
updateBatchSizein classAbstractRenderSystem
-
-