Package gaiasky.scene.system.render.draw
Class ModelRenderer
java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.scene.system.render.draw.ModelRenderer
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,IRenderSystem
,Comparable<IRenderSystem>
-
Nested Class Summary
Nested classes/interfaces inherited from class gaiasky.render.system.AbstractRenderSystem
AbstractRenderSystem.RenderSystemRunnable
-
Field Summary
Fields inherited from class gaiasky.render.system.AbstractRenderSystem
alphas, auxd, auxf, comp, postRunners, preRunners, programs, rc, sceneRenderer
-
Constructor Summary
ConstructorDescriptionModelRenderer
(SceneRenderer sceneRenderer, RenderGroup rg, float[] alphas, IntModelBatch batch) Creates a new model batch render component. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
void
renderStud
(List<IRenderable> renderables, ICamera camera, double t) Methods inherited from class gaiasky.render.system.AbstractRenderSystem
addCameraUpCubemapMode, addDepthBufferUniforms, addEffectsUniforms, addGravWaveUniforms, addPostRunnables, addPreRunnables, addPreviousFrameUniforms, addRelativisticUniforms, addVRScale, compareTo, dispose, getAlpha, getAlpha, getAlpha, getRenderGroup, getShaderProgram, getShaderProgram, initShaderProgram, render, resetFlags, resize, run, updateBatchSize
-
Field Details
-
batch
-
-
Constructor Details
-
ModelRenderer
public ModelRenderer(SceneRenderer sceneRenderer, 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
- Specified by:
renderStud
in classAbstractRenderSystem
-
mustRender
protected boolean mustRender()
-