Version: 2018.1

JobsUtility

class in Unity.Jobs.LowLevel.Unsafe

Switch to Manual

Description

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

Static Variables

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 Functions

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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961