dispose method

void dispose()

Implementation

void dispose() {
  shaderCache.clear();
  materialCache.clear();
}