Package gaiasky.render.system
Class BillboardStarRenderSystem
java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.render.system.BillboardStarRenderSystem
- All Implemented Interfaces:
IObserver,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
ConstructorsConstructorDescriptionBillboardStarRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] shaderPrograms, String tex0, int ctIndex)Creates a new billboard quad render component.BillboardStarRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, String tex0, int ctIndex, float w, float h) -
Method Summary
Modifier and TypeMethodDescriptionvoidEvent notification call.voidrenderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)voidsetStarTexture(String tex0)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
-
BillboardStarRenderSystem
public BillboardStarRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, String tex0, int ctIndex, float w, float h) -
BillboardStarRenderSystem
public BillboardStarRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] shaderPrograms, String tex0, int ctIndex)Creates a new billboard quad render component.- Parameters:
rg- The render group.alphas- The alphas list.shaderPrograms- The shader programs to render the quad with.
-
-
Method Details
-
setStarTexture
-
renderStud
public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)- Specified by:
renderStudin classAbstractRenderSystem
-
notify
Description copied from interface:IObserverEvent notification call.
-