docs.unity3d.com
Search Results for

    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.

    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)