docs.unity.cn
    Show / Hide Table of Contents

    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
    Object
    BurstCompilerOptions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Burst
    Syntax
    public sealed class BurstCompilerOptions

    Properties

    Name Description
    DisableOptimizations

    This property is no longer used and will be removed in a future major release.

    EnableBurstCompilation

    Gets or sets a boolean to enable or disable compilation of burst jobs.

    EnableBurstCompileSynchronously

    Gets or sets a boolean to force the compilation of all burst jobs synchronously.

    EnableBurstDebug

    Enable debugging mode

    EnableBurstSafetyChecks

    Gets or sets a boolean to enable or disable safety checks.

    EnableFastMath

    This property is no longer used and will be removed in a future major release. Use the [BurstCompile(FloatMode = FloatMode.Fast)] on the method directly to enable this feature

    ForceEnableBurstSafetyChecks

    Gets 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.

    IsEnabled

    Gets a boolean indicating whether burst is enabled.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use