Garry's Mod Wiki

Panel:UpdateHTMLTexture

Description

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

Page Links


Special Pages


Wikis

?

Render Time: 30ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 12