Class JobProcessComponentDataExtensions
Inheritance
System.Object
JobProcessComponentDataExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Entities
Syntax
public static class JobProcessComponentDataExtensions
Methods
Run<T>(T, ComponentSystemBase)
Declaration
public static void Run<T>(this T jobData, ComponentSystemBase system)where T : struct, IBaseJobProcessComponentData
Parameters
Type | Name | Description |
---|---|---|
T | jobData | |
ComponentSystemBase | system |
Type Parameters
Name | Description |
---|---|
T |
Schedule<T>(T, ComponentSystemBase, JobHandle)
Declaration
public static JobHandle Schedule<T>(this T jobData, ComponentSystemBase system, JobHandle dependsOn = null)where T : struct, IBaseJobProcessComponentData
Parameters
Type | Name | Description |
---|---|---|
T | jobData | |
ComponentSystemBase | system | |
JobHandle | dependsOn |
Returns
Type | Description |
---|---|
JobHandle |
Type Parameters
Name | Description |
---|---|
T |
Schedule<T>(T, ComponentSystemBase, Int32, JobHandle)
Declaration
public static JobHandle Schedule<T>(this T jobData, ComponentSystemBase system, int innerloopBatchCount, JobHandle dependsOn = null)where T : struct, IBaseJobProcessComponentData
Parameters
Type | Name | Description |
---|---|---|
T | jobData | |
ComponentSystemBase | system | |
System.Int32 | innerloopBatchCount | |
JobHandle | dependsOn |
Returns
Type | Description |
---|---|
JobHandle |
Type Parameters
Name | Description |
---|---|
T |