docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TransportFunctionPointer<T>

    Represents a wrapper around burst compatible function pointers in a portable way

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Networking.Transport
    Assembly: solution.dll
    Syntax
    public struct TransportFunctionPointer<T> where T : Delegate
    Type Parameters
    Name Description
    T

    Constructors

    Name Description
    TransportFunctionPointer(FunctionPointer<T>)

    Initializes a new instance of the TransportFunctionPointer class

    TransportFunctionPointer(T)

    Initializes a new instance of the TransportFunctionPointer class

    Fields

    Name Description
    Ptr

    Returns Burst FunctionPointer<T>

    Methods

    Name Description
    Burst(T)

    returns a wrapped Burst compiled function pointer

    Managed(T)

    Returns a wrapped managed function pointer

    In This Article
    Back to top
    Copyright © 2023 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)