draw.NoTexture

From Garry's Mod
Jump to: navigation, search
 draw.NoTexture( )

Description

Sets drawing texture to a default white texture (vgui/white) via surface.SetMaterial. Useful for resetting the drawing texture.

NOTE

This is a rendering function that requires a 2D rendering context.
This means that it will only work in hooks with a 2D rendering context.

Personal tools
Navigation