Garry's Mod Wiki

Revision Difference

render.ClearRenderTarget#512999

<function name="ClearRenderTarget" parent="render" type="libraryfunc">⤶ <description>⤶ Clears a render target⤶ ⤶ It uses <page>render.Clear</page> then <page>render.SetRenderTarget</page> on the modified render target.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="texture" type="ITexture"></arg>⤶ <arg name="color" type="table">The color, see &lt;page&gt;Color&lt;/page&gt;</arg>⤶ </args>⤶ </function>⤶ ⤶