Class IJobParallelForBatchExtensions
Inheritance
IJobParallelForBatchExtensions
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, Int32)
Declaration
public static void RunBatch<T>(this T jobData, int arrayLength)
where T : struct, IJobParallelForBatch
Parameters
Type |
Name |
Description |
T |
jobData |
|
Int32 |
arrayLength |
|
Type Parameters
ScheduleBatch<T>(T, Int32, Int32, JobHandle)
Declaration
public static JobHandle ScheduleBatch<T>(this T jobData, int arrayLength, int minIndicesPerJobCount, JobHandle dependsOn = default(JobHandle))
where T : struct, IJobParallelForBatch
Parameters
Type |
Name |
Description |
T |
jobData |
|
Int32 |
arrayLength |
|
Int32 |
minIndicesPerJobCount |
|
JobHandle |
dependsOn |
|
Returns
Type Parameters