ドキュメント

Unity Engine

Unity Engine

IssuePluginCustomTextureUpdateV1(nint, Texture, uint)

Deprecated. Use CommandBuffer.IssuePluginCustomTextureUpdateV2 instead.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

IssuePluginCustomTextureUpdateV1(IntPtr, Texture, uint)

注意
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(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.

Remarks

Send a texture update event to a native code plugin.