constructor(name, data) {
    this.name = name;
    this.data = data;

    /**
     * @type {WebGLTexture|null}
     * @private
     */
    this.texture_ = null;
  }
@param {string} name The name of the texture.
@param {Uint8Array} data The texture data.