Description 描述
Static class containing functionality to create, run and debug jobs.
Static Properties
| CacheLineSize | Size of a cache line. | ||
| IsExecutingJob | Returns true if we this is called from inside of a C# job. | ||
| JobCompilerEnabled | When disabled, forces jobs that have already been compiled with burst to run in mono instead. For example if you want to debug the C# jobs or just want to compare behaviour or performance. | ||
| JobDebuggerEnabled | Enables and disables the job debugger at runtime. Note that currently the job debugger is only supported in the Editor. Thus this only has effect in the editor. | ||
| MaxJobThreadCount | Maximum job thread count. |
Static Methods 静态方法
| CreateJobReflectionData | Creates job reflection data. | ||
| GetJobRange | Returns the begin index and end index of the range. | ||
| GetWorkStealingRange | Returns the work stealing range. | ||
| PatchBufferMinMaxRanges | Injects debug checks for min and max ranges of native array. | ||
| Schedule | Schedule a single IJob. | ||
| ScheduleParallelFor | Schedule a IJobParallelFor job. | ||
| ScheduleParallelForDeferArraySize | Schedule a IJobParallelFor job. | ||
| ScheduleParallelForTransform | Schedule a IJobParallelForTransform job. |