Struct FunctionPointer<T>
A function pointer that can be used from a burst jobs. It needs to be compiled through
Syntax
public struct FunctionPointer<T> : IFunctionPointer
Type Parameters
Name |
Description |
T |
Type of the delegate of this function pointer
|
Constructors
FunctionPointer(IntPtr)
Creates a new instance of this function pointer with the following native pointer.
Declaration
public FunctionPointer(IntPtr ptr)
Parameters
Type |
Name |
Description |
System.IntPtr |
ptr |
|
Properties
Invoke
Invoke this function pointer. Must be called from a Burst Jobs.
Declaration
Property Value
Explicit Interface Implementations
IFunctionPointer.FromIntPtr(IntPtr)
Declaration
IFunctionPointer IFunctionPointer.FromIntPtr(IntPtr ptr)
Parameters
Type |
Name |
Description |
System.IntPtr |
ptr |
|
Returns
Implements