docs.unity3d.com
    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
    Namespace: Unity.Burst
    Syntax
    public sealed class BurstCompilerOptions : object

    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023