debugMarkClean method

  1. @visibleForTesting
void debugMarkClean ()
@visibleForTesting

Mark that this layer is in sync with engine.

This is for debugging and testing purposes only. In release builds this method has no effect.

Implementation

@visibleForTesting
void debugMarkClean() {
  assert(() {
    _needsAddToScene = false;
    return true;
  }());
}