OnRenderImage(RenderTexture, RenderTexture)
Event function that Unity calls after a Camera has finished rendering, that allows you to modify the Camera's final image.
Read time 1 minuteLast updated 8 hours ago
Definition
- Type: Method
- Namespace: UnityEngine
OnRenderImage()
public void OnRenderImage(RenderTexture source, RenderTexture destination)
Parameters
Remarks
In the Built-in Render Pipeline, Unity calls on MonoBehaviours that are attached to the same GameObject as an enabled Camera component, after the Camera finished rendering. You can use to create a fullscreen post-processing effect. For a full description and code example, see MonoBehaviour.OnRenderImage(RenderTexture, RenderTexture).
OnRenderImageOnRenderImageOnRenderImage