Garry's Mod Wiki

Garry's Mod Wiki

  ITexture IMaterial:GetTexture( string param )

Description

Returns an ITexture based on the passed shader parameter.

Arguments

1 string param
The shader parameter to retrieve. This should normally be $basetexture.

Returns

1 ITexture
The value of the shader parameter. Returns nothing if the param doesn't exist.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...