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