public class LightSet extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
lazyLightInit |
protected List<Light> |
lights |
Constructor and Description |
---|
LightSet() |
LightSet(List<Light> lights) |
Modifier and Type | Method and Description |
---|---|
void |
add(Light light) |
void |
apply(com.jogamp.opengl.GL gl,
Coord3d scale) |
void |
disable(com.jogamp.opengl.GL gl) |
void |
enable(com.jogamp.opengl.GL gl,
boolean onlyIfAtLeastOneLight) |
void |
enableLightIfThereAreLights(com.jogamp.opengl.GL gl) |
Light |
get(int id) |
void |
init(com.jogamp.opengl.GL gl) |
protected void |
initLight(com.jogamp.opengl.GL gl) |
protected void |
queryLazyLightInit() |
void |
remove(Light light) |
public void init(com.jogamp.opengl.GL gl)
public void apply(com.jogamp.opengl.GL gl, Coord3d scale)
public void enableLightIfThereAreLights(com.jogamp.opengl.GL gl)
public void enable(com.jogamp.opengl.GL gl, boolean onlyIfAtLeastOneLight)
public void disable(com.jogamp.opengl.GL gl)
public Light get(int id)
public void add(Light light)
public void remove(Light light)
protected void queryLazyLightInit()
protected void initLight(com.jogamp.opengl.GL gl)
Copyright © 2016. All rights reserved.