Class ModelBatchRenderSystem
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
-
- gaia.cu9.ari.gaiaorbit.render.system.ModelBatchRenderSystem
-
- All Implemented Interfaces:
IRenderSystem
public class ModelBatchRenderSystem extends AbstractRenderSystem
Renders with a given model batch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelBatchRenderSystem.ModelRenderType
-
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.AbstractRenderSystem
alphas, aux, comp, POINT_UPDATE_FLAG, postRunnables, preRunnables, programs, rc
-
-
Constructor Summary
Constructors Constructor Description ModelBatchRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, IntModelBatch batch, ModelBatchRenderSystem.ModelRenderType type)
Creates a new model batch render component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
mustRender()
void
renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
addDepthBufferUniforms, addEffectsUniforms, addGravWaveUniforms, addPostRunnables, addPreRunnables, addRelativisticUniforms, getAlpha, getAlpha, getRenderGroup, getShaderProgram, render, resize, run, updateBatchSize
-
-
-
-
Constructor Detail
-
ModelBatchRenderSystem
public ModelBatchRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, IntModelBatch batch, ModelBatchRenderSystem.ModelRenderType type)
Creates a new model batch render component.- Parameters:
rg
- The render vgroup.alphas
- The alphas list.batch
- The model batch.type
- The model render type
-
-
Method Detail
-
renderStud
public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
- Specified by:
renderStud
in classAbstractRenderSystem
-
mustRender
protected boolean mustRender()
-
-