com.threerings.opengl.renderer
Class Renderer.LightRecord
java.lang.Object
com.threerings.opengl.renderer.Light
com.threerings.opengl.renderer.Renderer.LightRecord
- Enclosing class:
- Renderer
protected static class Renderer.LightRecord
- extends Light
Represents the current state of a single light.
| Nested classes/interfaces inherited from class com.threerings.opengl.renderer.Light |
Light.Type |
|
Field Summary |
Boolean |
enabled
Whether or not this light is currently enabled. |
Light |
light
A reference to the last light set. |
| Fields inherited from class com.threerings.opengl.renderer.Light |
ambient, castsShadows, constantAttenuation, diffuse, dirty, linearAttenuation, position, quadraticAttenuation, specular, spotCutoff, spotDirection, spotExponent |
|
Method Summary |
void |
invalidate()
Invalidates this record, forcing it to be reapplied. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enabled
public Boolean enabled
- Whether or not this light is currently enabled.
light
public Light light
- A reference to the last light set.
Renderer.LightRecord
public Renderer.LightRecord(int idx)
- Creates a new light record.
invalidate
public void invalidate()
- Invalidates this record, forcing it to be reapplied.