# RadeonRaysContext

> Constructor.

## Definition

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

## RadeonRaysContext()

Constructor.

```csharp
public RadeonRaysContext()
```

### Remarks

Create a new [RadeonRaysContext](/engine/6000.6/script-reference/unityengine/lighttransport/radeonrayscontext.md).

```csharp
using UnityEngine.LightTransport;

using var ctx = new RadeonRaysContext();
```

How to create a RadeonRaysContext.

## RadeonRaysContext(IntPtr)

Constructor.

```csharp
public RadeonRaysContext(nint ptr)
```

### Parameters

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

### Remarks

Create a new [RadeonRaysContext](/engine/6000.6/script-reference/unityengine/lighttransport/radeonrayscontext.md).

```csharp
using UnityEngine.LightTransport;

using var ctx = new RadeonRaysContext();
```

How to create a RadeonRaysContext.
