A* Pathfinding Project
4.3.5
The A* Pathfinding Project for Unity 3D
|
Extension methods for IJob and related interfaces. More...
Extension methods for IJob and related interfaces.
Classes | |
struct | ManagedActionJob |
struct | ManagedJob |
struct | ManagedJobParallelForBatch |
Static Public Member Functions | |
static JobHandle | GetDependencies< T > (this T data, JobDependencyTracker tracker) |
static JobHandle | Schedule< T > (this T data, JobDependencyTracker tracker) |
Schedule a job and handle dependencies automatically. More... | |
static JobHandle | ScheduleBatch< T > (this T data, int arrayLength, int minIndicesPerJobCount, JobDependencyTracker tracker, JobHandle additionalDependency=default) |
static JobHandle | ScheduleManaged (this System.Action data, JobHandle dependsOn) |
static JobHandle | ScheduleManaged< T > (this T data, JobHandle dependsOn) |
static JobHandle | ScheduleManagedInMainThread< T > (this T data, JobDependencyTracker tracker) |
Schedules a job to run in the main Unity thread. More... | |
Static Private Attributes | |
static readonly UnityEngine.Profiling.CustomSampler | waitingForMainThreadSampler = UnityEngine.Profiling.CustomSampler.Create("Waiting for main thread work (sleep)") |
|
static |
T | : | struct | |
T | : | IJob |
|
static |
Schedule a job and handle dependencies automatically.
You need to have "using Pathfinding.Util" in your script to be able to use this extension method.
T | : | struct | |
T | : | IJob |
|
static |
T | : | struct | |
T | : | IJobParallelForBatch |
|
static |
|
static |
T | : | struct | |
T | : | IJob |
|
static |
Schedules a job to run in the main Unity thread.
You must call #JobDependencyTracker.RunMainThreadWork() repeatedly in the main thread to allow the work to be done.
T | : | struct | |
T | : | IJob |
|
staticprivate |