# IntegrationContext

> Create a new Integration context.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.LightTransport](/engine/6000.5/script-reference/unityengine/lighttransport.md)
* **Assembly:** UnityEditor.CoreModule

## IntegrationContext()

Create a new Integration context.

```csharp
public IntegrationContext()
```

### Remarks

Constructs a new IntegrationContext object. The parameterless constructor creates a new context with default initialization, while the IntPtr constructor is used internally by the light transport system to wrap native context objects.

**Usage Notes:**

* Most user code will not need to create IntegrationContext objects directly.
* Contexts are typically managed by [IWorld](/engine/6000.5/script-reference/unityengine/lighttransport/iworld.md) implementations.
* Manual context creation is only needed for advanced integration scenarios.

## IntegrationContext(IntPtr)

Create a new Integration context.

```csharp
public IntegrationContext(nint ptr)
```

### Parameters

**** (\[IntPtr]\(https\://learn.microsoft.com/dotnet/api/system.intptr)):&#x20;

### Remarks

Constructs a new IntegrationContext object. The parameterless constructor creates a new context with default initialization, while the IntPtr constructor is used internally by the light transport system to wrap native context objects.

**Usage Notes:**

* Most user code will not need to create IntegrationContext objects directly.
* Contexts are typically managed by [IWorld](/engine/6000.5/script-reference/unityengine/lighttransport/iworld.md) implementations.
* Manual context creation is only needed for advanced integration scenarios.
