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;
    }
  }
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;
    }
  }
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 ; } }
Clean up geometry, material, texture, mesh, objects.
Clean up geometry material texture mesh objects .
This method is called when the object is being disposed