diff --git a/com.unity.render-pipelines.high-definition/Editor/Compositor/CompositionManagerEditor.cs b/com.unity.render-pipelines.high-definition/Editor/Compositor/CompositionManagerEditor.cs index 88d8f7f2074..5ac345d7837 100644 --- a/com.unity.render-pipelines.high-definition/Editor/Compositor/CompositionManagerEditor.cs +++ b/com.unity.render-pipelines.high-definition/Editor/Compositor/CompositionManagerEditor.cs @@ -57,7 +57,7 @@ public int selectionIndex if (m_layerList != null) m_layerList.index = Math.Min(value, m_layerList.count - 1); } } - + void AddLayerOfTypeCallback(object type) { diff --git a/com.unity.render-pipelines.high-definition/Runtime/Compositor/CompositionManager.cs b/com.unity.render-pipelines.high-definition/Runtime/Compositor/CompositionManager.cs index 76fb3cb8e7d..4ebc91559a6 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Compositor/CompositionManager.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Compositor/CompositionManager.cs @@ -965,6 +965,5 @@ static internal void UnRegisterCustomPasses(HDRenderPipeline hdPipeline) hdPipeline.asset.beforePostProcessCustomPostProcesses.Remove(typeof(AlphaInjection).AssemblyQualifiedName); } } - } } diff --git a/com.unity.render-pipelines.high-definition/Runtime/Compositor/CompositorCameraRegistry.cs b/com.unity.render-pipelines.high-definition/Runtime/Compositor/CompositorCameraRegistry.cs index a2b34c584cf..e2ca2a3ac8e 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Compositor/CompositorCameraRegistry.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Compositor/CompositorCameraRegistry.cs @@ -18,12 +18,13 @@ internal void RegisterInternalCamera(Camera camera) { s_CompositorManagedCameras.Add(camera); } + internal void UnregisterInternalCamera(Camera camera) { s_CompositorManagedCameras.Remove(camera); } - // Checks for any compositor allocated cameras that are now unused and frees their resources. + // Checks for any compositor allocated cameras that are now unused and frees their resources. internal void CleanUpCameraOrphans(List layers = null) { s_CompositorManagedCameras.RemoveAll(x => x == null);