code: function () {
          var enabledAttributes = this.getEnabledAttributes();
          for (var i = 0; i < enabledAttributes.length; i++) {
              this.dirtyAttribute(enabledAttributes[i]);
          }
          this.dirtyIndices();
          this._enabledAttributes = null;
  
          this._cache.dirty('any');
      }
docs: Mark attributes and indices in geometry needs to update.
  Usually called after you change the data in attributes.