Class BurstCompilerOptions
Options available at Editor time and partially at runtime to control the behavior of the compilation and to enable/disable burst jobs.
Inheritance
Namespace: Unity.Burst
Syntax
public sealed class BurstCompilerOptions
Properties
DisableOptimizations
Gets or sets a boolean to enable or disable compiler optimizations
Declaration
public bool DisableOptimizations { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This is only available at Editor time. Does not have an impact on player mode.
EnableBurstCompilation
Gets or sets a boolean to enable or disable compilation of burst jobs.
Declaration
public bool EnableBurstCompilation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableBurstCompileSynchronously
Gets or sets a boolean to force the compilation of all burst jobs synchronously.
Declaration
public bool EnableBurstCompileSynchronously { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This is only available at Editor time. Does not have an impact on player mode.
EnableBurstSafetyChecks
Gets or sets a boolean to enable or disable safety checks.
Declaration
public bool EnableBurstSafetyChecks { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This is only available at Editor time. Does not have an impact on player mode.
EnableFastMath
Gets or sets a boolean to enable or disable fast math calculation.
Declaration
public bool EnableFastMath { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This is only available at Editor time. Does not have an impact on player mode.
IsEnabled
Gets a boolean indicating whether burst is enabled.
Declaration
public bool IsEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |