Garry's Mod Wiki

TextureData

Description

Parameters

number texture
surface.GetTextureID number of the texture to be drawn.
number x
The x Coordinate.
number y
The y Coordinate.
number w
The width of the texture.
number h
The height of the texture.
table color
The texture color. See Color.

Default: color_white