DImage/SetOnViewMaterial

From Garry's Mod
Revision as of 06:39, 19 January 2017 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 DImage:SetOnViewMaterial( )

DescriptionPanelFunc

Similar to DImage:SetImage, but will only do the expensive part of actually loading the textures/material if the material is about to be rendered/viewed.

Useful for cases like DIconBrowser, where there are hundreds of small icons in 1 panel in a list that do not need all to be loaded at the same time.

Arguments

string mat

Arguments

string backupMat

Personal tools
Navigation