Garry's Mod Wiki

Log in to edit

IMaterial:GetShader

<function name="GetShader" parent="IMaterial" type="classfunc"> <description> Returns the name of the materials shader. <bug issue="3256">This function does not work serverside on Linux SRCDS.</bug> </description> <realm>Shared and Menu</realm> <rets> <ret name="" type="string">shaderName</ret> </rets> </function>