Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IssuePluginCustomTextureUpdateV1(IntPtr, Texture, uint)

Deprecated. Use CommandBuffer.IssuePluginCustomTextureUpdateV2 instead.
Read time 1 minuteLast updated 4 days ago

Definition

Warning
Deprecated. Use IssuePluginCustomTextureUpdateV2 to register TextureUpdate callbacks instead. Callbacks will be passed event IDs kUnityRenderingExtEventUpdateTextureBeginV2 or kUnityRenderingExtEventUpdateTextureEndV2, and data parameter of type UnityRenderingExtTextureUpdateParamsV2.
public void IssuePluginCustomTextureUpdateV1(IntPtr callback, Texture targetTexture, uint userData)

Parameters

callback

Native code callback to queue for Unity's renderer to invoke.

targetTexture

Texture resource to be updated.

userData

User data to send to the native plugin.

Remarks

Send a texture update event to a native code plugin.