clearRefs() {
    const gl = this.context
    this._refs.textures.forEach(texture => gl.deleteTexture(texture))
    this._refs.buffers.forEach(buffer => gl.deleteBuffer(buffer))
    this._refs = { textures: [], buffers: [] }
  }
Deletes all stored references to WebGL textures and buffers