Garry's Mod Wiki

Revision Difference

surface.GetTextureSize#517927

<function name="GetTextureSize" parent="surface" type="libraryfunc"> <description>Returns the size of the texture with the associated texture ID.</description> <realm>Client and Menu</realm> <args> <arg name="textureID" type="number">The texture ID, returned by &lt;page&gt;surface.GetTextureID&lt;/page&gt;.</arg> <arg name="textureID" type="number">The texture ID, returned by <page>surface.GetTextureID</page>.</arg> </args> <rets> <ret name="" type="number">The texture width.</ret> <ret name="" type="number">The texture height.</ret> </rets> </function>