Garry's Mod Wiki

Revision Difference

surface.SetTexture#512050

<function name="SetTexture" parent="surface" type="libraryfunc">⤶ <description>⤶ Sets the texture to be used in all upcoming draw operations using the surface library.⤶ ⤶ See also <page>surface.SetMaterial</page> for an <page>IMaterial</page> alternative.⤶ </description>⤶ <realm>Client and Menu</realm>⤶ <args>⤶ <arg name="textureID" type="number">The ID of the texture to draw with returned by &lt;page&gt;surface.GetTextureID&lt;/page&gt;.</arg>⤶ </args>⤶ </function>⤶ ⤶