2024-03-05 17:34:41 +08:00
|
|
|
#if GRIFFIN
|
2023-12-30 17:37:48 +08:00
|
|
|
using UnityEngine;
|
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using Unity.Jobs;
|
|
|
|
|
|
|
|
namespace Pinwheel.Griffin.Rendering
|
|
|
|
{
|
|
|
|
public static class GJobUtilities
|
|
|
|
{
|
|
|
|
public static void CompleteAll(JobHandle[] handles)
|
|
|
|
{
|
|
|
|
for (int i = 0; i < handles.Length; ++i)
|
|
|
|
{
|
|
|
|
handles[i].Complete();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-05 17:34:41 +08:00
|
|
|
#endif
|