# IssuePluginEvent(nint, int)

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

## Definition

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

## IssuePluginEvent(IntPtr, int)

```csharp
public void IssuePluginEvent(nint callback, int eventID)
```

### 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)): User defined id to send to the callback.

### Remarks

See [GL.IssuePluginEvent](/engine/6000.6/script-reference/unityengine/gl/issuepluginevent.md) for more details and an example.
