GM/HUDPaintBackground

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
{{Hook
 
{{Hook
|Description=Called after {{HookFunction|GM|HUDPaint}} when the HUD background is being drawn.<br/>
+
|Description=Called before {{HookFunction|GM|HUDPaint}} when the HUD background is being drawn.<br/>
 
Things rendered in this hook will '''always''' appear behind things rendered in {{HookFunction|GM|HUDPaint}}.
 
Things rendered in this hook will '''always''' appear behind things rendered in {{HookFunction|GM|HUDPaint}}.
  
Line 6: Line 6:
 
|Realm=Client
 
|Realm=Client
 
|Predicted=No
 
|Predicted=No
|HidePredictionWarning=No
 
|Name=HUDPaintBackground
 
|Parent=GM
 
 
}}
 
}}

Latest revision as of 17:00, 13 July 2019

 GM:HUDPaintBackground( )

Description

Called before GM:HUDPaint when the HUD background is being drawn.
Things rendered in this hook will always appear behind things rendered in GM:HUDPaint.

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