dispose method

void dispose()

Implementation

void dispose() {
  for(final key in wireframeAttributes.keys){
    (wireframeAttributes[key] as BufferAttribute).dispose();
  }

  wireframeAttributes.clear();
  attributes.dispose();
}