Class BillboardStarRenderSystem
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
-
- gaia.cu9.ari.gaiaorbit.render.system.BillboardStarRenderSystem
-
- All Implemented Interfaces:
IRenderSystem
public class BillboardStarRenderSystem extends AbstractRenderSystem
-
-
Nested Class Summary
-
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 BillboardStarRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtShaderProgram[] shaderPrograms, java.lang.String tex0, int ctIndex)
Creates a new billboard quad render component.BillboardStarRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, java.lang.String tex0, int ctIndex, float w, float h)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
void
setTexture0(java.lang.String tex0)
-
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
-
BillboardStarRenderSystem
public BillboardStarRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, java.lang.String tex0, int ctIndex, float w, float h)
-
BillboardStarRenderSystem
public BillboardStarRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtShaderProgram[] shaderPrograms, java.lang.String tex0, int ctIndex)
Creates a new billboard quad render component.- Parameters:
rg
- The render vgroup.alphas
- The alphas list.shaderPrograms
- The shader programs to render the quad with.
-
-
Method Detail
-
setTexture0
public void setTexture0(java.lang.String tex0)
-
renderStud
public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
- Specified by:
renderStud
in classAbstractRenderSystem
-
-