Package gaiasky.render.system
Class BillboardSpriteRenderSystem
java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.render.system.BillboardSpriteRenderSystem
- All Implemented Interfaces:
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, aux, auxd, comp, POINT_UPDATE_FLAG, postRunnables, preRunnables, programs, rc
-
Constructor Summary
ConstructorDescriptionBillboardSpriteRenderSystem(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 TypeMethodDescriptionvoid
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
-
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
-