Revision Difference
Global.AddonMaterial#518376
<function name="AddonMaterial" parent="Global" type="libraryfunc">
<description>
Loads the specified image from the /cache folder, used in combination <page>steamworks.Download</page>.&lt;br /&gt;
Loads the specified image from the /cache folder, used in combination <page>steamworks.Download</page>.<br />
Most addons will provide a 512x512 png image.
</description>
<realm>Client and Menu</realm>
<args>
<arg name="name" type="string">The name of the file.</arg>
</args>
<rets>
<ret name="" type="IMaterial">The material, returns nil if the cached file is not an image.</ret>
</rets>
</function>