disableBackground method

void disableBackground()

Disables the background.

Implementation

void disableBackground() {
  _bg?.dispose(_gl);
  _bg = null;
  _bgAssetPath = null;
}