Garry's Mod Wiki




Forcibly updates the panels' HTML Material, similar to when Paint is called on it.
This is only useful if the panel is not normally visible, i.e the panel exists purely for its HTML Material.

Only works on with panels that have a HTML Material. See Panel:GetHTMLMaterial for more details.
A good place to call this is in the GM:PreRender hook