Class StateRecord

java.lang.Object
com.ardor3d.renderer.state.record.StateRecord
Direct Known Subclasses:
BlendStateRecord, ClipStateRecord, ColorMaskStateRecord, CullStateRecord, FogStateRecord, FragmentProgramStateRecord, LightRecord, LightStateRecord, LineRecord, MaterialStateRecord, OffsetStateRecord, RendererRecord, ShaderObjectsStateRecord, ShadingStateRecord, StencilStateRecord, TextureRecord, TextureStateRecord, TextureUnitRecord, VertexProgramStateRecord, WireframeStateRecord, ZBufferStateRecord

public abstract class StateRecord extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invalidate this record - iow, we don't trust this record's information about the opengl state machine.
    boolean
     
    void
    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 Details

    • valid

      protected boolean valid
  • Constructor Details

    • StateRecord

      public StateRecord()
  • Method Details

    • isValid

      public boolean isValid()
      Returns:
      true if ardor3d 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.