dispose method

void dispose()

Implementation

void dispose() {
  renderLists.dispose();
  renderStates.dispose();
  properties.dispose();
  cubemaps.dispose();
  cubeuvmaps.dispose();
  objects.dispose();
  bindingStates.dispose();
  programCache.dispose();

  textures.dispose();
  geometries.dispose();
  materials.renderer.dispose();

  if (_transmissionRenderTarget != null) {
    _transmissionRenderTarget!.dispose();
    _transmissionRenderTarget = null;
  }
}