code: function () {
      this.geometry.dispose();
      this.geometry = null;
      this.el.removeObject3D(this.attrName);
      this.material.dispose();
      this.material = null;
      this.texture.dispose();
      this.texture = null;
      if (this.shaderObject) {
        delete this.shaderObject;
      }
    }
docs: Clean up geometry, material, texture, mesh, objects.