Garry's Mod Wiki

IMaterial:GetTexture

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.

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 7
Generate Html 3
SaveChanges (1) 11
Render Body 0
Render Sidebar 12