Garry's Mod Wiki

Revision Difference

surface.GetTextureSize#512019

<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>⤶ </args>⤶ <rets>⤶ <ret name="" type="number">The texture width.</ret>⤶ <ret name="" type="number">The texture height.</ret>⤶ </rets>⤶ </function>⤶ ⤶