dispose(renderer = null)
    {
        if (renderer)
        {
            this._dispose(renderer.uid);
        }
        else
        {
            Object.keys(this._glTextures).forEach((k) => this._dispose(k));
        }
    }
/**
     * Disposes of all GLTexture instances and clears them from the GPU for all renderers.
     *
     * @param {Renderer} renderer - The renderer to dispose on. If not passed, all are disposed.
     */
Disposes of all GLTexture instances and clears them from the GPU for all renderers.
@param {Renderer} renderer - The renderer to dispose on. If not passed, all are disposed.
Disposes of all GLTexture instances and clears them from the GPU for all renderers . @param { Renderer } renderer - The renderer to dispose on . If not passed all are disposed .
dispose(renderer = null)
    {
        if (renderer)
        {
            this._dispose(renderer.uid);
        }
        else
        {
            Object.keys(this._glTextures).forEach((k) => this._dispose(k));
        }
    }
dispose ( renderer = null ) { if ( renderer ) { this . _dispose ( renderer . uid ) ; } else { Object . keys ( this . _glTextures ) . forEach ( ( k ) => this . _dispose ( k ) ) ; } }
Disposes of all GLTexture instances and clears them from the GPU for all renderers.
Disposes of all GLTexture instances and clears them from the GPU for all renderers .