com.threerings.opengl.renderer.config
Class LightStateConfig.Enabled

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.LightStateConfig
          extended by com.threerings.opengl.renderer.config.LightStateConfig.Enabled
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
LightStateConfig

public static class LightStateConfig.Enabled
extends LightStateConfig

Enables lighting.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.renderer.config.LightStateConfig
LightStateConfig.Disabled, LightStateConfig.Enabled
 
Field Summary
 Color4f globalAmbient
          The global ambient light intensity.
 LightConfig[] lights
          The individual light configurations.
 
Constructor Summary
LightStateConfig.Enabled()
           
 
Method Summary
 LightState getState(GlContext ctx, Scope scope, List<Updater> updaters)
          Returns the corresponding light state.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

globalAmbient

@Editable
public Color4f globalAmbient
The global ambient light intensity.


lights

@Editable
public LightConfig[] lights
The individual light configurations.

Constructor Detail

LightStateConfig.Enabled

public LightStateConfig.Enabled()
Method Detail

getState

public LightState getState(GlContext ctx,
                           Scope scope,
                           List<Updater> updaters)
Description copied from class: LightStateConfig
Returns the corresponding light state.

Specified by:
getState in class LightStateConfig


Copyright © 2011. All Rights Reserved.