Class LambdaJobDescriptionConstructionMethods
Inheritance
LambdaJobDescriptionConstructionMethods
Syntax
public static class LambdaJobDescriptionConstructionMethods
Methods
Run<TDescription>(TDescription)
Declaration
public static void Run<TDescription>(this TDescription description)
where TDescription : ILambdaJobDescription
Parameters
Type |
Name |
Description |
TDescription |
description |
|
Type Parameters
Name |
Description |
TDescription |
|
Schedule<TDescription>(TDescription, JobHandle)
Declaration
public static JobHandle Schedule<TDescription>(this TDescription description, JobHandle dependency)
where TDescription : ILambdaJobDescription
Parameters
Type |
Name |
Description |
TDescription |
description |
|
JobHandle |
dependency |
|
Returns
Type Parameters
Name |
Description |
TDescription |
|
WithBurst<TDescription>(TDescription, FloatMode, FloatPrecision, Boolean)
Declaration
public static TDescription WithBurst<TDescription>(this TDescription description, FloatMode floatMode = FloatMode.Default, FloatPrecision floatPrecision = FloatPrecision.Standard, bool synchronousCompilation = false)
where TDescription : ILambdaJobDescription
Parameters
Returns
Type |
Description |
TDescription |
|
Type Parameters
Name |
Description |
TDescription |
|
WithDeallocateOnJobCompletion<TDescription, TCapturedVariableType>(TDescription, TCapturedVariableType)
Declaration
public static TDescription WithDeallocateOnJobCompletion<TDescription, TCapturedVariableType>(this TDescription description, TCapturedVariableType capturedVariable)
where TDescription : ILambdaJobDescription
Parameters
Type |
Name |
Description |
TDescription |
description |
|
TCapturedVariableType |
capturedVariable |
|
Returns
Type |
Description |
TDescription |
|
Type Parameters
Name |
Description |
TDescription |
|
TCapturedVariableType |
|
WithName<TDescription>(TDescription, String)
Declaration
public static TDescription WithName<TDescription>(this TDescription description, string name)
where TDescription : ILambdaJobDescription
Parameters
Type |
Name |
Description |
TDescription |
description |
|
String |
name |
|
Returns
Type |
Description |
TDescription |
|
Type Parameters
Name |
Description |
TDescription |
|
WithNativeDisableContainerSafetyRestriction<TDescription, TCapturedVariableType>(TDescription, TCapturedVariableType)
Declaration
public static TDescription WithNativeDisableContainerSafetyRestriction<TDescription, TCapturedVariableType>(this TDescription description, TCapturedVariableType capturedVariable)
where TDescription : ILambdaJobDescription
Parameters
Type |
Name |
Description |
TDescription |
description |
|
TCapturedVariableType |
capturedVariable |
|
Returns
Type |
Description |
TDescription |
|
Type Parameters
Name |
Description |
TDescription |
|
TCapturedVariableType |
|
WithNativeDisableParallelForRestriction<TDescription, TCapturedVariableType>(TDescription, TCapturedVariableType)
Declaration
public static TDescription WithNativeDisableParallelForRestriction<TDescription, TCapturedVariableType>(this TDescription description, TCapturedVariableType capturedVariable)
where TDescription : ILambdaJobDescription
Parameters
Type |
Name |
Description |
TDescription |
description |
|
TCapturedVariableType |
capturedVariable |
|
Returns
Type |
Description |
TDescription |
|
Type Parameters
Name |
Description |
TDescription |
|
TCapturedVariableType |
|
WithNativeDisableUnsafePtrRestriction<TDescription, TCapturedVariableType>(TDescription, TCapturedVariableType*)
Declaration
public static TDescription WithNativeDisableUnsafePtrRestriction<TDescription, TCapturedVariableType>(this TDescription description, TCapturedVariableType*capturedVariable)
where TDescription : ILambdaJobDescription where TCapturedVariableType : struct
Parameters
Type |
Name |
Description |
TDescription |
description |
|
TCapturedVariableType* |
capturedVariable |
|
Returns
Type |
Description |
TDescription |
|
Type Parameters
Name |
Description |
TDescription |
|
TCapturedVariableType |
|
WithoutBurst<TDescription>(TDescription)
Declaration
public static TDescription WithoutBurst<TDescription>(this TDescription description)
where TDescription : ILambdaJobDescription
Parameters
Type |
Name |
Description |
TDescription |
description |
|
Returns
Type |
Description |
TDescription |
|
Type Parameters
Name |
Description |
TDescription |
|
WithReadOnly<TDescription, TCapturedVariableType>(TDescription, TCapturedVariableType)
Declaration
public static TDescription WithReadOnly<TDescription, TCapturedVariableType>(this TDescription description, TCapturedVariableType capturedVariable)
where TDescription : ILambdaJobDescription
Parameters
Type |
Name |
Description |
TDescription |
description |
|
TCapturedVariableType |
capturedVariable |
|
Returns
Type |
Description |
TDescription |
|
Type Parameters
Name |
Description |
TDescription |
|
TCapturedVariableType |
|
WithStructuralChanges<TDescription>(TDescription)
Declaration
public static TDescription WithStructuralChanges<TDescription>(this TDescription description)
where TDescription : ILambdaJobDescription
Parameters
Type |
Name |
Description |
TDescription |
description |
|
Returns
Type |
Description |
TDescription |
|
Type Parameters
Name |
Description |
TDescription |
|