Package gaiasky.render.system
Class ModelBatchRenderSystem
- java.lang.Object
-
- gaiasky.render.system.AbstractRenderSystem
-
- gaiasky.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 gaiasky.render.system.AbstractRenderSystem
AbstractRenderSystem.RenderSystemRunnable
-
-
Field Summary
-
Fields inherited from class gaiasky.render.system.AbstractRenderSystem
alphas, aux, auxd, 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(java.util.List<IRenderable> renderables, ICamera camera, double t)
-
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 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 group.alphas
- The alphas list.batch
- The model batch.type
- The model render type
-
-
Method Detail
-
renderStud
public void renderStud(java.util.List<IRenderable> renderables, ICamera camera, double t)
- Specified by:
renderStud
in classAbstractRenderSystem
-
mustRender
protected boolean mustRender()
-
-