Class BillboardSpriteRenderSystem
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.render.system.AbstractRenderSystem
-
- gaia.cu9.ari.gaiaorbit.render.system.BillboardSpriteRenderSystem
-
- All Implemented Interfaces:
IRenderSystem
public class BillboardSpriteRenderSystem 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 BillboardSpriteRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, int ctIndex)
Creates a new billboard quad render componentBillboardSpriteRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, 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)
-
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
-
BillboardSpriteRenderSystem
public BillboardSpriteRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, int ctIndex, float w, float h)
-
BillboardSpriteRenderSystem
public BillboardSpriteRenderSystem(SceneGraphNode.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, int ctIndex)
Creates a new billboard quad render component- Parameters:
rg
- The render vgroupalphas
- The alphas listprograms
- The shader programs to render the quad withctIndex
- The component type index
-
-
Method Detail
-
renderStud
public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
- Specified by:
renderStud
in classAbstractRenderSystem
-
-