debugMarkClean method

  1. @visibleForTesting
void debugMarkClean ()
@visibleForTesting

Mark that this layer is in sync with engine.

This is only for debug and test purpose only.

Implementation

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