GM/DrawOverlay

From Garry's Mod
Jump to: navigation, search
 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.

NOTE Only be called when r_drawvgui is enabled
NOTE This is a rendering hook with a 2D rendering context.
This means that the only rendering functions will work in it are functions with a 2D rendering context.
Personal tools
Navigation