Garry's Mod Wiki

Garry's Mod Wiki

  surface.SetTexture( number textureID )

Description

Sets the texture to be used in all upcoming draw operations using the surface library.

This is a legacy method, and should probably not be used, see surface.SetMaterial and IMaterial for a better alternative.

Arguments

1 number textureID
The ID of the texture to draw with returned by surface.GetTextureID.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...