public void updateAll() {
        updatedPatch.setLod(newLod);
        updatedPatch.setLodRight(rightLod);
        updatedPatch.setLodTop(topLod);
        updatedPatch.setLodLeft(leftLod);
        updatedPatch.setLodBottom(bottomLod);
        if (newIndexBuffer != null && isReIndexNeeded()) {
            updatedPatch.setPreviousLod(previousLod);
            updatedPatch.getMesh().clearBuffer(Type.Index);
            if (newIndexBuffer instanceof IntBuffer)
                updatedPatch.getMesh().setBuffer(Type.Index, 3, (IntBuffer)newIndexBuffer);
            else if (newIndexBuffer instanceof ShortBuffer)
                updatedPatch.getMesh().setBuffer(Type.Index, 3, (ShortBuffer)newIndexBuffer);
            else
                updatedPatch.getMesh().setBuffer(Type.Index, 3, (ByteBuffer)newIndexBuffer);
        }
    }
Stores a terrain patch's details so the LOD background thread can update
the actual terrain patch back on the ogl thread.

@author Brent Owens
jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/UpdatedTerrainPatch.java