daily uodate on 20231208 by nitload youmu, preparation for multi thread rendering

This commit is contained in:
Nitload
2023-12-08 05:36:04 +08:00
parent ae804553ce
commit ab85c1a9fe
297 changed files with 157896 additions and 5170 deletions
+2 -22
View File
@@ -4,35 +4,15 @@ using System;
namespace StgSharp
{
public static partial class Control
public static partial class Operation
{
/// <summary>
/// Add a pool to timeline controller, and return the instance of the pool.
/// </summary>
/// <returns></returns>
public static Pool InitPool()
{
Pool pool = new Pool();
AddPool(pool);
return pool;
}
public static void AddPool(Pool pool)
{
StgSharp.Controlling.TimeLine.allPool.Add(pool);
StgSharp.Controlling.TimeLine._currentPool = pool;
}
public static void LoadTimeline()
{
}
internal static void InitVector4map(Pool target)
{
Vector4Map map = new Vector4Map();
TimeLine.GetCurrentPool()._Vector4mapContainer.Add(map);
}
}
}