Version: 2021.3
LanguageEnglish
  • C#

ScriptableRenderContext.StereoEndRender

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public void StereoEndRender(Camera camera);

Declaration

public void StereoEndRender(Camera camera, int eye);

Declaration

public void StereoEndRender(Camera camera, int eye, bool isFinalPass);

Parameters

camera Camera to indicate completion of stereo rendering.
eye The current eye to be rendered.

Description

Schedule notification of completion of stereo rendering on a single frame.

Notify clients that stereo rendering has completed so they can begin any post-render work.

Additionally, this API will reset properties on the camera that had been affected by stereo rendering.

Additional resources: SetupCameraProperties, StartMultiEye, StopMultiEye, Camera.TryGetCullingParameters.