Method WithBurst
WithBurst<TDescription>(TDescription, FloatMode, FloatPrecision, bool)
Enables Burst for the Entities.ForEach or Job.WithCode that this invocation constructs.
Declaration
public static TDescription WithBurst<TDescription>(this TDescription description, FloatMode floatMode = FloatMode.Default, FloatPrecision floatPrecision = FloatPrecision.Standard, bool synchronousCompilation = false) where TDescription : ILambdaJobDescription
Parameters
Type | Name | Description |
---|---|---|
TDescription | description | The target object |
FloatMode | floatMode | Floating point optimization mode for Burst compilation |
FloatPrecision | floatPrecision | Floating point precision used for certain builtin operations |
bool | synchronousCompilation | Whether this invocation should be compiled by Burst before execution begins |
Returns
Type | Description |
---|---|
TDescription | The target object, suitable for chaining multiple methods |
Type Parameters
Name | Description |
---|---|
TDescription | Type of target object |