Package gaiasky.render.system
Class BillboardSpriteRenderSystem
java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.render.system.BillboardSpriteRenderSystem
- All Implemented Interfaces:
IRenderSystem
public class BillboardSpriteRenderSystem extends AbstractRenderSystem
-
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, aux, auxd, comp, POINT_UPDATE_FLAG, postRunnables, preRunnables, programs, rc
-
Constructor Summary
Constructors Constructor Description BillboardSpriteRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, int ctIndex)
Creates a new billboard quad render componentBillboardSpriteRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, int ctIndex, float w, float h)
-
Method Summary
Modifier and Type Method Description 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, getAlpha, getAlpha, getRenderGroup, getShaderProgram, render, resize, run, updateBatchSize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BillboardSpriteRenderSystem
public BillboardSpriteRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, int ctIndex, float w, float h) -
BillboardSpriteRenderSystem
public BillboardSpriteRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, int ctIndex)Creates a new billboard quad render component- Parameters:
rg
- The render groupalphas
- The alphas listprograms
- The shader programs to render the quad withctIndex
- The component type index
-
-
Method Details
-
renderStud
public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)- Specified by:
renderStud
in classAbstractRenderSystem
-