Package gaiasky.render.system
Class FontRenderSystem
- java.lang.Object
-
- gaiasky.render.system.AbstractRenderSystem
-
- gaiasky.render.system.FontRenderSystem
-
- All Implemented Interfaces:
IRenderSystem
public class FontRenderSystem extends AbstractRenderSystem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gaiasky.render.system.AbstractRenderSystem
AbstractRenderSystem.RenderSystemRunnable
-
-
Field Summary
Fields Modifier and Type Field Description BitmapFont
font2d
BitmapFont
fontDistanceField
BitmapFont
fontTitles
-
Fields inherited from class gaiasky.render.system.AbstractRenderSystem
alphas, aux, auxd, POINT_UPDATE_FLAG, postRunnables, preRunnables, programs, rc
-
-
Constructor Summary
Constructors Constructor Description FontRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtSpriteBatch batch, ExtShaderProgram program)
FontRenderSystem(SceneGraphRenderer.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 void
renderStud(java.util.List<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, 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(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtSpriteBatch batch, ExtShaderProgram program)
-
FontRenderSystem
public FontRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtSpriteBatch batch, ExtShaderProgram program, BitmapFont fontDistanceField, BitmapFont font2d, BitmapFont fontTitles)
-
-
Method Detail
-
renderStud
public void renderStud(java.util.List<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
-
-