Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

CameraClearFlags.Depth

Description

Clear only the depth buffer.

This will leave colors from the previous frame or whatever was displayed before. Additional resources: Camera.clearFlags property, camera component.