文档

Unity Engine

Unity Engine

BurstCompilerOptions

Options available at Editor time and partially at runtime to control the behavior of the compilation and to enable/disable burst jobs.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Class
  • Namespace: Unity.Burst
  • Assembly: UnityEngine.BurstModule
public sealed class BurstCompilerOptions

Properties

Property

Description

EnableBurstCompilationGets or sets a boolean to enable or disable compilation of burst jobs.
EnableBurstCompileSynchronouslyGets or sets a boolean to force the compilation of all burst jobs synchronously.
EnableBurstDebugEnable debugging mode
EnableBurstSafetyChecksGets or sets a boolean to enable or disable safety checks.
ForceEnableBurstSafetyChecksGets or sets a boolean to force enable safety checks, irrespective of what
EnableBurstSafetyChecks
is set to, or whether the job or function has
DisableSafetyChecks
set.
IsEnabledGets a boolean indicating whether burst is enabled.