50 lines
1.7 KiB
C#
50 lines
1.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Unity.Jobs.LowLevel.Unsafe;
|
|
|
|
namespace Unity.Jobs
|
|
{
|
|
// Token: 0x02000003 RID: 3
|
|
[Token(Token = "0x2000003")]
|
|
public static class IJobParallelForBatchExtensions
|
|
{
|
|
// Token: 0x06000002 RID: 2 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000002")]
|
|
[Address(RVA = "0x1E676C0", Offset = "0x1E664C0", VA = "0x181E676C0")]
|
|
public static JobHandle ScheduleBatch<T>(this T jobData, int arrayLength, int minIndicesPerJobCount, [Optional] JobHandle dependsOn) where T : struct, IJobParallelForBatch
|
|
{
|
|
return default(JobHandle);
|
|
}
|
|
|
|
// Token: 0x02000004 RID: 4
|
|
[Token(Token = "0x2000004")]
|
|
internal struct JobParallelForBatchProducer<T> where T : struct, IJobParallelForBatch
|
|
{
|
|
// Token: 0x06000003 RID: 3 RVA: 0x00002068 File Offset: 0x00000268
|
|
[Token(Token = "0x6000003")]
|
|
[Address(RVA = "0x324EE80", Offset = "0x324DC80", VA = "0x18324EE80")]
|
|
public static IntPtr Initialize()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06000004 RID: 4 RVA: 0x0000207E File Offset: 0x0000027E
|
|
[Token(Token = "0x6000004")]
|
|
[Address(RVA = "0x324EDF0", Offset = "0x324DBF0", VA = "0x18324EDF0")]
|
|
public static void Execute(ref T jobData, IntPtr additionalPtr, IntPtr bufferRangePatchData, ref JobRanges ranges, int jobIndex)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000001 RID: 1
|
|
[Token(Token = "0x4000001")]
|
|
private static IntPtr s_JobReflectionData;
|
|
|
|
// Token: 0x02000005 RID: 5
|
|
// (Invoke) Token: 0x06000006 RID: 6
|
|
[Token(Token = "0x2000005")]
|
|
public delegate void ExecuteJobFunction(ref T jobData, IntPtr additionalPtr, IntPtr bufferRangePatchData, ref JobRanges ranges, int jobIndex);
|
|
}
|
|
}
|
|
}
|