/// <summary>
 /// Destroys all objects created per call.
 /// </summary>
 private void ClearPerCall()
 {
     // Reactivate deactivated renderers.
     GeneralToolkit.ReactivateOtherActiveComponents(_deactivatedRendererGOs);
     // Destroy created objects.
     if (_previewCameraModel != null)
     {
         DestroyImmediate(_previewCameraModel.gameObject);
     }
     if (_previewCameraManager != null)
     {
         _previewCameraManager.DestroyPreviewCamera();
         DestroyImmediate(_previewCameraManager.gameObject);
     }
     if (_renderToTextureMapMat != null)
     {
         DestroyImmediate(_renderToTextureMapMat);
     }
     if (_normalizeByAlphaMat != null)
     {
         DestroyImmediate(_normalizeByAlphaMat);
     }
     if (_helperULR != null)
     {
         _helperULR.ClearAll();
         DestroyImmediate(_helperULR);
     }
 }