Struct PortableFunctionPointer<T>
Simple RAII-like wrapper that simplify making C# function delegate burst compatible.
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public struct PortableFunctionPointer<T> where T : Delegate
Type Parameters
| Name | Description |
|---|---|
| T | the function delegate type |
Constructors
| Name | Description |
|---|---|
| PortableFunctionPointer(T) | Convert the delegate to a burst-compatible function pointer. |