com.jme.scene.state.jogl.records
Class LightStateRecord

java.lang.Object
  extended by com.jme.scene.state.StateRecord
      extended by com.jme.scene.state.jogl.records.LightStateRecord

public class LightStateRecord
extends StateRecord


Field Summary
 ColorRGBA globalAmbient
           
 java.nio.FloatBuffer lightBuffer
           
 
Fields inherited from class com.jme.scene.state.StateRecord
valid
 
Constructor Summary
LightStateRecord()
           
 
Method Summary
 int getBackLightMask()
           
 int getLightMask()
           
 LightRecord getLightRecord(int index)
           
 void invalidate()
          Invalidate this record - iow, we don't trust this record's information about the opengl state machine.
 boolean isEnabled()
           
 boolean isLocalViewer()
           
 boolean isSeparateSpecular()
           
 boolean isTwoSidedOn()
           
 void setBackLightMask(int backLightMask)
           
 void setEnabled(boolean enabled)
           
 void setLightMask(int lightMask)
           
 void setLightRecord(LightRecord lr, int index)
           
 void setLocalViewer(boolean localViewer)
           
 void setSeparateSpecular(boolean seperateSpecular)
           
 void setTwoSidedOn(boolean twoSidedOn)
           
 void validate()
          Validate this record - iow, we trust this record's information about the opengl state machine.
 
Methods inherited from class com.jme.scene.state.StateRecord
isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

globalAmbient

public ColorRGBA globalAmbient

lightBuffer

public java.nio.FloatBuffer lightBuffer
Constructor Detail

LightStateRecord

public LightStateRecord()
Method Detail

getBackLightMask

public int getBackLightMask()

setBackLightMask

public void setBackLightMask(int backLightMask)

getLightRecord

public LightRecord getLightRecord(int index)

setLightRecord

public void setLightRecord(LightRecord lr,
                           int index)

getLightMask

public int getLightMask()

setLightMask

public void setLightMask(int lightMask)

isTwoSidedOn

public boolean isTwoSidedOn()

setTwoSidedOn

public void setTwoSidedOn(boolean twoSidedOn)

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)

isLocalViewer

public boolean isLocalViewer()

setLocalViewer

public void setLocalViewer(boolean localViewer)

isSeparateSpecular

public boolean isSeparateSpecular()

setSeparateSpecular

public void setSeparateSpecular(boolean seperateSpecular)

invalidate

public void invalidate()
Description copied from class: StateRecord
Invalidate this record - iow, we don't trust this record's information about the opengl state machine.

Overrides:
invalidate in class StateRecord

validate

public void validate()
Description copied from class: StateRecord
Validate this record - iow, we trust this record's information about the opengl state machine.

Overrides:
validate in class StateRecord