Garry's Mod Wiki

Revision Difference

render.DrawTextureToScreenRect#512938

<function name="DrawTextureToScreenRect" parent="render" type="libraryfunc">⤶ <description>⤶ Draws a textured rectangle.⤶ ⤶ <rendercontext hook="false" type="2D"/>⤶ </description>⤶ <realm>Client</realm>⤶ <file line="175">lua/includes/extensions/client/render.lua</file>⤶ <args>⤶ <arg name="tex" type="ITexture">The texture to draw</arg>⤶ <arg name="x" type="number">The x coordinate of the rectangle to draw.</arg>⤶ <arg name="y" type="number">The y coordinate of the rectangle to draw.</arg>⤶ <arg name="width" type="number">The width of the rectangle to draw.</arg>⤶ <arg name="height" type="number">The height of the rectangle to draw.</arg>⤶ </args>⤶ </function>⤶ ⤶