Tags a struct/method/class as being Burst compiled, with the default BurstCompileAttribute.FloatPrecision, BurstCompileAttribute.FloatMode and BurstCompileAttribute.CompileSynchronously.
[BurstCompile]
struct MyMethodsAreCompiledByBurstUsingTheDefaultSettings
{
//....
}
| Parameter | Description |
|---|---|
| floatPrecision | Specify the required floating point precision. |
| floatMode | Specify the required floating point mode. |
Tags a struct/method/class as being Burst compiled, with the specified BurstCompileAttribute.FloatPrecision and BurstCompileAttribute.FloatMode.
[BurstCompile(FloatPrecision.Low, FloatMode.Fast)] struct MyMethodsAreCompiledByBurstWithLowPrecisionAndFastFloatingPointMode { //.... }