Class JobsUtility
Assembly: UnityEngine.dll
Syntax
public static class JobsUtility
Fields
|
Improve this Doc
View Source
CacheLineSize
Declaration
public const int CacheLineSize = 64
Field Value
|
Improve this Doc
View Source
MaxJobThreadCount
Declaration
public const int MaxJobThreadCount = 128
Field Value
Properties
JobCompilerEnabled
Declaration
public static bool JobCompilerEnabled { get; set; }
Property Value
JobDebuggerEnabled
Declaration
public static bool JobDebuggerEnabled { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
CreateJobReflectionData(Type, Type, JobType, Object)
Declaration
public static IntPtr CreateJobReflectionData(Type wrapperJobType, Type userJobType, JobType jobType, object managedJobFunction0)
Parameters
Returns
|
Improve this Doc
View Source
CreateJobReflectionData(Type, JobType, Object, Object, Object)
Declaration
public static IntPtr CreateJobReflectionData(Type type, JobType jobType, object managedJobFunction0, object managedJobFunction1 = null, object managedJobFunction2 = null)
Parameters
Returns
|
Improve this Doc
View Source
GetJobRange(ref JobRanges, Int32, out Int32, out Int32)
Declaration
public static void GetJobRange(ref JobRanges ranges, int jobIndex, out int beginIndex, out int endIndex)
Parameters
GetWorkStealingRange(ref JobRanges, Int32, out Int32, out Int32)
Declaration
public static bool GetWorkStealingRange(ref JobRanges ranges, int jobIndex, out int beginIndex, out int endIndex)
Parameters
Returns
PatchBufferMinMaxRanges(IntPtr, Void*, Int32, Int32)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void PatchBufferMinMaxRanges(IntPtr bufferRangePatchData, void *jobdata, int startIndex, int rangeSize)
Parameters
Schedule(ref JobsUtility.JobScheduleParameters)
Declaration
public static JobHandle Schedule(ref JobsUtility.JobScheduleParameters parameters)
Parameters
Returns
ScheduleParallelFor(ref JobsUtility.JobScheduleParameters, Int32, Int32)
Declaration
public static JobHandle ScheduleParallelFor(ref JobsUtility.JobScheduleParameters parameters, int arrayLength, int innerloopBatchCount)
Parameters
Returns
ScheduleParallelForDeferArraySize(ref JobsUtility.JobScheduleParameters, Int32, Void*, Void*)
Declaration
public static JobHandle ScheduleParallelForDeferArraySize(ref JobsUtility.JobScheduleParameters parameters, int innerloopBatchCount, void *listData, void *listDataAtomicSafetyHandle)
Parameters
Returns
Declaration
public static JobHandle ScheduleParallelForTransform(ref JobsUtility.JobScheduleParameters parameters, IntPtr transfromAccesssArray)
Parameters
Returns