dispose method

void dispose()

Implementation

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

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