ITexture
From GMod Wiki
A texture object. Attention! If you want to get texture from material use this example:
Material("tools/toolsblack"):GetMaterialTexture("$basetexture")
Using imaterial it provides you interesting results.
Object Methods
ITexture:__index
ITexture:Download
ITexture:GetActualHeight
ITexture:GetActualWidth
ITexture:GetMappingHeight
ITexture:GetMappingWidth
ITexture:GetName
ITexture:IsError