class in Unity.Jobs.LowLevel.Unsafe
/
Implemented in:UnityEngine.CoreModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseStatic 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. |