Garry's Mod Wiki

draw.NoTexture

draw.NoTexture()

Description

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

This is a rendering function that requires a 2d rendering context.

This means that it will only work in 2d Rendering Hooks.

Page Links


Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 7