Contents

mipmapLevelCount

The number of mipmaps for the texture.

Declaration

@MainActor @preconcurrency var mipmapLevelCount: Int { get }

Discussion

Mipmaps are additional copies of the same texture at different resolutions. This property contains the number of different versions of the texture, including the original-size version.

See Also

Describing the texture