IssuePluginEventAndDataWithFlags(nint, int, CustomMarkerCallbackFlags, nint)
Send a user-defined event to a native code plugin with custom data and callback flags.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
IssuePluginEventAndDataWithFlags(IntPtr, int, CustomMarkerCallbackFlags, IntPtr)
public void IssuePluginEventAndDataWithFlags(nint callback, int eventID, CustomMarkerCallbackFlags flags, nint data)
Parameters
Native code callback to queue for Unity's renderer to invoke.
Built in or user defined id to send to the callback.
See CustomMarkerCallbackFlags for more details.
Custom data to pass to the native plugin callback.