docs.unity3d.com
    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

    Back to top
    Terms of use
    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