修改水

This commit is contained in:
2026-01-01 22:00:33 +08:00
parent 040a222bd6
commit 9ceffccd39
1800 changed files with 103929 additions and 139495 deletions

View File

@@ -0,0 +1,27 @@
#if (OBI_ONI_SUPPORTED)
using System;
namespace Obi
{
public class OniJobHandle : IObiJobHandle
{
private IntPtr pointer = IntPtr.Zero;
public OniJobHandle SetPointer(IntPtr newPtr)
{
pointer = newPtr;
return this;
}
public void Complete()
{
Oni.Complete(pointer);
}
public void Release()
{
pointer = IntPtr.Zero;
}
}
}
#endif