CompileFunctionPointer<T>(T)
Compile the following delegate into a function pointer with burst, invokable from a Burst Job or from regular C#.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Burst
- Assembly: UnityEngine.BurstModule
public static FunctionPointer<T> CompileFunctionPointer<T>(T delegateMethod) where T : class
Parameters
Returns
Type | Description |
|---|---|
| FunctionPointer<T> | A function pointer invokable from a Burst Job or from regular C# |