src/components/text.js
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 .