Static class containing functionality to create, run and debug jobs.
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. |
JobWorkerCount | Current number of worker threads available to the Unity JobQueue. |
JobWorkerMaximumCount | Maximum number of worker threads available to the Unity JobQueue (Read Only). |
MaxJobThreadCount | The maximum number of job threads that the job system can create. |
ThreadIndex | Returns the index for the current thread when executing a job, otherwise 0. |
ThreadIndexCount | Returns the maximum number of job workers that can work on a job at the same time. |
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. |
ResetJobWorkerCount | Reset JobWorkerCount to the Unity adjusted value. |
Schedule | Schedule a single IJob. |
ScheduleParallelFor | Schedule a IJobParallelFor job. |
ScheduleParallelForDeferArraySize | Schedule a IJobParallelFor job. |
ScheduleParallelForTransform | Schedule an IJobParallelForTransform job. |
ScheduleParallelForTransformReadOnly | Schedule an IJobParallelForTransform job with read-only access to the transform data. This method provides better parallelization because it can read all transforms in parallel instead of just parallelizing across transforms in different hierarchies. |