stopMirroring

fun stopMirroring(sceneView: SceneView, surface: Surface)

Stops mirroring to the specified Surface.

When capturing is complete, call this method to stop mirroring the SceneView to the specified Surface. If this is not called, the additional performance cost will remain.

The application is responsible for calling Surface.release on the Surface when done.