How to clear the contents of a RenderTexture in script?

Heya,

I have a rendertexture and I am switching to another activity in my script that re-uses the rendertexture. I want the rendertexture contents to be reset back to a background type color. Essentially, I want to clear it to anything (black, clear, white) - anything is better than having what it already has. I know I could create/destroy it, but then I lose whatever settings were configured in the editor. I don’t want to destroy it, I just want to clear it.

How do I do that?

Gigiwoo.

For Material in Plane/3d Object

renderer.material.mainTexture = null;

Changing color in Material
Color(0,0,0,1) is the colour code

renderer.material.color = Color(0,0,0,1);

For guiTexture

guiTexture.texture = null;

For guiTexture color

guiTexture.color = Color(0,0,0,1);

something like this?
rendertexture is a guiTexture/plane?