daily update on 20240620 by nitload youmu
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user