RenderTexture.clear

Clear the entire target with a single color.

This function is usually called once every frame, to clear the previous contents of the target.

class RenderTexture
void
clear
(
Color color = Color.Black
)

Parameters

color
Type: Color

Fill color to use to clear the render target

Meta