Revision Difference
surface.SetTexture#551997
<function name="SetTexture" parent="surface" type="libraryfunc">
<description>
Sets the texture to be used in all upcoming draw operations using the surface library.
See <page>surface.SetMaterial</page> for an <page>IMaterial</page> alternative.
⤶
<warning>It's probably best to use the alternative mentioned above.</warning>⤶
⤶
<note>It's probably best to use the alternative mentioned above.</note>⤶
</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>