public void defstate() { def2d.copy(cur2d); }
public <T extends GLState> T curstate(GLState.Slot<T> slot) { return (cur2d.get(slot)); }
public <T extends GLState> void usestate(GLState.Slot<? super T> slot) { cur2d.put(slot, null); }
public GLState.Buffer basicstate() { return (def2d.copy()); }