Difference between revisions of "Texture:getMipmapCount"

(Created page)
 
m (0.11.0 -> 11.0)
 
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=function}}
+
{{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.
 
Gets the number of mipmaps contained in the Texture. If the texture was not created with mipmaps, it will return 1.
 
== Function ==
 
== Function ==

Latest revision as of 18:20, 7 May 2019

Available since LÖVE 11.0
This function is not supported in earlier versions.

Gets the number of mipmaps contained in the Texture. If the texture was not created with mipmaps, it will return 1.

Function

Synopsis

mipmaps = Texture:getMipmapCount( )

Arguments

None.

Returns

number mipmaps
The number of mipmaps in the Texture.

See Also

Other Languages