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 BitmapFontfont2dBitmapFontfontDistanceFieldBitmapFontfontTitlesFields 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
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 gaiasky.render.system.AbstractRenderSystem
addDepthBufferUniforms, addEffectsUniforms, addGravWaveUniforms, addPostRunnables, addPreRunnables, addPreviousFrameUniforms, addRelativisticUniforms, addVRScale, getAlpha, getAlpha, getRenderGroup, getShaderProgram, render, runMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
fontDistanceField
-
font2d
-
fontTitles
-
-
Constructor Details
-
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 Details
-
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
-