# IssuePluginCustomTextureUpdate(nint, Texture, uint)

> Deprecated. Use CommandBuffer.IssuePluginCustomTextureUpdateV2 instead.

## Definition

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

## IssuePluginCustomTextureUpdate(IntPtr, Texture, uint)

> **Warning:**
>
> **Deprecated.** Use IssuePluginCustomTextureUpdateV2 to register TextureUpdate callbacks instead. Callbacks will be passed event IDs kUnityRenderingExtEventUpdateTextureBeginV2 or kUnityRenderingExtEventUpdateTextureEndV2, and data parameter of type UnityRenderingExtTextureUpdateParamsV2.

```csharp
public void IssuePluginCustomTextureUpdate(nint callback, Texture targetTexture, uint userData)
```

### Parameters

**** (\[IntPtr]\(https\://learn.microsoft.com/dotnet/api/system.intptr)): Native code callback to queue for Unity's renderer to invoke.**** (\[Texture]\(/engine/6000.7/script-reference/unityengine/texture)): Texture resource to be updated.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): User data to send to the native plugin.

### Remarks

Send a texture update event to a native code plugin.
