surface.SetTexture

From Garry's Mod
Revision as of 07:49, 20 March 2017 by NeatNit (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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