Texture:getMipmapCount
Returns the number of mipmap levels of the Texture.
mipmaps = Texture:getMipmapCount()
Arguments
None
Returns
Name | Type | Description |
mipmaps | number | The number of mipmap levels in the Texture. |
See also
Texture:getWidth
Texture:getHeight
Texture:getDepth
Texture:getDimensions
lovr.graphics.newTexture
Texture