dispose method

void dispose()

Implementation

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