docs.unity.cn
    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 Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use