Package gaiasky.render.system
Class LightPositionUpdater
java.lang.Object
gaiasky.render.system.LightPositionUpdater
- All Implemented Interfaces:
IObserver
,AbstractRenderSystem.RenderSystemRunnable
public class LightPositionUpdater
extends Object
implements AbstractRenderSystem.RenderSystemRunnable, IObserver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat[]
initializeList
(float[] list, int size) void
Event notification call.void
reinitialize
(int nLights) void
run
(AbstractRenderSystem renderSystem, List<IRenderable> renderables, ICamera camera) void
setGlowTexture
(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) -
setGlowTexture
public void setGlowTexture(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
-
notify
Description copied from interface:IObserver
Event notification call.
-