Package gaiasky.render.system
Class ModelBatchRenderSystem
java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.render.system.ModelBatchRenderSystem
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,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 IntModelBatch
protected ComponentTypes
protected ComponentTypes
protected ModelBatchRenderSystem.ModelRenderType
Fields inherited from class gaiasky.render.system.AbstractRenderSystem
alphas, aux, auxd, comp, 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 boolean
void
renderStud
(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, dispose, 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:
renderStud
in classAbstractRenderSystem
-
mustRender
protected boolean mustRender()
-