Show / Hide Table of Contents

Class JobsUtility

Inheritance
Object
JobsUtility
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Unity.Jobs.LowLevel.Unsafe
Assembly: UnityEngine.dll
Syntax
public static class JobsUtility

Fields

| Improve this Doc View Source

CacheLineSize

Declaration
public const int CacheLineSize = 64
Field Value
Type Description
Int32
| Improve this Doc View Source

MaxJobThreadCount

Declaration
public const int MaxJobThreadCount = 128
Field Value
Type Description
Int32

Properties

JobCompilerEnabled

Declaration
public static bool JobCompilerEnabled { get; set; }
Property Value
Type Description
Boolean

JobDebuggerEnabled

Declaration
public static bool JobDebuggerEnabled { get; set; }
Property Value
Type Description
Boolean

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
Type Name Description
Type wrapperJobType
Type userJobType
JobType jobType
Object managedJobFunction0
Returns
Type Description
IntPtr
| 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
Type Name Description
Type type
JobType jobType
Object managedJobFunction0
Object managedJobFunction1
Object managedJobFunction2
Returns
Type Description
IntPtr
| 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
Type Name Description
JobRanges ranges
Int32 jobIndex
Int32 beginIndex
Int32 endIndex

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
Type Name Description
JobRanges ranges
Int32 jobIndex
Int32 beginIndex
Int32 endIndex
Returns
Type Description
Boolean

PatchBufferMinMaxRanges(IntPtr, Void*, Int32, Int32)

Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void PatchBufferMinMaxRanges(IntPtr bufferRangePatchData, void *jobdata, int startIndex, int rangeSize)
Parameters
Type Name Description
IntPtr bufferRangePatchData
Void* jobdata
Int32 startIndex
Int32 rangeSize

Schedule(ref JobsUtility.JobScheduleParameters)

Declaration
public static JobHandle Schedule(ref JobsUtility.JobScheduleParameters parameters)
Parameters
Type Name Description
JobsUtility.JobScheduleParameters parameters
Returns
Type Description
JobHandle

ScheduleParallelFor(ref JobsUtility.JobScheduleParameters, Int32, Int32)

Declaration
public static JobHandle ScheduleParallelFor(ref JobsUtility.JobScheduleParameters parameters, int arrayLength, int innerloopBatchCount)
Parameters
Type Name Description
JobsUtility.JobScheduleParameters parameters
Int32 arrayLength
Int32 innerloopBatchCount
Returns
Type Description
JobHandle

ScheduleParallelForDeferArraySize(ref JobsUtility.JobScheduleParameters, Int32, Void*, Void*)

Declaration
public static JobHandle ScheduleParallelForDeferArraySize(ref JobsUtility.JobScheduleParameters parameters, int innerloopBatchCount, void *listData, void *listDataAtomicSafetyHandle)
Parameters
Type Name Description
JobsUtility.JobScheduleParameters parameters
Int32 innerloopBatchCount
Void* listData
Void* listDataAtomicSafetyHandle
Returns
Type Description
JobHandle

ScheduleParallelForTransform(ref JobsUtility.JobScheduleParameters, IntPtr)

Declaration
public static JobHandle ScheduleParallelForTransform(ref JobsUtility.JobScheduleParameters parameters, IntPtr transfromAccesssArray)
Parameters
Type Name Description
JobsUtility.JobScheduleParameters parameters
IntPtr transfromAccesssArray
Returns
Type Description
JobHandle
  • Improve this Doc
  • View Source
Back to top Generated by DocFX