Method CompileFunctionPointer
CompileFunctionPointer<T>(T)
Compile the following delegate into a function pointer with burst, invokable from a Burst Job or from regular C#.
Declaration
public static FunctionPointer<T> CompileFunctionPointer<T>(T delegateMethod)
where T : class
Parameters
Type | Name | Description |
---|---|---|
T | delegateMethod | The delegate to compile |
Returns
Type | Description |
---|---|
FunctionPointer<T> | A function pointer invokable from a Burst Job or from regular C# |
Type Parameters
Name | Description |
---|---|
T | Type of the delegate of the function pointer |