public void setUpdateNeeded(boolean dirtyAll) {
        if (dirtyAll) markAllRegionsDirty();
        updateNeeded = true;
    }
Indicates that the object has changed and its state needs to be updated.

@param dirtyAll
           mark all regions for update
jme3-core/src/main/java/com/jme3/shader/bufferobject/BufferObject.java