Garry's Mod Wiki

GM:DrawOverlay

  GM:DrawOverlay()

Description

Called after all other 2D draw hooks are called. Draws over all VGUI Panels and HUDs.

Unlike GM:HUDPaint, this hook is called with the game paused and while the Camera SWEP is equipped.

Only gets called when r_drawvgui is enabled.
This is a rendering hook which provides a 2d rendering context.