---
title: mipmapLevelCount
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/textureresource/mipmaplevelcount
---

# mipmapLevelCount

The number of mipmaps for the texture.

## Declaration

```swift
@MainActor @preconcurrency var mipmapLevelCount: Int { get }
```

## Discussion

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

- [textureType](realitykit/textureresource/texturetype.md)
- [pixelFormat](realitykit/textureresource/pixelformat.md)
- [height](realitykit/textureresource/height.md)
- [width](realitykit/textureresource/width.md)
- [depth](realitykit/textureresource/depth.md)
- [arrayLength](realitykit/textureresource/arraylength.md)
- [semantic](realitykit/textureresource/semantic-swift.property.md)
