Garry's Mod Wiki

Revision Difference

IMaterial:Recompute#549208

<function name="Recompute" parent="IMaterial" type="classfunc"> <description> Recomputes the material's snapshot. This needs to be called if you have changed variables on your material and it isn't changing. Be careful though - this function is slow - so try to call it only when needed! </description> <realm>Shared</realm>⤶ <realm>Shared and Menu</realm>⤶ <file_name>src/garrysmod/Objects/lua_material.cpp</file_name> <file_line>517</file_line> </function>