com.jme.scene.state
Class StateRecord

java.lang.Object
  extended by com.jme.scene.state.StateRecord
Direct Known Subclasses:
BlendStateRecord, BlendStateRecord, ClipStateRecord, ClipStateRecord, ColorMaskStateRecord, ColorMaskStateRecord, CullStateRecord, CullStateRecord, FogStateRecord, FogStateRecord, FragmentProgramStateRecord, FragmentProgramStateRecord, LightRecord, LightRecord, LightStateRecord, LightStateRecord, LineRecord, LineRecord, MaterialStateRecord, MaterialStateRecord, RendererRecord, RendererRecord, ShaderObjectsStateRecord, ShaderObjectsStateRecord, ShadeStateRecord, ShadeStateRecord, StencilStateRecord, StencilStateRecord, StippleStateRecord, StippleStateRecord, TextureRecord, TextureRecord, TextureStateRecord, TextureStateRecord, TextureUnitRecord, TextureUnitRecord, VertexProgramStateRecord, VertexProgramStateRecord, WireframeStateRecord, WireframeStateRecord, ZBufferStateRecord, ZBufferStateRecord

public abstract class StateRecord
extends java.lang.Object


Field Summary
protected  boolean valid
           
 
Constructor Summary
StateRecord()
           
 
Method Summary
 void invalidate()
          Invalidate this record - iow, we don't trust this record's information about the opengl state machine.
 boolean isValid()
           
 void validate()
          Validate this record - iow, we trust this record's information about the opengl state machine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valid

protected boolean valid
Constructor Detail

StateRecord

public StateRecord()
Method Detail

isValid

public boolean isValid()
Returns:
true if jme thinks this state holds trusted information about the opengl state machine.

invalidate

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


validate

public void validate()
Validate this record - iow, we trust this record's information about the opengl state machine.