surface.GetTextureSize

From Garry's Mod
Jump to: navigation, search
 surface.GetTextureSize( )

Contents

Description

Returns the size of the texture with the associated texture ID.

Arguments

number textureID

The texture ID, returned by surface.GetTextureID.

Returns

number

The texture width.

Returns

number

The texture height.
Personal tools
Navigation