Skip to main content

Unity.Networking.Transport.TransportFunctionPointer-1

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.GetType()

Object.ReferenceEquals(Object, Object)

Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
public struct TransportFunctionPointer<T>
where T : Delegate
Type Parameters#
NameDescription
T

TransportFunctionPointer(T)#

Initializes a new instance of the class

Declaration#

public TransportFunctionPointer(T executeDelegate)

Parameters#

TypeNameDescription
TexecuteDelegateThe execute delegate

TransportFunctionPointer(FunctionPointer\<T>)#

Initializes a new instance of the class

Declaration#

public TransportFunctionPointer(FunctionPointer<T> Pointer)

Parameters#

TypeNameDescription
FunctionPointer\<T>PointerThe pointer

#

Ptr#

Returns Burst

Declaration#

public readonly FunctionPointer<T> Ptr

Field Value#

TypeDescription
FunctionPointer\<T>

#

Burst(T)#

returns a wrapped Burst compiled function pointer

Declaration#

public static TransportFunctionPointer<T> Burst(T burstCompilableDelegate)

Parameters#

TypeNameDescription
TburstCompilableDelegateThe burst compilable delegate

Returns#

TypeDescription
TransportFunctionPointer\<T>A transport function pointer of t

Managed(T)#

Returns a wrapped managed function pointer

Declaration#

public static TransportFunctionPointer<T> Managed(T managedDelegate)

Parameters#

TypeNameDescription
TmanagedDelegateThe managed delegate

Returns#

TypeDescription
TransportFunctionPointer\<T>A transport function pointer of t