daily update on 20240620 by nitload youmu

This commit is contained in:
Nitload
2024-06-20 07:47:00 +08:00
parent 7fb220c523
commit b2cb0cbddf
39 changed files with 1252 additions and 550 deletions
@@ -16,7 +16,10 @@ namespace StgSharp.Logic
private Blueprint renderLogic;
public Blueprint RenderLogic
/// <summary>
/// Render logic for every frame with no relation to <see cref="View"/>.
/// </summary>
public Blueprint GeneralRenderLogic
{
get => renderLogic;
set => renderLogic = value;
@@ -39,7 +42,7 @@ namespace StgSharp.Logic
item.Value();
}
}
renderLogic.RunRepeatedly(() => ShouldClose);
BlueprintRunner.Run(renderLogic, ()=>ShouldClose);
frameTimeProvider.WaitNextSpan();
Interlocked.Add(ref _frameCount, 1);
}