Package gaiasky.render.system
Class StarGroupRenderSystem
java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.render.system.ImmediateRenderSystem
gaiasky.render.system.StarGroupRenderSystem
- All Implemented Interfaces:
IObserver,IRenderSystem
public class StarGroupRenderSystem extends ImmediateRenderSystem implements IObserver
-
Nested Class Summary
Nested classes/interfaces inherited from class gaiasky.render.system.ImmediateRenderSystem
ImmediateRenderSystem.MeshDataNested classes/interfaces inherited from class gaiasky.render.system.AbstractRenderSystem
AbstractRenderSystem.RenderSystemRunnable -
Field Summary
Fields inherited from class gaiasky.render.system.ImmediateRenderSystem
curr, logger, meshes, meshIdx, tempVertsFields inherited from class gaiasky.render.system.AbstractRenderSystem
alphas, aux, auxd, comp, POINT_UPDATE_FLAG, postRunnables, preRunnables, programs, rc -
Constructor Summary
Constructors Constructor Description StarGroupRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] shaders) -
Method Summary
Modifier and Type Method Description protected com.badlogic.gdx.graphics.VertexAttribute[]buildVertexAttributes()protected voidinitShaderProgram()protected voidinitVertices()voidnotify(Events event, java.lang.Object... data)voidrenderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)voidsetStarTexture(java.lang.String starTexture)Methods inherited from class gaiasky.render.system.ImmediateRenderSystem
clearMeshData, color, color, color, color, createMeshData, dispose, ensureTempVertsSize, vertexMethods inherited from class gaiasky.render.system.AbstractRenderSystem
addDepthBufferUniforms, addEffectsUniforms, addGravWaveUniforms, addPostRunnables, addPreRunnables, addPreviousFrameUniforms, addRelativisticUniforms, addVRScale, getAlpha, getAlpha, getRenderGroup, getShaderProgram, render, resize, run, updateBatchSizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StarGroupRenderSystem
public StarGroupRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] shaders)
-
-
Method Details
-
setStarTexture
public void setStarTexture(java.lang.String starTexture) -
initShaderProgram
protected void initShaderProgram()- Specified by:
initShaderProgramin classImmediateRenderSystem
-
initVertices
protected void initVertices()- Specified by:
initVerticesin classImmediateRenderSystem
-
renderStud
public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)- Specified by:
renderStudin classAbstractRenderSystem
-
buildVertexAttributes
protected com.badlogic.gdx.graphics.VertexAttribute[] buildVertexAttributes() -
notify
-