surface.SetTexture

From Garry's Mod
Jump to: navigation, search
 surface.SetTexture( )

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

number textureID

The ID of the texture to draw with returned by surface.GetTextureID.
Personal tools
Navigation