Class StarPointRenderSystem
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
-
- gaia.cu9.ari.gaiaorbit.render.system.ImmediateRenderSystem
-
- gaia.cu9.ari.gaiaorbit.render.system.StarPointRenderSystem
-
- All Implemented Interfaces:
IObserver
,IRenderSystem
public class StarPointRenderSystem extends ImmediateRenderSystem implements IObserver
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gaia.cu9.ari.gaiaorbit.render.system.ImmediateRenderSystem
ImmediateRenderSystem.MeshData
-
Nested classes/interfaces inherited from class gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
AbstractRenderSystem.RenderSystemRunnable
-
-
Field Summary
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.render.system.ImmediateRenderSystem
curr, logger, meshes, meshIdx, tempVerts
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
alphas, comp, POINT_UPDATE_FLAG, postRunnables, preRunnables, programs, rc
-
-
Constructor Summary
Constructors Constructor Description StarPointRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtShaderProgram[] shaders, ComponentTypes.ComponentType ct)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.badlogic.gdx.graphics.VertexAttribute[]
buildVertexAttributes()
protected void
initShaderProgram()
protected void
initVertices()
void
notify(Events event, java.lang.Object... data)
void
renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
void
resize(int w, int h)
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.render.system.ImmediateRenderSystem
clearMeshData, color, color, color, color, createMeshData, dispose, ensureTempVertsSize, vertex
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
addDepthBufferUniforms, addEffectsUniforms, addGravWaveUniforms, addPostRunnables, addPreRunnables, addRelativisticUniforms, getAlpha, getAlpha, getRenderGroup, getShaderProgram, render, run, updateBatchSize
-
-
-
-
Constructor Detail
-
StarPointRenderSystem
public StarPointRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtShaderProgram[] shaders, ComponentTypes.ComponentType ct)
-
-
Method Detail
-
initShaderProgram
protected void initShaderProgram()
- Specified by:
initShaderProgram
in classImmediateRenderSystem
-
initVertices
protected void initVertices()
- Specified by:
initVertices
in classImmediateRenderSystem
-
buildVertexAttributes
protected com.badlogic.gdx.graphics.VertexAttribute[] buildVertexAttributes()
-
renderStud
public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
- Specified by:
renderStud
in classAbstractRenderSystem
-
notify
public void notify(Events event, java.lang.Object... data)
-
resize
public void resize(int w, int h)
- Specified by:
resize
in interfaceIRenderSystem
- Overrides:
resize
in classAbstractRenderSystem
-
-