# CompileFunctionPointer<T>(T)

> Compile the following delegate into a function pointer with burst, invokable from a Burst Job or from regular C#.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Burst](/engine/6000.7/script-reference/unity/burst.md)
* **Assembly:** UnityEngine.BurstModule

```csharp
public static FunctionPointer<T> CompileFunctionPointer<T>(T delegateMethod) where T : class
```

### Parameters

**** (T): The delegate to compile

### Returns

| Type                                                                                   | Description                                                      |
| -------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| [FunctionPointer\<T>](/engine/6000.7/script-reference/unity/burst/functionpointer1.md) | A function pointer invokable from a Burst Job or from regular C# |
