surface.GetTextureSize
Description
Returns the size of the texture with the associated texture ID.
For .png/.jpg
textures loaded with Material you can use the $realheight
and $realwidth
material parameters (IMaterial:GetInt) to get the size of the image.
Arguments
Returns
Page views: 11,591
Updated: A Long Time Ago
Updated: A Long Time Ago