docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BurstCompiler

    The burst compiler runtime frontend.

    Inheritance
    object
    BurstCompiler
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Burst
    Assembly: Unity.Burst.dll
    Syntax
    public static class BurstCompiler

    Fields

    Name Description
    Options

    Gets the global options for the burst compiler.

    Properties

    Name Description
    IsEnabled

    Gets a value indicating whether Burst is enabled.

    Methods

    Name Description
    CompileFunctionPointer<T>(T)

    Compile the following delegate into a function pointer with burst, invokable from a Burst Job or from regular C#.

    CompileILPPMethod(RuntimeMethodHandle, RuntimeMethodHandle, RuntimeTypeHandle)

    DO NOT USE - deprecated.

    CompileILPPMethod2(RuntimeMethodHandle)

    Compile an IL Post-Processed method.

    CompileUnsafeStaticMethod(RuntimeMethodHandle)

    DO NOT USE - deprecated.

    GetExecutionMode()

    Retrieve the current execution mode that is configured.

    GetILPPMethodFunctionPointer(IntPtr)

    DO NOT USE - deprecated.

    GetILPPMethodFunctionPointer2(IntPtr, RuntimeMethodHandle, RuntimeTypeHandle)

    For a previous call to CompileILPPMethod2(RuntimeMethodHandle), get the actual executable function pointer.

    IsLoadAdditionalLibrarySupported()

    Check if the LoadAdditionalLibrary API is supported by the current version of Unity

    SetExecutionMode(BurstExecutionEnvironment)

    Sets the execution mode for all jobs spawned from now on.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)