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(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(java.util.List<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 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 groupalphas
- The alphas listprograms
- The shader programs to render the quad withctIndex
- The component type index
-
-
Method Detail
-
renderStud
public void renderStud(java.util.List<IRenderable> renderables, ICamera camera, double t)
- Specified by:
renderStud
in classAbstractRenderSystem
-
-