Class IJobParallelForBatchExtensions
Inheritance
IJobParallelForBatchExtensions
Assembly: Unity.Collections.dll
Syntax
public static class IJobParallelForBatchExtensions
Methods
EarlyJobInit<T>()
This method is only to be called by automatically generated setup code.
Declaration
public static void EarlyJobInit<T>() where T : struct, IJobParallelForBatch
Type Parameters
RunBatch<T>(T, int)
Declaration
public static void RunBatch<T>(this T jobData, int arrayLength) where T : struct, IJobParallelForBatch
Parameters
Type |
Name |
Description |
T |
jobData |
|
int |
arrayLength |
|
Type Parameters
ScheduleBatch<T>(T, int, int, JobHandle)
Declaration
public static JobHandle ScheduleBatch<T>(this T jobData, int arrayLength, int minIndicesPerJobCount, JobHandle dependsOn = default) where T : struct, IJobParallelForBatch
Parameters
Type |
Name |
Description |
T |
jobData |
|
int |
arrayLength |
|
int |
minIndicesPerJobCount |
|
JobHandle |
dependsOn |
|
Returns
Type Parameters