mirror of
https://github.com/DCFApixels/Unity-DebugX.git
synced 2025-09-18 01:44:34 +08:00
test fix
This commit is contained in:
parent
b81dd00889
commit
96bfd2b833
@ -274,17 +274,14 @@ namespace DCFApixels
|
||||
SetGameSceneContext();
|
||||
}
|
||||
private static void PreRenderCallback()
|
||||
{
|
||||
RenderContextController.ClearCommandBuffers();
|
||||
SetCameraContext();
|
||||
_currentCamera = null;
|
||||
}
|
||||
private static void OnTriggerEndOfFrameCallbacks()
|
||||
{
|
||||
foreach (var item in RenderContextController.AllConteollers)
|
||||
{
|
||||
item.RunEnd();
|
||||
}
|
||||
RenderContextController.ClearCommandBuffers();
|
||||
SetCameraContext();
|
||||
_currentCamera = null;
|
||||
}
|
||||
|
||||
|
||||
@ -313,7 +310,7 @@ namespace DCFApixels
|
||||
RenderContextController.StaicContextController.Render(cbExecutor);
|
||||
cbExecutor.Submit();
|
||||
RenderContextController.StaicContextController.PostRender();
|
||||
if(IsSRP)
|
||||
if (IsSRP)
|
||||
{
|
||||
RenderContextController.StaicContextController.RunEnd();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user