Garry's Mod Wiki

IMaterial:SetShader

IMaterial:SetShader

  IMaterial:SetShader( string shaderName )

Description

We advise against using this. It may be changed or removed in a future update. This function does nothing

The functionality of this function was removed due to the amount of crashes it caused.

Arguments

1 string shaderName
Name of the shader

Special Pages


Wikis

?

Render Time: 65ms

DB GetPage 37
Generate Html 1
SaveChanges (1) 18
Render Body 0
Render Sidebar 7