Garry's Mod Wiki

render.ClearRenderTarget

  render.ClearRenderTarget( ITexture texture, table color )

Description

Clears a render target

It uses render.Clear then render.SetRenderTarget on the modified render target.

Arguments

1 ITexture texture
2 table color
The color, see Color