dispose method

void dispose()

Implementation

void dispose(){
  hash.clear();
  ambient.clear();
  probe.clear();
  directional.clear();
  directionalShadow.clear();
  directionalShadowMap.clear();
  directionalShadowMatrix.clear();
  spot.clear();
  spotShadow.clear();
  spotShadowMap.clear();
  spotShadowMatrix.clear();
  rectArea.clear();
  point.clear();
  pointShadow.clear();
  pointShadowMap.clear();
  pointShadowMatrix.clear();
  hemi.clear();
}