---
title: Initialize(IDeviceContext)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/lighttransport/postprocessing/radeonraysprobepostprocessor/initialize
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/lighttransport/postprocessing/radeonraysprobepostprocessor/initialize.md
last_updated: 2026-10-07
generated_at: 2026-11-11T18:15:17.237Z
locale: en-us
---

# Initialize(IDeviceContext)

> Initialize the RadeonRaysProbePostProcessor.

## Definition

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

```csharp
public bool Initialize(IDeviceContext context)
```

### Parameters

**** (\[IDeviceContext]\(/engine/7000.0/script-reference/unityengine/lighttransport/idevicecontext)): Device context.

### Returns

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

### Remarks

Must be called before using the other methods provided by the interface. When initializing the [RadeonRaysProbePostProcessor](/engine/7000.0/script-reference/unityengine/lighttransport/postprocessing/radeonraysprobepostprocessor.md), the compute kernels are compiled.
