# IssuePluginEventAndData(nint, int, nint)

> Send a user-defined event to a native code plugin with custom data.

## Definition

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

## IssuePluginEventAndData(IntPtr, int, IntPtr)

```csharp
public void IssuePluginEventAndData(nint callback, int eventID, nint data)
```

### Parameters

**** (\[IntPtr]\(https\://learn.microsoft.com/dotnet/api/system.intptr)): Native code callback to queue for Unity's renderer to invoke.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Built in or user defined id to send to the callback.**** (\[IntPtr]\(https\://learn.microsoft.com/dotnet/api/system.intptr)): Custom data to pass to the native plugin callback.
