文档

Unity Engine

Unity Engine

IssuePluginCustomTextureUpdateV2(nint, Texture, uint)

Send a texture update event to a native code plugin.
阅读时间1 分钟最后更新于 1 个月前

Definition

IssuePluginCustomTextureUpdateV2(IntPtr, Texture, uint)

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