Version: 2023.2

CommandBuffer.InvokeOnRenderObjectCallbacks

切换到手册
public void InvokeOnRenderObjectCallbacks ();

描述

为 MonoBehaviour 脚本调度 OnRenderObject 回调的调用。

This method triggers MonoBehaviour.OnRenderObject. Call this function to issue the OnRenderObject callback from your render pipeline. You should typically call this function after the Camera renders the Scene but before adding post-processing. This command is essentially the same to ScriptableRenderContext.InvokeOnRenderObjectCallback.