Class JobForEachExtensions
Inheritance
JobForEachExtensions
Syntax
public static class JobForEachExtensions
Methods
CalculateEntityCount<T>(T, ComponentSystemBase)
Declaration
public static int CalculateEntityCount<T>(this T jobData, ComponentSystemBase system)
where T : struct, JobForEachExtensions.IBaseJobForEach
Parameters
Returns
Type Parameters
GetEntityQueryForIJobForEach(ComponentSystemBase, Type)
Declaration
public static EntityQuery GetEntityQueryForIJobForEach(this ComponentSystemBase system, Type jobType)
Parameters
Returns
PrepareEntityQuery<T>(T, ComponentSystemBase)
Declaration
public static void PrepareEntityQuery<T>(this T jobData, ComponentSystemBase system)
where T : struct, JobForEachExtensions.IBaseJobForEach
Parameters
Type Parameters
Run<T>(T, ComponentSystemBase, JobHandle)
Declaration
public static JobHandle Run<T>(this T jobData, ComponentSystemBase system, JobHandle dependsOn = null)
where T : struct, JobForEachExtensions.IBaseJobForEach
Parameters
Returns
Type |
Description |
JobHandle |
|
Type Parameters
Run<T>(T, EntityQuery, JobHandle)
Declaration
public static JobHandle Run<T>(this T jobData, EntityQuery query, JobHandle dependsOn = null)
where T : struct, JobForEachExtensions.IBaseJobForEach
Parameters
Type |
Name |
Description |
T |
jobData |
|
EntityQuery |
query |
|
JobHandle |
dependsOn |
|
Returns
Type |
Description |
JobHandle |
|
Type Parameters
Schedule<T>(T, ComponentSystemBase, JobHandle)
Declaration
public static JobHandle Schedule<T>(this T jobData, ComponentSystemBase system, JobHandle dependsOn = null)
where T : struct, JobForEachExtensions.IBaseJobForEach
Parameters
Returns
Type |
Description |
JobHandle |
|
Type Parameters
Schedule<T>(T, EntityQuery, JobHandle)
Declaration
public static JobHandle Schedule<T>(this T jobData, EntityQuery query, JobHandle dependsOn = null)
where T : struct, JobForEachExtensions.IBaseJobForEach
Parameters
Type |
Name |
Description |
T |
jobData |
|
EntityQuery |
query |
|
JobHandle |
dependsOn |
|
Returns
Type |
Description |
JobHandle |
|
Type Parameters
ScheduleSingle<T>(T, ComponentSystemBase, JobHandle)
Declaration
public static JobHandle ScheduleSingle<T>(this T jobData, ComponentSystemBase system, JobHandle dependsOn = null)
where T : struct, JobForEachExtensions.IBaseJobForEach
Parameters
Returns
Type |
Description |
JobHandle |
|
Type Parameters
ScheduleSingle<T>(T, EntityQuery, JobHandle)
Declaration
public static JobHandle ScheduleSingle<T>(this T jobData, EntityQuery query, JobHandle dependsOn = null)
where T : struct, JobForEachExtensions.IBaseJobForEach
Parameters
Type |
Name |
Description |
T |
jobData |
|
EntityQuery |
query |
|
JobHandle |
dependsOn |
|
Returns
Type |
Description |
JobHandle |
|
Type Parameters