Garry's Mod Wiki

surface.SetTexture

surface.SetTexture( number textureID )

Description

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

See also surface.SetMaterial for an IMaterial alternative.

Arguments

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

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 4
Generate Html 5
SaveChanges 9
Render Body 0
Render Sidebar 13