dispose method

void dispose()

Releases Dart-side staging buffers. Native texture lifetime is owned by the underlying flutter_gpu handles.

Implementation

void dispose() {
  atlas = null;
  orderTexture = null;
  quatTexture = null;
  colorTexture = null;
  shTexture = null;
  splatCount = 0;
  _atlasHeight = 0;
  _sidecarHeight = 0;
  _shHeight = 0;
  _orderAllocHeight = 0;
  _atlasScratch = null;
  _quatScratch = null;
  _colorScratch = null;
  _shScratch = null;
  _orderScratch = null;
}