Garry's Mod Wiki

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...