Garry's Mod Wiki

Revision Difference

render.SetRenderTargetEx#565553

<function name="SetRenderTargetEx" parent="render" type="libraryfunc"> <description> Sets the render target with the specified index to the specified rt. <warning>If you try to render with MSAA and set the main RenderTarget with another RenderTarget, nothing will be rendered.</warning>⤶ <validate>If you try to render with MSAA and set the main RenderTarget with another RenderTarget, nothing will be rendered.</validate>⤶ </description> <realm>Client</realm> <args> <arg name="rtIndex" type="number">The index of the rt to set.</arg> <arg name="texture" type="ITexture">The new render target to be used.</arg> </args> </function>