disposeRenderer method

Future<void> disposeRenderer()

Implementation

Future<void> disposeRenderer() async {
  renderer.srcObject = null;
  await renderer.dispose();
}