Garry's Mod Wiki

Revision Difference

derma.SkinTexture#546945

<function name="SkinTexture" parent="derma" type="libraryfunc"> <description>Returns a function to draw a specified texture of panels skin.</description> <realm>Client and Menu</realm> <file line="207-L217">lua/derma/derma.lua</file>⤶ <args> <arg name="name" type="string">The identifier of the texture</arg> <arg name="pnl" type="Panel">Panel to get the skin of.</arg> <arg name="fallback" type="any" default="nil">What to return if we failed to retrieve the texture</arg> </args> <rets> <ret name="" type="function">A function that is created with the <page>GWEN</page> to draw a texture.</ret> </rets> </function>