docs.unity.cn
    Show / Hide Table of Contents

    Method GetILPPMethodFunctionPointer2

    GetILPPMethodFunctionPointer2(IntPtr, RuntimeMethodHandle, RuntimeTypeHandle)

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

    Declaration
    public static void *GetILPPMethodFunctionPointer2(IntPtr ilppMethod, RuntimeMethodHandle managedMethodHandle, RuntimeTypeHandle delegateTypeHandle)
    Parameters
    Type Name Description
    IntPtr ilppMethod

    The result of a previous call to CompileILPPMethod(RuntimeMethodHandle, RuntimeMethodHandle, RuntimeTypeHandle).

    RuntimeMethodHandle managedMethodHandle

    The fallback managed method to use.

    RuntimeTypeHandle delegateTypeHandle

    The type of the delegate used to execute these methods.

    Returns
    Type Description
    Void*

    A pointer into an executable region, for running the function pointer.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, August 9, 2023