dispose method

void dispose()

Implementation

void dispose() {
  for(final key in cubeUVmaps.keys){
    cubeUVmaps[key].dispose();
  }
  cubeUVmaps.clear();

  //if (pmremGenerator != null) {
    pmremGenerator?.dispose();
    pmremGenerator = null;
  //}
}