Revision Difference
surface.SetTexture#547122
<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>⤶
See <page>surface.SetMaterial</page> for an <page>IMaterial</page> alternative.
⤶
<warning>It's probably best to use the alternative mentioned above.</warning>⤶
⤶
</description>⤶
<realm>Client and Menu</realm>
<args>
<arg name="textureID" type="number">The ID of the texture to draw with returned by <page>surface.GetTextureID</page>.</arg>
</args>
</function>