dispose method

dynamic dispose()

Implementation

dispose() {
  this.uniformsData = new WeakMap();
  this.updateMap = new WeakMap();
}