Garry's Mod Wiki

IMaterial:GetShader

  string IMaterial:GetShader()

Description

Returns the name of the materials shader.

This function does not work serverside on Linux SRCDS.

Issue Tracker: 3256

Returns

1 string
shaderName