Texture:getWidth
Returns the width of the Texture.
width = Texture:getWidth(mipmap)
Arguments
Name | Type | Default | Description |
mipmap | number | 1 | The mipmap level to get the width of. |
Returns
Name | Type | Description |
width | number | The width of the Texture, in pixels. |
See also
Texture