Package gaiasky.render.system
Class LightPositionUpdater
java.lang.Object
gaiasky.render.system.LightPositionUpdater
- All Implemented Interfaces:
AbstractRenderSystem.RenderSystemRunnable
public class LightPositionUpdater
extends Object
implements AbstractRenderSystem.RenderSystemRunnable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat[]
initializeList
(float[] list, int size) void
reinitialize
(int nLights) void
run
(AbstractRenderSystem renderSystem, List<IRenderable> renderables, ICamera camera) void
setOcclusionTexture
(com.badlogic.gdx.graphics.Texture tex) Sets the occlusion texture to use for the glow effect
-
Constructor Details
-
LightPositionUpdater
public LightPositionUpdater()
-
-
Method Details
-
reinitialize
public void reinitialize(int nLights) -
initializeList
public float[] initializeList(float[] list, int size) -
setOcclusionTexture
public void setOcclusionTexture(com.badlogic.gdx.graphics.Texture tex) Sets the occlusion texture to use for the glow effect- Parameters:
tex
- The texture
-
run
- Specified by:
run
in interfaceAbstractRenderSystem.RenderSystemRunnable
-