Panel/UpdateHTMLTexture

From Garry's Mod
Jump to: navigation, search
 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.

NOTE

Only works on with panels that have a HTML Material. See Panel:GetHTMLMaterial for more details.

NOTE

A good place to call this is in the GM:PreRender hook

Personal tools
Navigation