Package gaiasky.render.system
Class ModelBatchRenderSystem
java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.render.system.ModelBatchRenderSystem
- All Implemented Interfaces:
IRenderSystem
Renders with a given model batch.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class gaiasky.render.system.AbstractRenderSystem
AbstractRenderSystem.RenderSystemRunnable -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IntModelBatchprotected ComponentTypesprotected ComponentTypesprotected ModelBatchRenderSystem.ModelRenderTypeFields inherited from class gaiasky.render.system.AbstractRenderSystem
alphas, aux, auxd, comp, POINT_UPDATE_FLAG, postRunnables, preRunnables, programs, rc -
Constructor Summary
ConstructorsConstructorDescriptionModelBatchRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, IntModelBatch batch)Creates a new model batch render component. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidrenderStud(com.badlogic.gdx.utils.Array<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
-
Field Details
-
ctAtm
-
ctClouds
-
batch
-
type
-
-
Constructor Details
-
ModelBatchRenderSystem
public ModelBatchRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, IntModelBatch batch)Creates a new model batch render component.- Parameters:
rg- The render group.alphas- The alphas list.batch- The model batch.
-
-
Method Details
-
renderStud
public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)- Specified by:
renderStudin classAbstractRenderSystem
-
mustRender
protected boolean mustRender()
-