Texture:getMipmapCount
EditReturns the number of mipmap levels in the Texture.
mipmaps = Texture:getMipmapCount()
Arguments
None
Returns
Name | Type | Description |
mipmaps | number | The number of mipmap levels in the Texture. |
See also
lovr.graphics.newTexture
Sampler:getMipmapRange
Pass:mipmap
Texture