# Initialize()

> Initialize the device context.

## Definition

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

```csharp
public bool Initialize()
```

### Returns

| Type                                                          | Description                                              |
| ------------------------------------------------------------- | -------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the device context was initialized successfully. |

### Remarks

Initialize the [ReferenceContext](/engine/6000.6/script-reference/unityengine/lighttransport/referencecontext.md).
