src/core/context.js
/**
   * Refreshes regl state. This method shouldn't be called unless
   * there has been direct manipulation of the underlying WebGLRenderingContext
   * instance outside of this context instance.
   * @public
   * @method
   * @return {Context}
   */
Refreshes regl state. This method shouldn't be called unless
there has been direct manipulation of the underlying WebGLRenderingContext
instance outside of this context instance.
@public
@method
@return {Context}
Refreshes regl state . This method shouldn ' t be called unless there has been direct manipulation of the underlying WebGLRenderingContext instance outside of this context instance . @public @method @return { Context }
refresh() {
    if (this.regl && 'function' == typeof this.regl._refresh) {
      this.regl._refresh()
    }
    return this
  }
refresh ( ) { if ( this . regl && 'function' == typeof this . regl . _refresh ) { this . regl . _refresh ( ) } return this }
Refreshes regl state.
Refreshes regl state .