Version: 2022.3
LanguageEnglish
  • C#
Method group is Obsolete

CommandBuffer.IssuePluginCustomTextureUpdate

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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

Declaration

public void IssuePluginCustomTextureUpdate(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.

Description

Deprecated. Use CommandBuffer.IssuePluginCustomTextureUpdateV2 instead.

Send a texture update event to a native code plugin.