# CreateJobReflectionData

> Creates job reflection data.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Jobs.LowLevel.Unsafe](/engine/6000.5/script-reference/unity/jobs/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.CoreModule

## CreateJobReflectionData(Type, JobType, Object, Object, Object)

Creates job reflection data.

> **Warning:**
>
> **Deprecated.** JobType is obsolete. The parameter should be removed.

```csharp
public static nint CreateJobReflectionData(Type type, JobType jobType, object managedJobFunction0, object managedJobFunction1 = null, object managedJobFunction2 = null)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): **** (\[JobType]\(/engine/6000.5/script-reference/unity/jobs/lowlevel/unsafe/jobtype)): **** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): **** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): **** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)):&#x20;

### Returns

| Type                                                           | Description                                      |
| -------------------------------------------------------------- | ------------------------------------------------ |
| [IntPtr](https://learn.microsoft.com/dotnet/api/system.intptr) | Returns a pointer to internal JobReflectionData. |

## CreateJobReflectionData(Type, Object, Object, Object)

Creates job reflection data.

```csharp
public static nint CreateJobReflectionData(Type type, object managedJobFunction0, object managedJobFunction1 = null, object managedJobFunction2 = null)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): **** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): **** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): **** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)):&#x20;

### Returns

| Type                                                           | Description                                      |
| -------------------------------------------------------------- | ------------------------------------------------ |
| [IntPtr](https://learn.microsoft.com/dotnet/api/system.intptr) | Returns a pointer to internal JobReflectionData. |

## CreateJobReflectionData(Type, Type, JobType, Object)

Creates job reflection data.

> **Warning:**
>
> **Deprecated.** JobType is obsolete. The parameter should be removed.

```csharp
public static nint CreateJobReflectionData(Type wrapperJobType, Type userJobType, JobType jobType, object managedJobFunction0)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): **** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): **** (\[JobType]\(/engine/6000.5/script-reference/unity/jobs/lowlevel/unsafe/jobtype)): **** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)):&#x20;

### Returns

| Type                                                           | Description                                      |
| -------------------------------------------------------------- | ------------------------------------------------ |
| [IntPtr](https://learn.microsoft.com/dotnet/api/system.intptr) | Returns a pointer to internal JobReflectionData. |

## CreateJobReflectionData(Type, Type, Object)

Creates job reflection data.

```csharp
public static nint CreateJobReflectionData(Type wrapperJobType, Type userJobType, object managedJobFunction0)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): **** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): **** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)):&#x20;

### Returns

| Type                                                           | Description                                      |
| -------------------------------------------------------------- | ------------------------------------------------ |
| [IntPtr](https://learn.microsoft.com/dotnet/api/system.intptr) | Returns a pointer to internal JobReflectionData. |
