CommandBuffer.InvokeOnRenderObjectCallbacks

Declaration

public void InvokeOnRenderObjectCallbacks();

Description

Schedules an invocation of the OnRenderObject callback for MonoBehaviour scripts.

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.


Did you find this page useful? Please give it a rating: