GM/HUDPaintBackground

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

Revision as of 08:14, 25 August 2016

 GM:HUDPaintBackground( )

Description

Called after 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