Exemple #1
0
 protected void ReloadShaders()
 {
     _shaderAssetLoader.Reload();
     SetupShaderList();
     _shaderManager.RefreshCameraManager();
     _shaderManager.ClearAllMaterials();
     SetupActiveShaderStackList();
     SEUtilities.UpdateScrollIndicator(customListTableData.tableView, scrollIndicator);
 }
 protected override void BackButtonWasPressed(ViewController topViewController)
 {
     if (_pluginConfig.ClearPreviewEffects)
     {
         _shaderManager.ClearAllMaterials();
     }
     else
     {
         _shaderManager.CameraManager?.ClearAllMaterials();
     }
     _mainFlow.DismissFlowCoordinator(this, null);
 }