Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CompileFunctionPointer<T>(T)

Compile the following delegate into a function pointer with burst, invokable from a Burst Job or from regular C#.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: Unity.Burst
  • Assembly: UnityEngine.BurstModule
public static FunctionPointer<T> CompileFunctionPointer<T>(T delegateMethod) where T : class

Parameters

delegateMethod

T
The delegate to compile

Returns

Type

Description

FunctionPointer<T>A function pointer invokable from a Burst Job or from regular C#