daily update on 20240501 by nitload youmu, tracking blueprint corupt[D[D[Dr
This commit is contained in:
@@ -29,8 +29,7 @@
|
||||
//-----------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------
|
||||
using StgSharp.Math;
|
||||
|
||||
using StgSharpDebug.Logic;
|
||||
using StgSharp.Logic;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -46,15 +45,28 @@ namespace StgSharp.Graphics
|
||||
{
|
||||
private Blueprint renderLogic;
|
||||
|
||||
public Blueprint RenderLogic
|
||||
{
|
||||
get => renderLogic;
|
||||
set => renderLogic = value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Init this form and render it on screen, and respond with operation
|
||||
/// </summary>
|
||||
public unsafe void Show()
|
||||
{
|
||||
|
||||
int a = 0;
|
||||
while (!ShouldClose)
|
||||
{
|
||||
a++;
|
||||
renderLogic.RunRepeatedly(() => ShouldClose);
|
||||
frameTimeProvider.WaitNextSpan();
|
||||
}
|
||||
}
|
||||
|
||||
private void GahterSignleFrameAsyncThread(MethodInfo[] methods)
|
||||
/*
|
||||
private void GatherSingleFrameAsyncThread(MethodInfo[] methods)
|
||||
{
|
||||
if (methods.Length == 0)
|
||||
{
|
||||
@@ -76,7 +88,7 @@ namespace StgSharp.Graphics
|
||||
//singleFrameAsyncThreadList.Add(thread);
|
||||
}
|
||||
}
|
||||
|
||||
/**/
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user