Package gaiasky.render.system
Class ParticleGroupRenderSystem
java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.render.system.ImmediateRenderSystem
gaiasky.render.system.ParticleGroupRenderSystem
- All Implemented Interfaces:
IObserver
,IRenderSystem
-
Nested Class Summary
Nested classes/interfaces inherited from class gaiasky.render.system.ImmediateRenderSystem
ImmediateRenderSystem.MeshData
Nested 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, tempVerts
Fields inherited from class gaiasky.render.system.AbstractRenderSystem
alphas, aux, auxd, comp, POINT_UPDATE_FLAG, postRunnables, preRunnables, programs, rc
-
Constructor Summary
ConstructorDescriptionParticleGroupRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] shaders)
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.badlogic.gdx.graphics.VertexAttribute[]
protected void
protected void
void
Event notification call.void
renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
Methods inherited from class gaiasky.render.system.ImmediateRenderSystem
clearMeshData, clearMeshes, color, color, color, color, createMeshData, dispose, ensureTempVertsSize, vertex
Methods inherited from class gaiasky.render.system.AbstractRenderSystem
addDepthBufferUniforms, addEffectsUniforms, addGravWaveUniforms, addPostRunnables, addPreRunnables, addPreviousFrameUniforms, addRelativisticUniforms, addVRScale, getAlpha, getAlpha, getRenderGroup, getShaderProgram, render, resize, run, updateBatchSize
-
Constructor Details
-
ParticleGroupRenderSystem
public ParticleGroupRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] shaders)
-
-
Method Details
-
initShaderProgram
protected void initShaderProgram()- Specified by:
initShaderProgram
in classImmediateRenderSystem
-
initVertices
protected void initVertices()- Specified by:
initVertices
in classImmediateRenderSystem
-
renderStud
public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)- Specified by:
renderStud
in classAbstractRenderSystem
-
buildVertexAttributes
protected com.badlogic.gdx.graphics.VertexAttribute[] buildVertexAttributes() -
notify
Description copied from interface:IObserver
Event notification call.
-