PanelSettings.clearColor

public bool clearColor;

Description

Determines whether the color buffer is cleared before the panel is rendered.

This is typically used when a RenderTexture is assigned to PanelSettings.targetTexture. Otherwise, if a camera already clears the color of the render target, avoid redundant clearing to optimize performance.


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