public class GLLightManager
extends java.lang.Object
Constructor and Description |
---|
GLLightManager() |
Modifier and Type | Method and Description |
---|---|
void |
addLight(GLLight light) |
void |
clearLights() |
GLLight |
createLight(float[] position,
float[] ambient,
float[] diffuse,
float[] specular) |
GLLight |
getLight(int id) |
void |
init(javax.media.opengl.GL2 gl) |
int |
maxLights() |
int |
numLights() |
void |
removeLight(GLLight light) |
public void init(javax.media.opengl.GL2 gl)
public GLLight createLight(float[] position, float[] ambient, float[] diffuse, float[] specular)
public void addLight(GLLight light)
public void removeLight(GLLight light)
public GLLight getLight(int id)
public int numLights()
public int maxLights()
public void clearLights()