Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

JobsUtility

class in Unity.Jobs.LowLevel.Unsafe

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

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.

Close

Submission failed

For 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.

Close

Cancel

Description

Static class containing functionality to create, run and debug jobs.

Static Properties

CacheLineSizeSize of a cache line.
JobCompilerEnabledWhen 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.
JobDebuggerEnabledEnables 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.
MaxJobThreadCountMaximum job thread count.

Static Methods

CreateJobReflectionDataCreates job reflection data.
GetJobRangeReturns the begin index and end index of the range.
GetWorkStealingRangeReturns the work stealing range.
PatchBufferMinMaxRangesInjects debug checks for min and max ranges of native array.
ScheduleSchedule a single IJob.
ScheduleParallelForSchedule a IJobParallelFor job.
ScheduleParallelForDeferArraySizeSchedule a IJobParallelFor job.
ScheduleParallelForTransformSchedule a IJobParallelForTransform job.

Did you find this page useful? Please give it a rating: