docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CompileFunctionPointer

    CompileFunctionPointer<T>(T)

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

    Declaration
    public static FunctionPointer<T> CompileFunctionPointer<T>(T delegateMethod) where T : class
    Parameters
    Type Name Description
    T delegateMethod

    The delegate to compile

    Returns
    Type Description
    FunctionPointer<T>

    A function pointer invokable from a Burst Job or from regular C#

    Type Parameters
    Name Description
    T

    Type of the delegate of the function pointer

    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)