Garry's Mod Wiki

Revision Difference

2D_Rendering_Hooks#522299

<cat>removed</cat><cat>Dev</cat>⤶ This page lists all 2D rendering hooks. When these hooks are run, a 2D rendering context is provided by the engine.⤶ ⤶ You can initialize a 2D rendering context manually at any time with <page>cam.Start2D</page>.⤶ ⤶ <note>The list is not generated automatically, some information may be missed</note>⤶ ⤶ # See also⤶ <page>2D Rendering Functions</page> - functions that require a 2D rendering context⤶ ⤶ <page>3D Rendering Hooks</page>⤶ ⤶ <page>Render Order</page>⤶ ⤶ # Hooks ⤶ - <page>GM:DrawOverlay</page>⤶ - <page>GM:HUDDrawScoreBoard</page>⤶ - <page>GM:HUDPaint</page>⤶ - <page>GM:HUDPaintBackground</page>⤶ - <page>GM:PostDrawEffects</page>⤶ - <page>GM:PostDrawHUD</page>⤶ - <page>GM:PostRenderVGUI</page>⤶ - <page>GM:RenderScreenspaceEffects</page>⤶