Package gaiasky.render.system
Class MWModelRenderSystem
java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.render.system.ImmediateRenderSystem
gaiasky.render.system.MWModelRenderSystem
- All Implemented Interfaces:
IObserver
,IRenderSystem
public class MWModelRenderSystem extends ImmediateRenderSystem implements IObserver
-
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
Constructors Constructor Description MWModelRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] starShaders)
-
Method Summary
Modifier and Type Method Description protected com.badlogic.gdx.graphics.VertexAttribute[]
buildVertexAttributes()
void
dispose()
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)
Methods inherited from class gaiasky.render.system.ImmediateRenderSystem
clearMeshData, color, color, color, color, createMeshData, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MWModelRenderSystem
public MWModelRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] starShaders)
-
-
Method Details
-
initShaderProgram
protected void initShaderProgram()- Specified by:
initShaderProgram
in classImmediateRenderSystem
-
dispose
public void dispose()- Overrides:
dispose
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
-