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: 25ms

Session 0
DB GetPage 2
Generate Html 1
SaveChanges 7
Render Body 0
Render Sidebar 12