{{newin|[[11.0]]|110|type=function}}
Gets the number of mipmaps contained in the Texture. If the texture was not created with mipmaps, it will return 1.
== Function ==
=== Synopsis ===
<source lang="lua">
mipmaps = Texture:getMipmapCount( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|mipmaps|The number of mipmaps in the Texture.}}
== See Also ==
* [[parent::Texture]]
* [[Texture:setMipmapFilter]]
* [[love.graphics.newImage]]
* [[love.graphics.newCanvas]]
[[Category:Functions]]
{{#set:Description=Gets the number of mipmaps contained in the Texture.}}
== Other Languages ==
{{i18n|Texture:getMipmapCount}}